AdobeStock_455007340

Scorpio Supported Image Formats

Home » Scorpio Supported Image Formats

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 responses to “Scorpio Supported Image Formats”

  1. Alexander Avatar
    Alexander

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

  2. Ben Forta Avatar
    Ben Forta

    <cfimage source="…" name="foo"> loads an image into a variable and then you can manipulate it as needed.
    — Ben

  3. Alexander Avatar
    Alexander

    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

  4. Mike Avatar
    Mike

    Will the tag preserve animation on a gif? Or will it only keep the first frame?

Leave a Reply