Re: Converting hex data to image

2019-03-11 Thread dimplemathew . 17
On Friday, November 15, 2013 at 3:52:58 AM UTC+5:30, Shyam Parimal Katti wrote: > Perfect. Thank you @Ben and @Tim > > > > > On Thu, Nov 14, 2013 at 4:29 PM, Ben Finney wrote: > > > Ben Finney writes: > > > > > > To turn a byte string into a file-like object for use with PIL, extract >

Re: Converting hex data to image

2019-03-11 Thread dimplemathew . 17
On Monday, March 11, 2019 at 4:32:48 PM UTC+5:30, Peter Otten wrote: > dimplemathew...@gmail.com wrote: > > > Hi i have a similar challenge where i need to store the thumbnailPhoto > > attribute to my local db and display the image every-time user logs in. > > But this solution does work . data lo

Re: Converting hex data to image

2019-03-11 Thread dimplemathew . 17
On Thursday, November 14, 2013 at 9:02:52 PM UTC+5:30, Shyam Parimal Katti wrote: > I am implementing an authentication system(in Django) using LDAP as the > backend(django-auth-ldap). When we fetch the data from the LDAP server for a > particular valid user, the data associated with the user co

Re: Converting hex data to image

2019-03-12 Thread dimplemathew . 17
On Tuesday, March 12, 2019 at 2:09:06 PM UTC+5:30, Peter Otten wrote: > dimplemathew...@gmail.com wrote: > > > On Monday, March 11, 2019 at 4:32:48 PM UTC+5:30, Peter Otten wrote: > >> dimplemathew...@gmail.com wrote: > >> > >> > Hi i have a similar challenge where i need to store the thumbnailPh

Re: Converting hex data to image

2019-03-12 Thread dimplemathew . 17
On Tuesday, March 12, 2019 at 2:53:49 PM UTC+5:30, Peter Otten wrote: > dimplemathew...@gmail.com wrote: > > >> Save the image to a file (in binary mode!) and then try to open it with > >> an image viewer. The data may be corrupted. > > > > When i tried doing that it says Invalid Image... > > So