Page 1 of 1

fastest file format

Posted: 2012-01-26T04:56:41-07:00
by robuntu
Hi,
I have to do a couple of batch jobs with huge files (Tiff : 500MByte - 1GB).
In detail I have to crop it into pieces and to append boarders and Pictures on all four sides on all of the tiles.

Is there a fastest file format to use for this jobs?

The original file format will be an lzw compressed tiff file, rgb or cmyk, 8bit per channel.
The boarders will be white on two sides, added Text at the bottom and a new header picture on the top.
The file format of the header is free, meaning I have to create the headers anyway and can choose the file format for that.
The output files have to be in cmyk colors. The container can bee Tiff again.

Is it wise to keep tiff as the standard format for all the convert-actions or is it faster to
convert the huge image to another (faster) format, use this format for tiling and boardering and
convert the tiles back to cmyk-tiff as a last step.

Thanks for your help!

Roland

Re: fastest file format

Posted: 2012-01-26T07:02:14-07:00
by glennrp
I almost always use PPM as an intermediate file for opaque color images or PGM for opaque
black-and-white images. It's fast and simple (note, don't use "-compress none" with these if
you are interested in speed). MPC may be faster but I haven't used it.

Re: fastest file format

Posted: 2012-01-26T07:25:06-07:00
by magick
MPC is the fastest image file format. Its useful if you are going to perform multiple operations against the same image file.

Re: fastest file format

Posted: 2012-01-26T12:07:12-07:00
by fmw42
If you have only one command line and you produce multiple outputs, then .mpr (in memory) should be faster. But it does not work across multiple command lines. So in that case, .mpc is best as magick suggested.

For .mpr and .mpc

see
http://www.imagemagick.org/Usage/files/#mpr
http://www.imagemagick.org/Usage/files/#mpc

example at
http://www.imagemagick.org/Usage/canvas/#tile_memory