Klemen Slavič - 2011-06-16

Suggestion: maybe instead of a separate method, pass in 'data:[img_format]' instead of '[img_format]'. Just for syntactic niceness.