Ok, so in production, I dont see the same image artifacts/compression,
but there is a slight color/gamma shift.  It's totally acceptable, but
again, should probably be reflected in the docs.

Specifically, it looks like the image service strips out ColorSync
profiles from rotated images.


Here are the two samples (before and after)


Original image:

http://www.pindropper.com/_Media/remote2.jpg


Rotated image:

http://www.pindropper.com/_Media/remote1.jpg




The original image has the following ColorSync profile embedded:

sRGB IEC61966-2.1


Thanks for your help!


On May 11, 3:41 am, "Nick Johnson (Google)" <[email protected]>
wrote:
> I would strongly suggest trying this in production before looking for
> any other solution. The SDK uses the Python Imaging Library, which is
> not the same as the Images service in production, so I would not
> expect the same result.
>
> It's also possible that your image is simply more compressible when
> rotated. Are you experiencing actual visual degradation?
>
> -Nick Johnson
>
>
>
> On Sun, May 10, 2009 at 4:08 AM, Pindropper Info <[email protected]> wrote:
>
> > I am going to post this in the python group too, but I think it may be
> > a general engine topic.
>
> > I recently added some image rotation code (using images.rotate)  I put
> > in a JPEG and get out a JPEG.
>
> > The image I put in is about 28k, the image I get back is 12k.  Is
> > there any way to eliminate this degradation?
>
> > I have ONLY RUN THIS LOCALLY at this point, not on the actual app
> > engine runtime in production.
>
> > Thanks
--~--~---------~--~----~------------~-------~--~----~
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