So, I have this code: (to capture an image from a url)
- Code: Select all
source = urllib.urlopen('http://gimg.netmarble.co.id/elsword/images/News/img_visual.jpg'); #just any random image from any website
image = source.read();
destination = open('test1.jpg','w'); #my file
this code do give me a file, that's "Almost" similar to the actual image, however, there are some bits that differs between the captured image, and the actual image.
could anyone give me a solution to fix this?