With python code!

http://www.google.com/search?q=image+dimensions+pure+python

On Thu, Oct 2, 2008 at 9:41 AM, acuth <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I want to generate a 20x20 image out of an uploaded image. Using the
> image API I can resize it to 20x20 but for non-square input images I
> get a smaller image. For example a 100x50 image would come back as a
> 20x10 image. The crop() method would allow me to extract a square
> image but to generate the input parameters - left_x=0.25, top_y=1.0,
> right_x=0.75, bottom_y=0.0 - I need to know the image dimensions.
>
> Any thoughts/advice would be gratefully received, Adrian
>
> >
>



-- 
Barry

- www.nearby.org.uk - www.geograph.org.uk -

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to