Weather Cam Image Handling

From meteobridge
Revision as of 21:52, 13 October 2013 by Admin (Talk | contribs)

Jump to: navigation, search

This page is intended to give some examples what Meteobridges weather image conversion with the Linux tool convert can offer. I selected this freely available image from Univerity of Arizona as an example to do some comversions with.

original image (720 x 540)

Pic1.jpg

cut off header, new size (720x490)

Pic2.jpg

Overlay text:

-crop 720x490+0+50

adding weather data as overlay text

Pic3.jpg

Overlay text:

-crop 720x490+0+50 -fill black -draw "fill-opacity 0.7 rectangle 0 470 720 490" -pointsize 12 -fill orange -draw "text 5 485 '[YYYY]-[MM]-[DD] [hh]:[mm]'" -fill white -draw "text 110 485 'Temp: [th0temp-act=F.1:--] °F    Humidity: [th0hum-act.0:--] %    Pressure: [thb0seapress-act=inhg.2:--] inHg    Wind Chill: [wind0chill-act=F.1:--]°F    Wind: [wind0avgwind-act=mph.1:--] mph    Rain: [rain0total-sumday=in.2:--] in'"

resized image (300 height)

Pic3.jpg

Overlay text:

-resize 300