Image File Types causing me stress.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Todd_Z
Forum Regular
Posts: 708
Joined: Thu Nov 25, 2004 9:53 pm
Location: U Michigan

Image File Types causing me stress.

Post by Todd_Z »

What I need to do is create a script that interprets the meta tags associated with an image, and alter the actual image, based on those values. The image will be 8.5x11 300dpi - for print advertising purposes. This rules out JPG as a solution. Using EXIF functions to get the meta values, I would only be able to use jpg or tiff, however, for some reason that I am not privy to, tiff is not supported by GD. This leaves me with a problem. Seeing as the image is about 25 megs, I will not be able to read it into memory, read the meta tags, then convert the string to png, and output the png using the GD library. Too much memory, too much processing power.

Anyone have a solution to my problem?
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

ImageMagick supports Tiff.
Post Reply