Page 1 of 1

convert fail for a text file to image with label centos 7

Posted: 2016-11-22T06:37:01-07:00
by bmo91
Hi,
The simple command below does not work on CentOS 7:

ifconfig | convert label:@- cmd.png
convert: not authorized `@-' @ error/constitute.c/ReadImage/454.
convert: no images defined `cmd.png' @ error/convert.c/ConvertImageCommand/3046.

I do not known any other command or workaround to do this :( .

Any ideas ?

Version used:
convert -version
Version: ImageMagick 6.7.8-9 2016-06-16 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP

Thanks in advance.

Re: convert fail for a text file to image with label centos 7

Posted: 2016-11-22T07:25:00-07:00
by snibgo
As the message says, you are probably not authorised to use "@". What does your policy.xml say?