Summary: | 16 bit psd files saved from photoshop show corrupted layers | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Raghavendra kamath <raghu> |
Component: | File formats | Assignee: | amyspark <amy> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | halla |
Priority: | NOR | ||
Version First Reported In: | nightly build (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
URL: | https://invent.kde.org/graphics/krita/-/commit/d2a64155c02e7b5bd1e1124a40bf53b65c52006f | ||
Latest Commit: | https://invent.kde.org/graphics/krita/commit/d2a64155c02e7b5bd1e1124a40bf53b65c52006f | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | Demo 16-bit RGBA |
Description
Raghavendra kamath
2023-04-06 09:34:34 UTC
Amyspark, I'm assigning this to you. We might have to backport a fix. Another krita-artists user reporting the same - https://krita-artists.org/t/16bit-psd-files/52365 (In reply to Halla Rempt from comment #1) > Amyspark, I'm assigning this to you. We might have to backport a fix. Ack. I'll start getting back to things on Monday. Created attachment 158254 [details]
Demo 16-bit RGBA
Hi! Could you upload the test file again? I tested here with this RGBA 16-bit file and it loads correctly in master.
(The file was roundtripped from a 16-bit KRA into a PSD with Krita, then loaded again.)
(marking as needsinfo separately as I need the demo file and the affected version) Here is the test file https://box.raghukamath.com/cloud/index.php/s/xQLfY5BywGBxTdC Sorry it got deleted when I migrated my files to some other drive. This file and all other files saved from photoshop in 16 bit do not load in krita. You can also create a file from photoshop in 16 bit rgb and then test again. I could reproduce on commit c141022 in macOS, so assigning to myself. Fixed in tonight's nightlies. Git commit ed2ac4cb7ec8532d46238be51896a1d1bc9fd319 by L. E. Segovia. Committed on 22/04/2023 at 02:17. Pushed by lsegovia into branch 'krita/5.1'. PSD: fix using implementation-defined signedness when using ZIP with prediction It appears that all high bit depth PSDs use prediction. While at it, also clean up the implementation a bit to make it more readable. (cherry picked from commit d2a64155c02e7b5bd1e1124a40bf53b65c52006f) M +97 -44 libs/psdutils/compression.cpp https://invent.kde.org/graphics/krita/commit/ed2ac4cb7ec8532d46238be51896a1d1bc9fd319 Git commit ed2ac4cb7ec8532d46238be51896a1d1bc9fd319 by L. E. Segovia. Committed on 22/04/2023 at 02:17. Pushed by lsegovia into branch 'krita/5.1'. PSD: fix using implementation-defined signedness when using ZIP with prediction It appears that all high bit depth PSDs use prediction. While at it, also clean up the implementation a bit to make it more readable. (cherry picked from commit d2a64155c02e7b5bd1e1124a40bf53b65c52006f) M +97 -44 libs/psdutils/compression.cpp https://invent.kde.org/graphics/krita/commit/ed2ac4cb7ec8532d46238be51896a1d1bc9fd319 Git commit d2a64155c02e7b5bd1e1124a40bf53b65c52006f by L. E. Segovia. Committed on 22/04/2023 at 02:16. Pushed by lsegovia into branch 'master'. PSD: fix using implementation-defined signedness when using ZIP with prediction It appears that all high bit depth PSDs use prediction. While at it, also clean up the implementation a bit to make it more readable. M +97 -44 libs/psdutils/compression.cpp https://invent.kde.org/graphics/krita/commit/d2a64155c02e7b5bd1e1124a40bf53b65c52006f Git commit d2a64155c02e7b5bd1e1124a40bf53b65c52006f by L. E. Segovia. Committed on 22/04/2023 at 02:16. Pushed by lsegovia into branch 'master'. PSD: fix using implementation-defined signedness when using ZIP with prediction It appears that all high bit depth PSDs use prediction. While at it, also clean up the implementation a bit to make it more readable. M +97 -44 libs/psdutils/compression.cpp https://invent.kde.org/graphics/krita/commit/d2a64155c02e7b5bd1e1124a40bf53b65c52006f |