I need to convert a LOT of simple one-layer PSDs to PNG. Both XnConvert and Sagethumbs work fantastically for this, but since I also need to resize a lot of them I usually use XnConvert.
I've started noticing an issue, however. It seems that with transparent PSDs, both XnConvert and Sagethumbs convert the alpha with some white blended in. I believe Sagethumbs is based on the GFL SDK, which would explain why it gives the same results as XnConvert.
After a bit of googling and a lot of frustration I discovered a mention of this same issue in the ImageMagick source: https://github.com/ImageMagick/ImageMag ... psd.c#L276
It seems like Photoshop does something weird with alpha blending, and ImageMagick has a function called CorrectPSDAlphaBlend that corrects that. Would it be possible to have an option in XnConvert to do the same thing? I'd be over the moon if XnConvert could convert transparent PSDs to PNG without breaking the transparency!For some reason Photoshop seems to blend semi-transparent pixels with white.
This method reverts the blending. This can be disabled by setting the
option 'psd:alpha-unblend' to off.
Attached is an example PSD, created with Photoshop CC 20.0.4, along with the PNG result from XnConvert and some screenshots of the original and converted files in Photoshop with red backgrounds so you can see the dodgy white line around the converted one. The forum wouldn't let me attach the original PSD directly so I've zipped it first.
Let me know if you need more info. Thanks!