简体   繁体   中英

How to save output from bash script to image file with convert imagemagick

Hi gus i'm just trying to save my output script to image file with convert imagemagick, but i have an issue with the result did any clue for fixing my issue? the image file isnt generate in the right way, here my script result is here

and i run a command

./script.sh | convert label:@- myscript.png

and the result image isnt show with correct

Another way to do that in ImageMagick would be:

convert label:@scriptfile.sh script.png

But you may have to edit your ImageMagick policy.xml file to enable the use of @.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM