Assigned
Status Update
Comments
pe...@google.com <pe...@google.com>
kr...@gmail.com <kr...@gmail.com> #3
If 4670 is to be merged into this issue, please let this issue include a request for image rotation as a url parameter too. From the original 4670 description:
With the support of the url modifications to crop and resize images served from the blobstore via get_serving_url, our application is nearly rid of the need to ever store an image in the datastore. The high performance image serving is fantastic.
The one remaining need however is to rotate photos - it would be great if there existed a url modification similar to "=sXX-c" that would rotate the image.
Examples:
image served sized to 100px:
/baseimgurl=s100
image served to 100px, rotated 90 degress
/baseimgurl=s100r90
image served to 100px cropped, rotated 270 degress
/baseimgurl=s100-cr270
With the support of the url modifications to crop and resize images served from the blobstore via get_serving_url, our application is nearly rid of the need to ever store an image in the datastore. The high performance image serving is fantastic.
The one remaining need however is to rotate photos - it would be great if there existed a url modification similar to "=sXX-c" that would rotate the image.
Examples:
image served sized to 100px:
/baseimgurl=s100
image served to 100px, rotated 90 degress
/baseimgurl=s100r90
image served to 100px cropped, rotated 270 degress
/baseimgurl=s100-cr270
sl...@google.com <sl...@google.com> #5
FYI you can add "-r90", "-r180", "-r270" to rotate the URLs that are returned now.
Will add this to the API as well.
Will add this to the API as well.
kr...@gmail.com <kr...@gmail.com> #6
the -r90, -r180, -r270 options are incredible, thanks for the tip!
vd...@gmail.com <vd...@gmail.com> #7
[Comment deleted]
vd...@gmail.com <vd...@gmail.com> #8
I can't seem to get -r90, -r180, -r270 working (at least on my local dev server). I see that the status was changed to Accepted, but not clear if rotation and width/height options are or would be supported. Please clarify.
s....@gmail.com <s....@gmail.com> #9
I'm also looking for a way to specify a bounding box for cropped images served via get_serving_url().
I'm suprised that this issue is open since 2010. The mentioned -rX parameters are not mentioned in the official documents - maybe there are some undocumented parameters for bounding boxes?
I'm suprised that this issue is open since 2010. The mentioned -rX parameters are not mentioned in the official documents - maybe there are some undocumented parameters for bounding boxes?
da...@webhook.com <da...@webhook.com> #10
Hey, would really love this feature as well. Seems like a pretty common usage.
th...@gmail.com <th...@gmail.com> #11
Please add this option, it shouldn't be that hard to implenet and it would be SUPER USEFUL!.
ed...@gmail.com <ed...@gmail.com> #12
Also would really like to see width and height specific image sizing! Thanks.
di...@gmail.com <di...@gmail.com> #13
Come on guys, this is been an issue since 2010. Hard to imagine anyone could use square-cropping only. Please allow width and height image sizing.
lo...@gmail.com <lo...@gmail.com> #14
This should have been an option from the very beginning, come on people, please add this height+width cropping. PLEASE!!!
ed...@gmail.com <ed...@gmail.com> #15
"Accepted" status for almost 3 years... would love to hear something/anything on the status of this?
ma...@gmail.com <ma...@gmail.com> #16
It's actually implemented but I didn't see it documented anywhere:
* length of longest dimension: =s180
* width: =w200
* height: =h150
* width and height: =w200-h150
* cropping with size: =s200-c
* cropping with width/height: =w200-h150-c
* rotate: =r90
* combine rotation: =w200-h150-r90-c
Here is an example:http://lh4.ggpht.com/TgjDT-cPRr6bjrpSVQeILk93o4Ouzjo1ygMB6KpmnCHhyH5vJKKRrqxCD2bC3T09CRIP6h5QFsV_l0hnhio5bN7z=h200-w300-r180-c
I don't know if we can rely on this to continue to work. Let us know if someone finds an official documentation for this.
* length of longest dimension: =s180
* width: =w200
* height: =h150
* width and height: =w200-h150
* cropping with size: =s200-c
* cropping with width/height: =w200-h150-c
* rotate: =r90
* combine rotation: =w200-h150-r90-c
Here is an example:
I don't know if we can rely on this to continue to work. Let us know if someone finds an official documentation for this.
to...@gmail.com <to...@gmail.com> #17
Awesome!
Not sure when this got added (was it always there? :0), but this is just what I need(ed) -- thanks for discovering it.
Agreed, docs should be updated to reflect this.
Not sure when this got added (was it always there? :0), but this is just what I need(ed) -- thanks for discovering it.
Agreed, docs should be updated to reflect this.
ed...@gmail.com <ed...@gmail.com> #18
Wow thanks for finding these!
th...@gmail.com <th...@gmail.com> #19
This is excellent news! thanks for posting Marco!
jv...@gmail.com <jv...@gmail.com> #20
Does this work on development?
sa...@gmail.com <sa...@gmail.com> #21
holy crap the rotation options are amazing!
Description
As it stands right now, we cannot resize an image by a maximum width or height only.
I hope this would be relatively easy to introduce sometime in the near future.
Thx.