Well guys i was looking many hours for internet and i couldn't find the answer.
I have an URL with an image like this:
http://maps.google.com/maps/api/staticmap?center=Berkeley,CA&zoom=14&size=400x400&sensor=false
I need to load this image using ajax or another tool and later convert it into a blob to save in my database.
Thanks