Limit on image size very low

52 views
Skip to first unread message

Bjoern

unread,
Nov 15, 2009, 8:58:39 PM11/15/09
to Google App Engine
Hi,

the imaging service limitation of 1MB for the maximum image size seems
very low. Most cameras create bigger images by now.

Any chance of increasing that limit? It would be nice if people could
upload images to my app without having to go through a photo editor
first. In fact avoiding the photo editor was one of the reasons I
started to program the app.

Unfortunately I saw the 1MB only in the midst of coding, as it is not
listed together with the other quotas.

Thanks!


Björn

Eli Jones

unread,
Nov 16, 2009, 2:03:19 PM11/16/09
to google-a...@googlegroups.com
I haven't used the Image api.. but.. do you mean the limit of 1MB for storing entities in the Datastore?  Or, does it just throw errors if you try to manipulate an image in memory that is over 1MB?

If you're just trying to get a 1MB image into the datastore, you could break it up into 1mb chunks before sticking it in the datastore.


--

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



Bjoern

unread,
Nov 16, 2009, 3:32:05 PM11/16/09
to Google App Engine
The latter - it throws an error if the image you try to manipulate is
bigger than 1MB in memory.

Mikhail Kashkin

unread,
Nov 17, 2009, 7:14:13 AM11/17/09
to Google App Engine
Google App Engine is mostly oriented to Web applications. 1Mb size is
enough for full screen pictures for most monitors. May be this one of
the reasons.

Bjoern

unread,
Nov 17, 2009, 8:29:21 AM11/17/09
to Google App Engine
Sure, my only application of the imaging API is to reduce the size of
images that users upload, to display the small size on the web. It
wouldn't happen very often, either (resize once, display n times).

My only idea now is to maybe go through some other service that has an
API - a photosharing service, for example. It is getting unnecessarily
complicated, though.

Eli Jones

unread,
Nov 17, 2009, 9:08:21 AM11/17/09
to google-a...@googlegroups.com
Isn't there another image library you could use to resize?
> --
>
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengi...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=.
>
>
>

--
Sent from my mobile device

Westmark

unread,
Nov 17, 2009, 5:26:09 AM11/17/09
to Google App Engine
I totally agree. The 1MB size limit for database entities could remain
for all I care. Just give me the chance to resize my users' 5MB images
to ~300k versions. Besides, the 10MB request size limit seems out of
place when seen beside the image api size limit.

Barry Hunter

unread,
Nov 17, 2009, 2:11:39 PM11/17/09
to google-a...@googlegroups.com
Has everyone here actully stared the issue tracker request?

http://code.google.com/p/googleappengine/issues/detail?id=1422

thats far more likly to be taken notice of.

Jonathan

unread,
Nov 17, 2009, 5:22:09 PM11/17/09
to Google App Engine
Or not.

Bjoern

unread,
Nov 18, 2009, 11:03:30 AM11/18/09
to Google App Engine
If you have a suggestion, I wouldn't mind trying it. I suspect few
python imaging libraries would be pure python, though.

Cynthia Kurtz

unread,
Nov 18, 2009, 5:51:12 PM11/18/09
to Google App Engine
Another issue is, the 1MB limit is incompatible with audio and video
as well as just images. So it's not just an imaging library that is
needed, it's everything. I had planned to have people be able to
collect stories in audio format (say from old folks) and upload them
to my site (Rakontu) but given the 1MB limit that's pretty much out of
the question. That and the Timeouts and other gotchas make it hard to
create anything that approximates real social media on GAE. :( But
here's hoping it "grows up" over time. Moore's law is in our favor
here.

Cynthia Kurtz

unread,
Nov 18, 2009, 6:01:48 PM11/18/09
to Google App Engine
Sorry - to clarify - I wasn't talking about the imaging service, I was
talking about the database limit. I had originally intended to have
"attachments" to stories, which could include say PDF as well as audio
and video and images. If there is a way to break up ANY binary data
into 1MB chunks and get it in and out of the database cleanly, I'm all
ears.

Ikai L (Google)

unread,
Nov 18, 2009, 6:13:02 PM11/18/09
to google-a...@googlegroups.com
Cynthia, I have good news for you:

From here: http://code.google.com/appengine/docs/roadmap.html
  • Service for storing and serving large files
It's coming! We hear you.

--

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





--
Ikai Lan
Developer Programs Engineer, Google App Engine

Denis

unread,
Dec 4, 2009, 6:03:02 PM12/4/09
to Google App Engine
Ikai,
Could you please specify a planned date (at least with month
precision) of so wanted feature release?
Also would it only alter a datastore structure size, or also be
applied to incoming/outgoing emails limits,
responses limits, POST request size?

Thanks in andvance

On Nov 19, 1:13 am, "Ikai L (Google)" <ika...@google.com> wrote:
> Cynthia, I have good news for you:
>
> From here:http://code.google.com/appengine/docs/roadmap.html
>
>    - Service for storing and serving large files
> > google-appengi...@googlegroups.com<google-appengine%2Bunsu...@googlegroups.com>
> > .

Ikai L (Google)

unread,
Dec 7, 2009, 8:27:50 PM12/7/09
to google-a...@googlegroups.com
Denis,

The roadmap is meant to be a six month launch schedule. We don't work on projects in a serial process, more than likely work has more already begun if not already nearing completion for many of the items on the list. I can't give you a precise date for serving or storing large files yet, but we are trying a process in which we release beta SDKs so you can start developing against it before the official release.

To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.


sserrano

unread,
Dec 8, 2009, 3:45:30 PM12/8/09
to Google App Engine
In the mean time you can try http://code.google.com/p/appengine-storages/

Is a project Im developing and provides an Storage property that tries
to works like the django one. Now has two backends, S3 and datastore.
The datastore backend saves the file in 1mb chunks.

The code is still beta but functional enough for sites not under
production.

SS
> > > > google-appengi...@googlegroups.com<google-appengine%2Bunsubscrib e...@googlegroups.com>
> > <google-appengine%2Bunsu...@googlegroups.com<google-appengine%252Bunsub scr...@googlegroups.com>
>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/google-appengine?hl=.
>
> > > --
> > > Ikai Lan
> > > Developer Programs Engineer, Google App Engine
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to google-a...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengi...@googlegroups.com<google-appengine%2Bunsubscrib e...@googlegroups.com>
> > .
> > For more options, visit this group at
Reply all
Reply to author
Forward
0 new messages