thanks for your reply. I have also starred the issue that you mentioned. Regards, Rohith
On Thursday, August 21, 2014 8:35:41 PM UTC+5:30, Doug Anderson wrote: > > As Vinny and others have said... use Google Cloud Storage and dynamic > image serving. > > BUT please also star this issue: > https://code.google.com/p/googleappengine/issues/detail?id=9979 > > To make a long story short... when the dynamic image serving service > resizes a jpeg image it effectively uses a quality parameter of 100. So, > if you're like me and save a single large-ish image and rely on dynamic > image serving to deliver thumbnails and intermediate sizes... you can end > up with 2x-3x larger images than necessary. For example, I save images in > GCS at 1440x1080. An example image served dynamically with GAE image > serving at 320x240 is 34k in size. Taking that same 1440x1080 example > image and creating a 320x240 jpeg with quality=85 results in an 18k image > and at quality=65 results in an 11k image. Visually, the quality is still > decent even at q=65. > > What I'd like to see is the dynamic image serving default to quality=85... > that is a pretty standard setting. Ideally (as the issue mentions) an > additional quality parameter could be tacked onto the url (but that is > gravy). A simple switch to a default of 85 would save a lot of bandwidth > on image heavy apps. > > > On Monday, August 18, 2014 6:09:05 PM UTC-4, Vinny P wrote: >> >> On Mon, Aug 18, 2014 at 3:00 PM, Rohith D Vallam <[email protected]> >> wrote: >> >>> thanks a lot for your reply. Actually i am a novice to GAE. I could not >>> understand your reply very clearly. Is there a difference between >>> "DataStore" and "Cloud DataStore " ? >>> >> >> >> What Barry is saying is that there's a difference between the Datastore >> and Google Cloud Storage. The articles you linked to discuss storing images >> in the datastore, but it is much better to store, process, and serve images >> using Cloud Storage as the backend. >> >> Here is how to upload an image (with code examples): >> https://developers.google.com/appengine/docs/php/googlestorage/user_upload >> Here is how to serve the uploaded images: >> https://developers.google.com/appengine/docs/php/googlestorage/images >> >> The datastore is not currently available for PHP-based applications, so >> if you need to store additional data such as users, address, etc (as you >> stated in your original post) you'll need to use Cloud SQL: >> https://developers.google.com/appengine/docs/php/cloud-sql/ >> >> >> ----------------- >> -Vinny P >> Technology & Media Consultant >> Chicago, IL >> >> App Engine Code Samples: http://www.learntogoogleit.com >> >> > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
