In Python I execute the following code:
Code: Select all
dir = '/home/martijn/Documenten/Eclipse/ponycluboosterwolde/media/afbeeldingen/header/rectangles/'
commands.getstatusoutput('convert -background none %srect_temp.svg %srect_%s.png' % (dir, dir, kleur[1:]))
Code: Select all
convert -background none /home/martijn/Documenten/Eclipse/ponycluboosterwolde/media/afbeeldingen/header/rectangles/rect_temp.svg /home/martijn/Documenten/Eclipse/ponycluboosterwolde/media/afbeeldingen/header/rectangles/rect_39cc00.png
/home/mar......./rect_temp.svg exists, the last one (the png) does not. When I run the Python code, ImageMagick reports the following:
Code: Select all
Exit code:256
Message:"convert: missing an image filename `/home/martijn/Documenten/Eclipse/ponycluboosterwolde/media/afbeeldingen/header/rectangles/rect_39cc00.png' @ wand/convert.c/ConvertImageCommand/2710."
