1.导入psd会报错,需要自己手动创建【images】文件夹。该问题仅存在4.3的测试版,4.2没有
2.psd直接导入spine会有色差,偏灰,跟psd里面的颜色不一样,用psd导出图片,对比很明显

  • Davide đã trả lời bài viết này.
    Related Discussions
    ...

    yugutou

    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?

    yugutou

    Thanks for sending us the repro PSD. I didn't have the problem you mentioned on point 2.
    My guess is that you are exporting the png using a different color profile. Spine always exports PNG images as hey aare stored in the PSD file.

    • yugutou đã trả lời bài viết này.

      Davide
      发送过去的文件里面应该有个spine工程,左右两边的颜色很明显不一样呀,第一个是psd直接导入spine的,第二个是导出ps导出png拖进spine的

      • yugutou đã trả lời bài viết này.

        yugutou
        你可以看一下最后把两个图片拖进ps里面,用他的吸色盘吸色,他们的颜色都不一样

        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.

        • yugutou đã trả lời bài viết này.
        • Erika đã thích điều này.
          • Đã 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.

          • yugutou đã trả lời bài viết này.

            Nate 我明白了,感谢!我知道该怎么做才能保持psd的颜色进入spine了

            • Nate đã thích điều này.