Copy link to clipboard
Copied
Documentation says that this version of CF should recognize tif images. I am trying to retreive images using imageNew from a url and CF 9 says that the .tif file is not an image. When I run GetReadableImageFormats() tif is not supported.
CF 10 works fine, but this install is still in testing so I am unable to upgrade at this time. I need this to work on my CF 9 legacy install.
How do I get CF 9 to support tif files? I can find nothing about this anywhere. So if someone has the solution please post?
Thanks!
Copy link to clipboard
Copied
Interesting. The documentation says:
ColdFusion supports the following default image formats on Macintosh, Windows, and Unix operating systems:
ColdFusion does not support the following image formats:
It's not a multipage TIFF you're working with is it? It might help to show us what code you're using, a link to a sample TIFF file you're having this problem with, and the output of the GetReadableImageFormats() function.
Copy link to clipboard
Copied
Thanks for the response!
GetReadableImageFormats() returns: BMP,GIF,JPEG,JPG,PNG,WBMP
Here is what I am trying to do: imageNew('https://my.yrcregional.com/image_cache/ONBASE/Reddaway/5235883193-DR.tif'); Simple as that. I know the image is valid because it work in my CF 10 test install just fine. I just am unable to upgrade to version 10 at this time.
Copy link to clipboard
Copied
Sounds like a bug in GetReadableImageFormats(). You might want to file it at https://bugbase.adobe.com/
I'm running CF 9,0,1,274733, Enterprise edition on Windows 7 and I get this:
GetReadableImageFormats: BMP,GIF,JPEG,JPEG 2000,JPEG2000,JPG,PNG,PNM,RAW,TIF,TIFF,WBMP
GetWriteableImageFormats: BMP,GIF,JPEG,JPEG 2000,JPEG2000,JPG,PNG,PNM,RAW,TIF,TIFF,WBMP
Copy link to clipboard
Copied
Thanks, I called support and they wanted me to purchase a support contract.
I am running the same version, but as a WAR deployment on jboss on linux. Wonder if that is the issue?
Copy link to clipboard
Copied
I am getting around the issue by using http setting a path and writing the file.