Hi devs. Alpha channel disappears after FlatternImage of my PSD file. Here is my video test: http://youtu.be/ziITf4LsbIg Here is the file: https://dl.dropboxusercontent.com/u/26887202/blender/leaf_01.zip Reproduce: - Open leaf_01.psd - Flattern Image, save, close. - Open the psd again - ALPHA WILL BE DISAPPEARED.
Also tested with one layer. KRA is ok. PSD is buggy. http://i.imgur.com/3FkxkDS.png
Also some issues i got with blender. PSD alpha. I reported here https://developer.blender.org/T39652
When I tried to flatten the image in photoshop, the alpha channel also disappeared, and the transparent pixels were filled with white.
Git commit 63ccd2f2ec09778e4f11bdef5c6323bef22377ff by Boudewijn Rempt. Committed on 23/08/2014 at 09:56. Pushed by rempt into branch 'master'. PSD: fix saving the composed image The composed image data in Photoshop should be pre-filled with white. Related: bug 333322 M +15 -1 krita/plugins/formats/psd/psd_image_data.cpp M +1 -1 krita/plugins/formats/psd/psd_image_data.h http://commits.kde.org/calligra/63ccd2f2ec09778e4f11bdef5c6323bef22377ff
Transparent pixels should be pre-filled with Background color. Not white. In PS - default transparent background is white. I'll update my Krita at monday and test your changes.
Hello Boud. Sorry but you broke PSD. Issues: -Now PSD has no Alpha at all in other apps. But the PSD opens in Krita ok. - Now PSD fills image with White color. But it should fill the image with Background color. Here is the test: http://i.imgur.com/QwwIX7c.png Here is the test file. Just save to PSD and open PSD in any PSD-viewer: https://dl.dropboxusercontent.com/u/26887202/Krita/test_psd.kra I reopen the issue.
As Dalai Felinto wrote in this bug: https://bugs.kde.org/show_bug.cgi?id=333322 Possibly you should take into account the background color. Like this test shows: http://youtu.be/_Wwj6Fl8wXE
Git commit 8f4f989086576c2ab30de20b128764b366ffd2ff by Boudewijn Rempt. Committed on 23/08/2014 at 09:56. Pushed by rempt into branch 'calligra/2.8'. PSD: fix saving the composed image The composed image data in Photoshop should be pre-filled with white. Related: bug 333322 M +15 -1 krita/plugins/formats/psd/psd_image_data.cpp M +1 -1 krita/plugins/formats/psd/psd_image_data.h http://commits.kde.org/calligra/8f4f989086576c2ab30de20b128764b366ffd2ff
Hello. I updated Master branch. Still not fixed http://i.imgur.com/SlwiNx6.png
I reopen the bug for a while. Ok?
Confirmed for me in 2.9.5.2 Windows and Photoshop elements 12. The alpha is lost(black is used instead)
Well, I think the issue is not caused by flatten image. The following steps just give me black output. (and you don't need Photoshop to confirm, just read it back to Krita to test) I guess Krita is exporting the layer as "background" with no alpha information when there is only one layer in the document...? 1. Create one transparent layer document in Krita 2. Save it as PSD 3. Reopen the file created in 2. in Krita -> you see "black" layer not transparent one.
Switch to CONFIRMED then
Fixed in http://commits.kde.org/calligra/f3e3cb3596c2970e424b57430a53eb4ca0320d04