Closed yakir12 closed 8 years ago
Yeah, there is no RGBA in https://github.com/JuliaIO/ImageMagick.jl/blob/master/src/libmagickwand.jl#L93:
const IMColorspace = ["RGB", "Gray", "Transparent", "OHTA", "Lab", "XYZ", "YCbCr", "YCC", "YIQ", "YPbPr", "YUV", "CMYK", "sRGB"]
const IMColordict = Dict([(IMColorspace[i], i) for i = 1:length(IMColorspace)])
Inserting it seems to solve this. @timholy, since this seems to be forgotten, are there also other formats missing? I'm not really sure what this dict represents ;)
Anything related to ImageMagick should now be reported in the new ImageMagick package. Fixed in https://github.com/JuliaIO/ImageMagick.jl/pull/16
I'm not really sure what this dict represents ;)
The "lovely" :wink: ImageMagick documentation and source code docs make it clearer.
Hi Tim! I get a KeyError warning and then an error when trying to save an RGBA image:
I tried this with both the tagged and checked-out versions of
Images.jl
. Here's the output: