How to use inline base64 encoded TGA and "ImageMagick pixel enumeration"?
Posted: 2019-02-17T02:16:17-07:00
Hi all!
I tried to use base64 encoded TGA string as inline input, but it doesn't work:
Using base64 encoded PNG string as inline input works without problems.
Actually I'd better use ImageMagick's pixel enumeration string as an inline input, but it doesn't work either (as is or as base64 encoded).
Software used:
Xubuntu 18.04 64-bit
Shell/Bash
ImageMagick 6.9.7-4 Q16 x86_64 20170114, ImageMagick 7.0.8-27 Q16 x86_64 2019-02-10
Please help!
Best regards!
I tried to use base64 encoded TGA string as inline input, but it doesn't work:
Code: Select all
/usr/bin/convert 'inline:data:image/tga;base64,AAACAAAAAAAAAAAACgAJACAI////AP///wD///8A////AM/L1QDOy9AA////AP///wD///8A////AP///wD///8AfnuOl217c/9ZXkr/f42R/1VabP9sbGqX////AP///wD///8AfHB3u3V4Zf94fHL/Tldf/zM+Tf9jWVr/c3Jq/1xYZbv///8A+/r8AGVmaf92fWP/JCcx/wAAAP8AAAD/aGNY/352eP9QQVH/9/j4AP///wF3eHf/cXNn/wAAAP8AAAD/AAAA/x4YHP90aXH/a2Vo/////wH39/cAZmJc/11cWv8VFxb/AAAA/wAAAP9aYVn/gop2/2JXYf/5+fgA////AFVQTbuGf4n/aWFq/19fav9ud3f/dHRt/1lhUP9IQ0u7////AP///wD///8AhXtul1BSWP9fWFX/V0o5/0k+PP9SWVGX////AP///wD///8A////AP///wD///8A1s7MANfNzQD///8A////AP///wD///8AAAAAAAAAAABUUlVFVklTSU9OLVhGSUxFLgA=' image.png
convert: unable to open image `data:image/tga;base64,AAACAAAAAAAAAAAACgAJACAI////AP///wD///8A////AM/L1QDOy9AA////AP///wD///8A////AP///wD///8AfnuOl217c/9ZXkr/f42R/1VabP9sbGqX////AP///wD///8AfHB3u3V4Zf94fHL/Tldf/zM+Tf9jWVr/c3Jq/1xYZbv///8A+/r8AGVmaf92fWP/JCcx/wAAAP8AAAD/aGNY/352eP9QQVH/9/j4AP///wF3eHf/cXNn/wAAAP8AAAD/AAAA/x4YHP90aXH/a2Vo/////wH39/cAZmJc/11cWv8VFxb/AAAA/wAAAP9aYVn/gop2/2JXYf/5+fgA////AFVQTbuGf4n/aWFq/19fav9ud3f/dHRt/1lhUP9IQ0u7////AP///wD///8AhXtul1BSWP9fWFX/V0o5/0k+PP9SWVGX////AP///wD///8A////AP///wD///8A1s7MANfNzQD///8A////AP///wD///8AAAAAAAAAAABUUlVFVklTSU9OLVhGSUxFLgA=': No such file or directory @ error/blob.c/OpenBlob/2701.
convert: no images defined `image.png' @ error/convert.c/ConvertImageCommand/3258.
Actually I'd better use ImageMagick's pixel enumeration string as an inline input, but it doesn't work either (as is or as base64 encoded).
Software used:
Xubuntu 18.04 64-bit
Shell/Bash
ImageMagick 6.9.7-4 Q16 x86_64 20170114, ImageMagick 7.0.8-27 Q16 x86_64 2019-02-10
Please help!
Best regards!