2009-04-07 11:58:20: Created issue 'Handling spatial cropping requires information at client-side' nickname owned by Jack Jansen on product , description 'For temporal clipping, we have said that it is possible to do it either server-side or client-side. The client can detect the fact that it has been done server side (either fully or even partially) by inspecting the HTTP reply headers, and do additional cropping if needed.
For spatial cropping we need similar information too: if the client is to know whether it has to do additional cropping it needs to know not only the width and height of the image it received from the server (which it can probably deduce by inspecting the returned media item) but also the original width and height and, in case the server has already done some cropping, the x and y (in original-media space) of the topleft corner of the returned image.
Special care needs to be taken that the information returned is complete enough that percent-based cropping can be done client-side.' non-public [Jack Jansen]