error when creating animated GIF
Posted: 2019-05-12T11:50:08-07:00
Hi,
I used the procedure in the following url to create an animated GIF from png images created in POV-Ray:
http://jacobsalmela.com/2015/11/02/make ... ght-click/
it makes a macOS workflow that allows you to select a group of image files, right click on them, then click 'Make Animated GIF'.
It uses the following command:
/usr/local/bin/convert -delay 20 -loop 0 "$@" ~/Desktop/animated.gif
but when I run it, it gives the following error:
The action “Run Shell Script” encountered an error: “/Users/jim/Desktop/POVRay files/camera201.png: line 1: $'\211PNG\r': command not found
/Users/jim/Desktop/POVRay files/camera201.png: line 2: $'\032': command not found
/Users/jim/Desktop/POVRay files/camera201.png: line 3: $'\rIHDR\004\003\b\0025\330\202Z\004gAMA\261\217\v\374a\005\001sRGB\256\316\034\351\003sBIT\b\b\b\333\341O\340': command not found
/Users/jim/Desktop/POVRay files/camera201.png: line 3: $'1\256\272\325\001#tEXtSoftwarePOV-Ray': command not found
/Users/jim/Desktop/POVRay files/camera201.png: line 4: Platform:: command not found
/Users/jim/Desktop/POVRay files/camera201.png: line 5: syntax error near unexpected token `('
/Users/jim/Desktop/POVRay files/camera201.png: line 5: `Compiler: 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.2)'”
any ideas what's going on and how to fix it?
thanks!
I used the procedure in the following url to create an animated GIF from png images created in POV-Ray:
http://jacobsalmela.com/2015/11/02/make ... ght-click/
it makes a macOS workflow that allows you to select a group of image files, right click on them, then click 'Make Animated GIF'.
It uses the following command:
/usr/local/bin/convert -delay 20 -loop 0 "$@" ~/Desktop/animated.gif
but when I run it, it gives the following error:
The action “Run Shell Script” encountered an error: “/Users/jim/Desktop/POVRay files/camera201.png: line 1: $'\211PNG\r': command not found
/Users/jim/Desktop/POVRay files/camera201.png: line 2: $'\032': command not found
/Users/jim/Desktop/POVRay files/camera201.png: line 3: $'\rIHDR\004\003\b\0025\330\202Z\004gAMA\261\217\v\374a\005\001sRGB\256\316\034\351\003sBIT\b\b\b\333\341O\340': command not found
/Users/jim/Desktop/POVRay files/camera201.png: line 3: $'1\256\272\325\001#tEXtSoftwarePOV-Ray': command not found
/Users/jim/Desktop/POVRay files/camera201.png: line 4: Platform:: command not found
/Users/jim/Desktop/POVRay files/camera201.png: line 5: syntax error near unexpected token `('
/Users/jim/Desktop/POVRay files/camera201.png: line 5: `Compiler: 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.2)'”
any ideas what's going on and how to fix it?
thanks!