Page 1 of 1

Simple label command fails

Posted: 2017-08-10T09:16:34-07:00
by previsualconsent
I am using

Code: Select all

Version: ImageMagick 6.7.2-7 2017-03-22 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC
Features: OpenMP  
on Scientific Linux 6

When I try the simple labeling examples like

Code: Select all

convert -debug all rose: label:test  x.png
I get the error

Code: Select all

convert: not authorized `test' @ error/constitute.c/ReadImage/453.
My best guess is that it is interpreting label: as a protocol like http:

Here is the debug output.
https://gist.github.com/previsualconsen ... abb10d7bf4

Re: Simple label command fails

Posted: 2017-08-10T09:38:46-07:00
by snibgo
'test' just says roughly where in the command it failed. You don't have an authority. Does it work without the label? How about:

Code: Select all

convert rose: x.png

Code: Select all

convert label:test x.png

Re: Simple label command fails

Posted: 2017-08-10T09:39:35-07:00
by fmw42
I do not see any delegates listed under Features. What do you get from

Code: Select all

convert -list configure
on the line that starts with DELEGATES

Re: Simple label command fails

Posted: 2017-08-10T10:31:32-07:00
by previsualconsent
Yes, it works with label.

Code: Select all

$ convert -list configure |grep DELEGATES
DELEGATES     bzlib fontconfig freetype gs jpeg jng jp2 lcms openexr png rsvg tiff x11 xml wmf zlib

Re: Simple label command fails

Posted: 2017-08-10T11:24:10-07:00
by fmw42
Your command

Code: Select all

convert rose: label:test  x.png
Works fine for me under IM 6.9.9.5 Q16 Mac OSX. I get two outputs, x-0.png (rose) and x-1.png (text).

I suspect a bug in the patch for your version given by the date next to the release. I have heard other issues with recent patches to Linux distributions of Imagemagick.

Re: Simple label command fails

Posted: 2017-08-10T11:35:03-07:00
by previsualconsent
Got to love using centrally managed workstations with no real support for upgrading packages :P