Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
406 views
in Technique[技术] by (71.8m points)

php - How to create a TIFF file?

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...