1.导入psd会报错,需要自己手动创建【images】文件夹。该问题仅存在4.3的测试版,4.2没有
2.psd直接导入spine会有色差,偏灰,跟psd里面的颜色不一样,用psd导出图片,对比很明显
psd导入bug
1.导入psd会报错,需要自己手动创建【images】文件夹。该问题仅存在4.3的测试版,4.2没有
You're right—there seems to be a regression in the 4.3 beta where the images
folder must be created manually. We'll fix this.
2.psd直接导入spine会有色差,偏灰,跟psd里面的颜色不一样,用psd导出图片,对比很明显
I wasn't able to reproduce the color shift.
We also have a test in place that verifies PSD layer export accuracy. It exports the layers (without any effects, merging, etc.) as PNG files and compares them to PNGs exported from Photoshop.
Could you send your PSD file to contact@esotericsoftware.com so we can try to reproduce the issue?
It's already clear from your first video what issue you're pointing out.
When you export from Photoshop, you're applying a different color profile.
The layers in the PSD file are stored as sRGB, but during export, Photoshop modifies those colors according to the selected profile — in your case, Display P3.
Spine doesn't apply any color profile. It simply reads the raw raster data and exports PNGs as-is (in sRGB).
If you want to export your PNGs with a specific color profile, you can try using the Photoshop to Spine script. Since it exports directly through Photoshop, the color profile should be preserved.
- Đã chỉnh sửa
One more thing: Spine does support the use of ICC profiles. You can enable this feature by activating the Color management setting.
This means you can import the PSD into Spine and see the exported PNGs exactly as you see them in Photoshop — provided your monitor profile in Photoshop matches the one used by your OS.
Note that even in this case, the PNGs are still exported in sRGB.
Spine assumes all PNGs it loads are sRGB. If you save a PNG for a different color space, the colors will be incorrect in Spine. Only sRGB images should be used with Spine, whether using the PhotoshopToSpine script or Spine's built-in Import PSD
.
All game toolkits I've ever seen load images using sRGB, so even if Spine respected the color profile specified inside the PNG files, the images still need to be sRGB to be used in a game toolkit.
If you use an ICC monitor profile you can enable Color Management
in Spine, so Spine renders colors correctly for your monitor. Note that is separate from your PNGs. You should still be saving PNGs for Spine using the sRGB color space, even if you use an ICC monitor profile.