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
fastest file format
Re: fastest file format
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.
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
MPC is the fastest image file format. Its useful if you are going to perform multiple operations against the same image file.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: fastest file format
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
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