All factories fail for the operation "filestore" writing ARGB images out as JPEGs

Description

WriteToBrowser jpeg with an ARGB image throws

because jpeg doesn't support ARGB images

https://trycf.com/gist/af55c50bcb9d4cdf7ea1afb2c87aaeaa/lucee5?theme=monokai

(crashes with 5.3.8.49-SNAPSHOT, but not 5.3.6.61 aka trycf:latest)

rather than this cryptic error, it should throw "Cannot convert image to jpeg, jpeg doesn't support ARGB images"

another problem is

https://trycf.com/gist/cdc9ed3f9dbb3114cee42012d17da4b1/lucee5?theme=monokai

throws the extremely cryptic error message

lucee.runtime.exp.NativeException: lucee.runtime.type.util.MemberUtil.call(lucee.runtime.PageContext, java.lang.Object, lucee.runtime.type.Collection$Key, lucee.runtime.type.Struct, short, java.lang.String) at java.base/java.lang.Class.getMethod(Class.java:2108) at org.lucee.extension.image.util.CommonUtil.callWithNamedValues(CommonUtil.java:99) at org.lucee.extension.image.Image.callWithNamedValues(Image.java:1591) at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:864)

Environment

None

Activity

Show:
Pothys - MitrahSoft
February 15, 2021, 10:37 AM

Ok, I close this ticket.

Zac Spitzer
February 13, 2021, 1:56 PM

as

has a patch and we have filed separate issues for all the other bugs, yeah we can probably closed this one

Pothys - MitrahSoft
January 5, 2021, 1:35 PM

as per the above comments the first issue was solved by the fixed version and second issue we have a separate issue. So shall I close this ticket?

Pothys - MitrahSoft
December 29, 2020, 3:20 PM

I reproduced the first problem and that issue was solved in lucee version 5.3.8.21-SNAPSHOT with image extension 1.0.0.37-SNAPSHOT. And I added a fixed version

Zac Spitzer
September 24, 2020, 8:21 AM

Seems that the new Image 1.0.0.37 snapshot fixes the first problem with 5.3.8.21 (can someone add that fix version?)

I have logged a separate bug for the second problem

Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Pothys - MitrahSoft

Reporter

Zac Spitzer

Priority

New

Labels

Fix versions