when the image extension can't read a file, use tika to report what the mime type is

Description

let’s provide better feedback when the image extension can’t parse a format

use apache tika aka https://docs.lucee.org/reference/functions/filegetmimetype.html

https://github.com/lucee/extension-image/blob/master/source/java/src/org/lucee/extension/image/Image.java#L215

if (_image == null) throw new IOException("Unable to read image file [" + res + "]");

Activity

Show:
Fixed

Details

Assignee

Reporter

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Fix versions

Priority

Created 1 November 2022 at 10:34
Updated 14 December 2022 at 17:41
Resolved 14 December 2022 at 17:41

Flag notifications