HttpImageFilterModule: Crop with nonzero origin

I’d like to use nginx’s Image Filter
Modulehttp://wiki.nginx.org/HttpImageFilterModuleto dynamically
generate
DeepZoomhttp://msdn.microsoft.com/en-us/library/cc645050(v=vs.95).aspximages.

However, I don’t see an x-position or y-position argument for the crop
directive. Is it even possible for the Image Filter Module to crop
quadrants
other than the top left?

David

Hello!

On Mon, May 30, 2011 at 04:32:19PM +0900, David Somers-Harris wrote:

I’d like to use nginx’s Image Filter
Modulehttp://wiki.nginx.org/HttpImageFilterModuleto dynamically
generate

DeepZoomhttp://msdn.microsoft.com/en-us/library/cc645050(v=vs.95).aspximages.

However, I don’t see an x-position or y-position argument for the crop
directive. Is it even possible for the Image Filter Module to crop quadrants
other than the top left?

Just a side note: “crop” isn’t really crop, it is something like
“resize and crop if needed”.

And no, it doesn’t allow to crop image to arbitrary selected region.

Maxim D.

Ah I see. Too bad.

When the Image Filter Module crops, does it crop out the right and
bottom
ends only, or does it evenly crop the top, left, right and bottom out?

David

On Tue, May 31, 2011 at 04:21:57PM +0900, David Somers Harris wrote:

Ah I see. Too bad.

When the Image Filter Module crops, does it crop out the right and bottom
ends only, or does it evenly crop the top, left, right and bottom out?

It tries to keep as much as possible of an original image:
The image is scaled on one dimension and then is croped on other
dimension.


Igor S.