Re: [Tutor] Saving data as jpg file

2011-06-12 Thread Johan Geldenhuys
riginal Message- From: tutor-bounces+johan=accesstel.com...@python.org [mailto:tutor-bounces+johan=accesstel.com...@python.org] On Behalf Of Steven D'Aprano Sent: Sunday, 12 June 2011 10:14 AM To: Tutor@python.org Subject: Re: [Tutor] Saving data as jpg file Johan Geldenhuys wrote: > Hi, >

Re: [Tutor] Saving data as jpg file

2011-06-11 Thread Steven D'Aprano
Johan Geldenhuys wrote: Hi, I have a Axis IP camera that I can send a HTTP command to and the data returned is the jpg image. When I get this data, I want to save it as a .jpg file, but I think my encoding is not correct, because the image is all distorted. Are you sure that the data produced

[Tutor] Saving data as jpg file

2011-06-11 Thread Johan Geldenhuys
Hi, I have a Axis IP camera that I can send a HTTP command to and the data returned is the jpg image. When I get this data, I want to save it as a .jpg file, but I think my encoding is not correct, because the image is all distorted. I looked at using PIL, but the device I will install my scr