• EditorBugs
  • PNG exported from 1st frame of animation is different color than the animation

Hello! I've tried exporting the last frame of an animation to use as a static image after the actual animation is played, but when the animation switches to the static image the colors are different, the static is lighter and more saturated than the animation. I don't touch the exporting options of spine I use the default ones, here's an example video:
You can see when the Wild is played the colors change their values.
Any suggestions are greatly appreciated!

    Related Discussions
    ...

    Hello! It seems like the issue you're experiencing might be related to the Premultiply Alpha setting. When exporting images from Spine, if the Premultiply Alpha setting is enabled, you need to ensure that the same setting is enabled in your game engine or wherever you are displaying the images. If this setting is not consistent, it can cause color discrepancies between the animation and the static image.

    Here are a few steps you can try to resolve the issue:

    1. Check Premultiply Alpha Setting: Ensure that the Premultiply Alpha setting is either enabled or disabled consistently both in Spine and in your game engine.
    2. Export Without Premultiply Alpha: Try exporting the static image with the Premultiply Alpha setting unchecked and see if the colors match better.
    3. Color Profile and Gamma Settings: Make sure that the color profile and gamma settings are consistent. PNG files can have gamma settings that might affect how colors are displayed. Export your PNGs as sRGB to ensure they display correctly.
    4. Check Game Engine Settings: Verify that your game engine is not applying any additional color correction or gamma adjustments that might affect the appearance of the static image.

    If the issue persists, you might want to compare the exported images directly to see if there are any noticeable differences in color values. This can help identify if the problem lies in the export process or in how the images are being rendered in your game engine.

    I hope this helps! If you have any further questions or need additional assistance, feel free to ask.

      Spinebot
      I have tried these settings but the result is the same..

      Vgrigorova I'm sorry to hear that you're having trouble. It seems to be true that the color has changed, but it seems strange that only the face at the top of the pyramid has changed and not the whole image. I'd like to take a closer look at this problem, so if you don't mind, could you email us the spine project file so we can export it ourselves?: contact@esotericsoftware.com

      Please include the URL of this forum thread in the email so we know the context. Then we can take a look at what's wrong.