Summary: | .PSD export breaks colours | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Sascha <sascha.snowstorm> |
Component: | File formats | Assignee: | Dmitry Kazakov <dimula73> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dimula73, paulgeraskin, throwing_things |
Priority: | NOR | ||
Version: | 2.8 Beta | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
URL: | https://dl.dropboxusercontent.com/u/38052625/KritaPSDExportBug.jpg | ||
Latest Commit: | http://commits.kde.org/calligra/cd0d0bec2bc806c9d47fedd2331ea471f8f57efe | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | screencap of problem |
Description
Sascha
2014-03-08 20:22:32 UTC
Created attachment 85483 [details]
screencap of problem
I've just experienced this one too. Was able to reproduce it on demand. I did not use anything that has historically not been able to translate between the two file formats, just straight colour on canvas with normal layers. https://dl.dropboxusercontent.com/u/89200093/kritacolourbug.png Hi guys. Here is the same bug report: https://bugs.kde.org/show_bug.cgi?id=331920 "PSD is broken. if i save to PSD then colors are different... Looks like they are inverted. Screenshot: http://i.imgur.com/jICXW9l.png My kra file: https://dl.dropboxusercontent.com/u/26887202/Krita/sectant_01_head.kra Just save it to PSD and you will get blue head." *** Bug 331920 has been marked as a duplicate of this bug. *** The bug is reproducible only if the PSD have 2+ layers. 2.8 branch is also affected Commit a09d09c32f6cbaf67a70c0e51b757a1e9f4b7a95 introduces the problem. Git commit 00371fead7bbdfafaae9a0ebf68cad98d761b9e5 by Dmitry Kazakov. Committed on 10/03/2014 at 10:02. Pushed by dkazakov into branch 'master'. Fixed loading of multilayered PSD files (including 16-bit ones) This patch does two things: 1) Fixes the order of the saved channel planes. The indexes of the planes array should be calculated separately, not just use displayPosition(). 2) Fixes the the bug when loading 16-bit data. KoBgrU16Traits::alpha_pos is *not* the offset of the alpha channel :) Now all the offset calculations are done by the compiler in the templated code. At least for RGB color spaces. We need to do the same for Lab, CMYK and Gray spaces. M +51 -47 krita/plugins/formats/psd/psd_layer_record.cpp http://commits.kde.org/calligra/00371fead7bbdfafaae9a0ebf68cad98d761b9e5 Git commit cd0d0bec2bc806c9d47fedd2331ea471f8f57efe by Dmitry Kazakov. Committed on 10/03/2014 at 10:02. Pushed by dkazakov into branch 'calligra/2.8'. Fixed loading of multilayered PSD files (including 16-bit ones) This patch does two things: 1) Fixes the order of the saved channel planes. The indexes of the planes array should be calculated separately, not just use displayPosition(). 2) Fixes the the bug when loading 16-bit data. KoBgrU16Traits::alpha_pos is *not* the offset of the alpha channel :) Now all the offset calculations are done by the compiler in the templated code. At least for RGB color spaces. We need to do the same for Lab, CMYK and Gray spaces. M +51 -47 krita/plugins/formats/psd/psd_layer_record.cpp http://commits.kde.org/calligra/cd0d0bec2bc806c9d47fedd2331ea471f8f57efe |