views:

246

answers:

2

How to create a TIFF file in PHP?

I want create a TIFF file and fax it. I know how to fax it but I don`t know how to create a TIFF file.

A: 

ImageMagick is the solution.

Aneeska
+1  A: 

Yes, ImageMagick. Don't count on trying to use the PHP extension for it though, you're going to be making shell commands to the convert command.

It's as simple as:

system('/path/to/imagemagick/convert orginal_image.jpg new_image.tiff');

Hope that helps.

Jaimz