Hi guys,
I am resizing image using blobproperty but it s giving BadImageError with 
no exception supllied.

Here is my code for resizing:

*bg_image = request.FILES['bg_image'].read(*)

*obj_partner.bg_image = db.Blob(images.resize(bg_image,1400,758))     // 
error line*

and i am uploading image which is less then 1Mb and whose resolution is 
(1400 x 762)

and the field i am taking is Filefield.

Please reply...

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/4a2a1c33-3501-4d9f-8f4f-a821fa0f7f56%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to