On Sun, Apr 19, 2009 at 9:41 PM, Joshua Partogi <joshua.j...@gmail.com>wrote:

>
> On Apr 20, 10:24 am, Alex Gaynor <alex.gay...@gmail.com> wrote:
> > On Sun, Apr 19, 2009 at 8:22 PM, Joshua Partogi <joshua.j...@gmail.com
> >wrote:
> >
> >
> >
> >
> >
> > > Dear all,
> >
> > > Does django has a wrapper over PIL to resize the image from ImageField
> > > during uploading? Or do we have to use PIL directly to do this?
> >
> > > Thanks in advance
> >
> > > --
> > > If you can't believe in God the chances are your God is too small.
> >
> > > Read my blog:http://joshuajava.wordpress.com/
> > > Follow us on twitter:http://twitter.com/scrum8
> >
> > Django doesn't include anything to do this, you need to use PIL.
> >
> > Alex
> >
> > --
> > "I disapprove of what you say, but I will defend to the death your right
> to
> > say it." --Voltaire
> > "The people's good is the highest law."--Cicer
>
> Thanks Alex,
>
> Because I thought that ImageField is using PIL, I thought django made
> a wrapper for PIL
> >
>
Django only uses PIL for validating that a file is infact an image, and
getting the height and width.  Django doesn't have it's own wrapper around
PIL, although if you look on google code or other sites there are projects
that provide more complex wrappers for dealing with images(such as
django-photologue).

Alex

-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." --Voltaire
"The people's good is the highest law."--Cicero

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to