PDF to MultiPage TIFF and JPG/TIFFs to MultiPage TIFFs

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

PDF to MultiPage TIFF and JPG/TIFFs to MultiPage TIFFs

Post by oddball508 »

I'm looking for some information and methods for doing some file conversions for use in our automated OCR software. This software requires 300DPI multipage TIFF images. I can do the resizing but the file type conversion is a bit more difficult.

JPGs > MultiPage TIFF
TIFFs > MultiPage TIFF
PDF > MulitPage TIFF
User avatar
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

You can convert multiple JPEG's, for example, into a multipage TIFF image with this command:
  • convert *.jpg image.tif

Post by oddball508 »

Thanks - can you control the order?

And any body for the other two?
User avatar
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony »

The order is what you giev to IM. If you use a *.jpg then the commandline shell expands this to list the files in alphabetical order.

Most shells will expand a {..,..} type syntax without resorting it.
as such {?,??,???,????}.jpg will expand to files of a single character
then two characters then three, and four. Within the lengths the files
are again sorted.

That is about the best I can do without knowing more about what files you are wanting to re-order.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages

Post by oddball508 »

Thanks for the help. The biggest part of my puzzle was loading GhostScript.
Post Reply