I think I have a problem with escape sequences when calling "convert" from Python using os.system('convert...').
I want to draw a text in an Image like this:
"Temperature: 28.1 °C"
What is working:
Code: Select all
-draw \"text 40,240 Humidity_'+format(round(humidity,1))+'\"
What is not working:
Code: Select all
-draw \"text 40,240 Humidity:'+format(round(humidity,1))+'\"
Same thing here:
Code: Select all
-draw \"text 40,240 Humidity\ '+format(round(humidity,1))+'\"
Can you help me? It would be great to have a tab between the fixed text and the value. For example:
Code: Select all
Temperature: 17.3 °C
Humidity: 48.2 %rH
Regards