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
ScaleImage benchmarks and long psd times
- 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
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?
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?
Re: ScaleImage benchmarks and long psd times
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
Re: ScaleImage benchmarks and long psd times
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.