-set label

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.
Post Reply
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

-set label

Post by snibgo »

On Windows 8.1, IM v6.8.9-0, "-set label" doesn't work. It did work in v6.8.8-7.

Code: Select all

convert rose: r.jpg
convert r.jpg -set label Hello r.tiff
identify -verbose r.tiff
In v6.8.8-7, identify shows: "label: Hello". In versions 6.8.8-9 and 6.8.9-0, it doesn't.

The same problem occurs when I use "set label %f", where IM should use the filename for %f.
snibgo's IM pages: im.snibgo.com
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: -set label

Post by fmw42 »

On IM 6.8.9.0 Q16 Mac OSX, it works for PNG output, but not TIFF

convert rose: -set label "testing" rose.png
identify -verbose rose.png
Properties:
date:create: 2014-05-01T09:55:15-07:00
date:modify: 2014-05-01T09:55:15-07:00
label: testing
png:bKGD: chunk was found (see Background color, above)



convert rose: -set label "testing" rose.tiff
identify -verbose rose.tiff
Properties:
date:create: 2014-05-01T09:55:44-07:00
date:modify: 2014-05-01T09:55:44-07:00
signature: a698f2fe0c6c31f83d19554a6ec02bac79c961dd9a87e7ed217752e75eb615d7
tiff:endian: lsb
tiff:photometric: RGB
tiff:rows-per-strip: 39
Artifacts:
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: -set label

Post by dlemstra »

This issue will be fixed in the next release of ImageMagick (6.9.1-3)
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
Post Reply