Hi all,
I'm working on a page that allows users to upload either a JPEG or TIFF. The upload part works, but the PHP page must then:
determine whether or not the image is > 200dpi,
determine whether the image is a jpeg or tiff,
create a thumbnail image which is grayscale, and return the thumbnail image to the screen.
I know i can use image magic's convert to change a tiff to a grayscale jpeg thumbnail, but how do i know if it's a tiff?
Thanks in advance,
Ben