Bug 355910

Summary: Opening large multilayered images in PSD format takes a very long time
Product: [Applications] krita Reporter: kasiazlotr
Component: File formatsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED LATER    
Severity: normal CC: halla
Priority: NOR    
Version First Reported In: 2.9.9   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description kasiazlotr 2015-11-25 22:30:30 UTC
I've been drawing a large image (5000x3000) in krita, saving it as a PSD to do parts of it in photoshop.

It's currently sitting at 300mb with 26 layers which is admittedly very large.

Opening this psd file in krita takes 60-70 seconds to open, however if i save it as a .kra file, it opens in 15 seconds - which is roughly how long it takes photoshop to open the PSD file.

Reproducible: Always

Steps to Reproduce:
1. open psd file - takes 65 seconds
2. open same file in kra format - takes 15 seconds

Actual Results:  
takes far longer to open .psd file than .kra

Expected Results:  
open .psd roughly at same time as .kra file
Comment 1 Halla Rempt 2016-03-31 11:05:46 UTC
Hi,

I'm sorry, both for the late reply, and for the reply itself: the reason loading a PSD file in Krita is slower than loading a native file because the internal organization of a PSD file is completely different from how Krita works. Native file formats are almost always a mirror of the internal organization of an application, and to load a PSD into Krita we need to do a lot of translation work. Sure, there are optimizations possible -- but it'll never be the same as loading a native file or loading a PSD file in Krita.