ScaleImage benchmarks and long psd times

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
llamadave
Posts: 2
Joined: 2011-08-12T08:31:50-07:00
Authentication code: 8675308

ScaleImage benchmarks and long psd times

Post by llamadave »

My customers upload large image files for me to print. I use IM/PHP/imagick for making thumbnails and 800 size for slide shows. I would like to allow Photoshop files (psd) but conversion times are much too long. See my benchmark results (this page has technical details).

Is there anything I can do to speed up psd read times?

I tried changing the bit depth from 16 to 8 but none of the times went down significantly. Is that expected?

David
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: ScaleImage benchmarks and long psd times

Post by fmw42 »

Do you have enough memory to hold and process your large files?

One way to save memory is the compile IM in Q8 mode.

Otherwise, see http://www.imagemagick.org/Usage/files/#massive

You don't say what version of IM. Perhaps an upgrade would be in order?
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: ScaleImage benchmarks and long psd times

Post by Bonzo »

From memory the final image is all contained in layer [0] Have you tried working on that layer alone e.g.

Code: Select all

convert image.psd[0] -resize 100x100 output.jpg
llamadave
Posts: 2
Joined: 2011-08-12T08:31:50-07:00
Authentication code: 8675308

Re: ScaleImage benchmarks and long psd times

Post by llamadave »

I just installed the latest IM 6.7.1-3 today with Q8 as it says on the page I posted here along with other details. And yes, I have tried [0] after the file name. The server has 1000 MB memory and convert was using 30% which is plenty for the 2304x3072 pixel psd file.
Post Reply