Page 2 of 2

Re: psd to jpg conversion question

Posted: 2014-02-22T17:00:06-07:00
by jamtat
The process finally completed successfully on the large psd file after I'd done export MAGICK_TMPDIR=/home/path/to/created-tmp. Took an inordinately long time but I was expecting that. Oh, and the -scene 0 switch did not keep the process from creating extra jpg files, so I'll try this again with the -flatten switch and see whether that finally allows me to get a single .jpg from this gigantic .psd file.

Re: psd to jpg conversion question

Posted: 2014-02-22T17:24:48-07:00
by snibgo
"-flatten" will read all the images in the file and flatten them together. This naturally takes more memory than reading just one image.

The "[0]" technique works for the convert program. From what you say, it doesn't work for mogrify. If the time taken is an issue for you, you could use a for-loop and one convert per file, instead of a single mogrify.