I've been using ImageMagick to convert TIFFs to PDFs from a PHP script, but I don't like the fact that the convert program does not support Mime types. In other words, you HAVE to use extensions, like this:
convert file.tif file.pdf
I would rather not have to hard-code extensions like this, especially since the web application can request various types of documents. I don't want to have to keep adding extensions to my PHP code whenever my application needs to support a new document type!
I've been using the mime_content_type() function in PHP 4.3.0, and it's working great. Now I would like to find a conversion program that does not rely on windows extensions!!
Why would ImageMagick force you to use extensions when they're not even used in Unix??
Any other conversion programs out there?? I've seen tiff2ps and then ps2pdf, but haven't experimented with these. Can these work without extensions??