Hi,

I have multi tif image (multiple page tiff image having more than one page included in single image).

I want to read this tif image using PHP since I need to edit certain portions of image using php library.

Can anyone guide for steps to achieve this?

Thanks in advance,
John

Recommended Answers

All 2 Replies

You need to extract them before you can work on it. Use imagemagick:

convert multi.tif file%d.tif

When you finish you can merge them with this command:

convert file0.tif file1.tif file2.tif -adjoin multi.tif

On PHP there's a library for that, IMagick: http://php.net/manual/en/book.imagick.php but I prefer to work directly with ImageMagick, it spends less memory. Bye :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.