Bug 324989

Summary: PSD Exporter breaks file
Product: [Applications] krita Reporter: Paul Geraskin <paulgeraskin>
Component: File formatsAssignee: Siddharth <siddharth.kde>
Status: RESOLVED FIXED    
Severity: major CC: halla, inge, siddharth.kde
Priority: NOR    
Version: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Paul Geraskin 2013-09-17 10:10:33 UTC
Hi devs.

If i paint behind the canvas on the default layer, then save to PSD. So PSD will be broken.

See screen:
http://i.imgur.com/VwdRxeZ.png

Talk to DmitryK on IRC:
<mifth> dmitryK: PSD is broken if you paint behind the canvas size. Use only one layer.
<dmitryK> mifth: we need Siddharth Sharma for that :)
<mifth> dmitryK: should i create a new report?
<dmitryK> mifth: yes, you'd better create one
<mifth> dmitryK: are you sure this bug in master too? I use your branch
<dmitryK> mifth: yes, I've checked in the sahil_'s branch, which is also based on master and the bug persists.
Comment 1 Halla Rempt 2013-09-28 12:48:29 UTC
*** Bug 313300 has been marked as a duplicate of this bug. ***
Comment 2 Halla Rempt 2014-01-01 13:38:11 UTC
Git commit d6070232c6ccccc6995390755c9d2688e838498a by Boudewijn Rempt.
Committed on 01/01/2014 at 13:37.
Pushed by rempt into branch 'calligra/2.8'.

PSD: fix saving a single layer image where the layer is larger than the image

The background layer in photoshop cannot be larger than the image itself.

M  +1    -1    krita/plugins/formats/psd/psd_image_data.cpp

http://commits.kde.org/calligra/d6070232c6ccccc6995390755c9d2688e838498a
Comment 3 Halla Rempt 2014-01-01 13:38:20 UTC
Git commit 7f9ecfed3728aecc54e33a53d8ca94d34e84088c by Boudewijn Rempt.
Committed on 01/01/2014 at 13:37.
Pushed by rempt into branch 'master'.

PSD: fix saving a single layer image where the layer is larger than the image

The background layer in photoshop cannot be larger than the image itself.

M  +1    -1    krita/plugins/formats/psd/psd_image_data.cpp

http://commits.kde.org/calligra/7f9ecfed3728aecc54e33a53d8ca94d34e84088c