Thanks Jason, I'll play with it and see how I go :)
On Dec 24, 12:19 pm, "Jason (Google)" <apija...@google.com> wrote: > I just threw together a small test application and it looks like the > combined size of all image inputs has to be less than 1 MB. So in other > words, you can composite 10 100 KB images but not 11 or higher. > > I haven't explicitly tested composite with the Blobstore service, but I'll > make an educated guess that this will work, yes. Composite operates on image > objects, and you can create an image object from a Blobstore key using > images.Image(blob_key=blob_key). Since other transformations work with > Blobstore keys, I don't see why composite should be any different -- let me > know if it is, and I'll file a bug. Keep in mind that the final output size > still has to be under 1 MB regardless. > > As long as the image inputs to the transformations are within the data size > limits (when using Blobstore keys, this limit is the same as the maximum > allowed Blob size) AND the output is smaller than 1 MB, you shouldn't see > any exceptions thrown during the actual processing, at least not from the > call itself. Of course, the other quotas (e.g. requests have to complete in > 30 seconds, etc.) still apply. > > http://code.google.com/appengine/docs/python/images/overview.html#Tra... > > Cheers! > - Jason > > On Sun, Dec 20, 2009 at 8:57 PM, Nickolas Daskalou <n...@daskalou.com>wrote: > > > In Python, if we're using the composite() function from the Images > > API, is the size of each image "layer" allowed to be <= 1MB, or does > > the combined size of all the image layers have to be <= 1MB (eg. 10 x > > 100KB layers is allowed, but 11 x 100KB is not)? > > > Can we use Blobstores when using composite()? > > > Exactly when is the LargeImageError exception thrown? Eg. the answers > > to 1. and 2. below are Yes, but what about 3. and 4.? > > 1. If > 1MB of data is passed as the image_data before any transforms/ > > composites are done? > > 2. If the final output data is > 1MB? > > 3. Can the exception be thrown during the processing of the transforms/ > > composites, even if the final output data is <= 1MB? If Yes, what are > > the conditions that cause this? > > 4. If Yes to 3. => When using a Blobstore for image transforms, is the > > "upper limit" for a LargeImageError exception higher than if the image > > data is passed via the Image constructor? > > > -- > > > 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-appeng...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-appengine+unsubscr...@googlegroups.com<google-appengine%2bunsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-appengine?hl=en. > > -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.