Page 1 of 1

Reading psd layers from file performance problem

Posted: 2012-01-17T04:23:43-07:00
by kFk
I'm reading layers from psd like this:

Code: Select all

Image im1("c:/test.psd[1]");
Image im2("c:/test.psd[2]");
Image im3("c:/test.psd[3]");
..
The psd file is large (ca 70Mb and 500 layers) and if I understand correctly ImageMagick reads whole file each time on each layer load.
Is it possible to speed up this process somehow?
Thanks in advance!