cfimage and .ico files

Description

Hi,

#GetReadableImageFormats()# says, that ico is a valid file extension for images, but if you want to use it:

<cfimage source="/upload/64x64.ico" />

can not read in file /home/project/upload/64x64.ico:
Typ: java.io.IOException

Tested with lucee 4.5.5 and 5.2.4

Environment

ubuntu 16.04 LTS

Activity

Show:
Pothys - MitrahSoft
December 14, 2017, 3:28 PM

I've added test case for this ticket & Confirmed that issue happened. If i'm used '.ico' images in cfimage means, It'll throw 'java.io.IOException' exception.

Pull request: https://github.com/lucee/Lucee/pull/352

Michael Offner
January 15, 2018, 2:18 PM
Edited

simply not supported by the underlaying lib atm. maybe only the extension is trhe problem. what type actually is .ico?

Pothys - MitrahSoft
February 1, 2018, 2:02 PM

In my test ico file "image/vnd.microsoft.icon" mime type.

Assignee

Michael Offner

Reporter

Michael Diederich

Priority

Major

Labels

None

Fix versions

None

Affects versions