PSD to JPG conversion takes extremely long time

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
rylkov

Re: PSD to JPG conversion takes extremely long time

Post by rylkov »

I used Windows Binary Releases. I did not tried sources yet.

I have downloaded ImageMagick-6.5.9-6-Q16-windows-dll.exe. I noticed that It is identical to ImageMagick-6.5.9-5-Q16-windows-dll.exe. Installation wizard shows me 6.5.9-5 (2010-02-15) version instead of 6.5.9-6 (2010-02-16). I compared two files with use of fc command. Files do not have differences.

I have downloaded ImageMagick-6.5.9-6-Q16-windows-static.exe too. Installation wizard show me 6.5.9-5 again. The speed is the same as in dll-version.

IM creates big file (967 МB) in temporary folder when I convert Sample_PSD_CMYK.psd. And time is extremely long.

My sample is http://www.rylkov.com/IMG_4370_big_psd.zip. My time is 40 seconds. Fortunately this time is not extremely long. Unfortunately other soft and libraries show much better results. And IM shows much better results with other image formats.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: PSD to JPG conversion takes extremely long time

Post by magick »

Its likely ImageMagick is caching the image pixels to disk. To verify, add -debug cache to your command line. See http://www.imagemagick.org/script/archi ... .php#cache for the details. We have a system with 6gb of memory so ImageMagick processed your image entirely in memory in less than 10 seconds.
Post Reply