Lots of you have been asking about Scorpio’s planned tag, wanting to know what image formats will be supported (many of you asking about GIF and PNG specifically). So, as long as you keep in mind that Scorpio is a work-in-progress and that features and specs can change …
Scorpio has two new functions, GetReadableImageFormats() returns a list of the supported readable image formats, and GetWriteableImageFormats() returns a list of supported writable formats. The following code snippet shows all supported formats:



Readable (#ListLen(r)#): #r#
Writeable (#ListLen(w)#): #w#

Running this code (in Beta 2, remember, this can/may still change) displays the following:
Readable (15): BMP,GIF,JFIF,JPEG,JPEG 2000,JPEG-LOSSLESS,JPEG-LS,JPEG2000,JPG,PNG,PNM,RAW,TIF,TIFF,WBMP
Writeable (15): BMP,GIF,JFIF,JPEG,JPEG 2000,JPEG-LOSSLESS,JPEG-LS,JPEG2000,JPG,PNG,PNM,RAW,TIF,TIFF,WBMP

And so, yes, GIF and PNG are both supported (both read and write).

4 thoughts

  1. Great stuff, will we be able to upload an image into memory? This is probably the most important to my company!
    Thanks,
    Alex

  2. Thanks for your fast response. That is a feature we are already using extremely a lot, couldnt get much better, but i guess my concern is being able to actually upload from the computers hard drive into memory. There are some asp tags that do this, but we are 100% coldfusion supporters/investors!
    Thanks,
    Alex

Leave a Reply