Summary: | Opening a .psd, then saving as .psd, then opening file again creates internal error | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Peter Mueller <muepet> |
Component: | File formats | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | halla, info3dl, muepet |
Priority: | NOR | Keywords: | triaged |
Version: | 3.3.3 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://commits.kde.org/krita/4c31962dd75f0087824ce4c0eace5cabfc0d2098 | Version Fixed In: | |
Attachments: | Example psd which crashes after save and open |
Description
Peter Mueller
2018-02-16 20:59:22 UTC
Created attachment 110734 [details]
Example psd which crashes after save and open
My steps:
(1) Start Krita and open this file
(2) Save-as <new>.psd
(3) Close Krita.
(4) Start Krita and open <new>.psd leads to internal error
Just found out, that the problem comes with having layers in the .psd which have an empty name. When you load the provided image, all layer names are blank. It works, if you give every layer a name. Hope this helps. Seems that writing cannot cope with layers with no name. BR Peter Hi Peter, I can confirm the issue. *** Bug 366343 has been marked as a duplicate of this bug. *** Looks like I cannot create layers with an empty name in Photoshop itself... Or Gimp... Git commit 4c31962dd75f0087824ce4c0eace5cabfc0d2098 by Boudewijn Rempt. Committed on 20/02/2018 at 07:17. Pushed by rempt into branch 'master'. PSD: save layers with an empty name as "Unnamed Layer" Photoshop does not support layers with no names; you cannot even create them in Photoshop. Saving layers to PSD with an empty name results in an invalid PSD file, so subsitute "Unnamed Layer". M +1 -1 plugins/impex/psd/psd_layer_section.cpp https://commits.kde.org/krita/4c31962dd75f0087824ce4c0eace5cabfc0d2098 Thanks for the prompt reply. I've also raised a respective issue to the author of the App which produced these .psd files. So issue is addressed on both sides: krita is made more robust, artflow (the other app) is made more correct :-) Best Regards Peter |