In the python google.appengine.api.images docs there are crop functions such as crop(left_x, top_y, right_x, bottom_y)
, which allow you to specify a bounding box for cropping using percentages.
In addition, same docs say that one can append e.g. '=s32' to the image url returned by get_serving_url()
in order to resize the image to 32px in the larger dimension. There are also crop options, however none of them are given with a bounding box (i.e. crop that's not defined from the corner nor around the center of the image) nor with percentages (all examples are around pixels).
Is there a way to replicate crop()
's behavior by appending options to the serving url returned by the get_serving_url()
function?