bashimagemagickimagemagick-convert

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


Solution

  • 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 @.