possible bug txt: lab output

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Locked
User avatar
fmw42
Posts: 26383
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

possible bug txt: lab output

Post by fmw42 »

conversion from rgb to lab is listing incorrectly L as percent. The percent sign needs to be removed.

IM 6.9.10.94 Q16 Mac OSX
convert xc:"srgb(137,161,65)" -colorspace LAB txt:
# ImageMagick pixel enumeration: 1,1,65535,cielab
0,0: (41069,26861,11857.5) #A06D68EDAE51 cielab(62.6673%,-22.9825,46.1381)

Same for IM 7.0.9.24
magick xc:"srgb(137,161,65)" -colorspace LAB txt:
# ImageMagick pixel enumeration: 1,1,65535,cielab
0,0: (41069.1,26860.7,11857.8 ) #A06D68EDAE51 cielab(62.6675%,-22.9838,46.1391)


See online converters at http://colormine.org/color-converter or https://www.easyrgb.com/en/convert.php#inputFORM

User avatar
magick
Site Admin
Posts: 11254
Joined: 2003-05-31T11:32:55-07:00

Re: possible bug txt: lab output

Post by magick »

Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ https://www.imagemagick.org/download/beta/ by sometime tomorrow.

Locked