You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get an IllegalArgumentException when I attempt to use imagez's save function with exactly one keyword argument.
Example
I require version 0.12.0 of the library with [mikera.image.core :as imgz] and have the image and file system path defined as img and path respectively.
Specifying no keyword arguments with (imgz/save img path) works fine.
Specifying both keyword arguments with (imgz/save img path :quality 0.5 :progressive false) or (imgz/save img path :quality 0.5 :progressive nil) also work fine.
However, (imgz/save img path :quality 0.5) causes:
Unhandled java.lang.IllegalArgumentException
No value supplied for key: [:quality 0.5]
and (imgz/save img path :progressive false) causes:
Unhandled java.lang.IllegalArgumentException
No value supplied for key: [:progressive false]
The text was updated successfully, but these errors were encountered:
I get an IllegalArgumentException when I attempt to use imagez's
save
function with exactly one keyword argument.Example
I require version 0.12.0 of the library with
[mikera.image.core :as imgz]
and have the image and file system path defined asimg
andpath
respectively.Specifying no keyword arguments with
(imgz/save img path)
works fine.Specifying both keyword arguments with
(imgz/save img path :quality 0.5 :progressive false)
or(imgz/save img path :quality 0.5 :progressive nil)
also work fine.However,
(imgz/save img path :quality 0.5)
causes:and
(imgz/save img path :progressive false)
causes:The text was updated successfully, but these errors were encountered: