0

I've got a client who needs me to use PHP to split a TIFF image (which contains 2 or 3 images, sort of like an animated GIF) into its component images.

Can ImageMagick or one of the other graphic libraries do this?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Trick Jarrett
  • 3,549
  • 3
  • 20
  • 17

1 Answers1

1

From a quick search, ImageMagick claims to be able to resize/crop images, as well as read TIFF. So I would say that it is able to do the job. I know from previous questions that ImageMagick does work with PHP.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
monksy
  • 14,156
  • 17
  • 75
  • 124
  • We did end up using ImageMagick, what we discovered was we could convert the Tif to a gif, and it made the gif an animation (basically) so we were able to split that apart. – Trick Jarrett Dec 09 '09 at 14:26
  • That will lose you colour information, though, as GIF has a limited colour range. Pulling single pages out of the TIFF and storing them as single TIFFs or JPGs might work better. – Pekka Jan 16 '10 at 16:15