My input was a 100x100 JPEG image, the transform: resize(85, 85),
the result was also JPEG in agreement with my guess that the
original encoding will be preserved, but, surprisingly,
the result data could be up to 5 times longer byte wise.
Explicitly enforcing PNG output did not solve the issue
... BUT ... explicitly asking for JPEG did solve it!
And now I am happy -- images are resized and also smaller.
Still, an unexpected adventure :-)

On Nov 13, 2:22 pm, "Ikai L (Google)" <ika...@google.com> wrote:
> The list of open issues for the Images API is here:
>
> http://code.google.com/p/googleappengine/issues/list?can=2&q=image
>
> It looks like your issue may be related to this:
>
> http://code.google.com/p/googleappengine/issues/detail?id=2339
>
> Any details you can provide will be a great help. Thanks!
>
> On Thu, Nov 12, 2009 at 7:25 AM, jacek.ambroziak
> <jacek.ambroz...@gmail.com>wrote:
>
>
>
> > I am trying to resize JPEG images from 100x100 original to smaller
> > 85x85 size.
> > The transformation apparently works, but the smaller image is LARGER
> > bytes-wise?!
> > An important reason for my making the images smaller is to reduce
> > their data size.
>
> > The same transformation using ImageMagick's 'convert' makes images
> > smaller in data size.
> > Additionally 'convert' takes 'quality' option that helps to further
> > reduce the image size;
> > it would make a great addition to the API!
>
> > Why are my transformed images bigger than the originals?
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine for Java" group.
> > To post to this group, send email to
> > google-appengine-j...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine-java?hl=.
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=.


Reply via email to