ISSUE-5: Handling spatial cropping requires information at client-side

ISSUE-5: Handling spatial cropping requires information at client-side

http://www.w3.org/2008/WebVideo/Fragments/tracker/issues/5

Raised by: Jack Jansen
On product: 

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.

Received on Tuesday, 7 April 2009 11:58:30 UTC