Hello. I have a image from
files = request.FILES['new_photo'].read()
and i want to know it's size and possibly resize it. How i can do it?
thanks.
UPD
before. i read() file and gave this string and some info? to SQL function. And she save it on ftp.
how i can get data same as the data returned from read() method?
i try to use Image.tostring()
and save it. But i have 0x0px image.