W3C home > Mailing lists > Public > public-media-fragment@w3.org > April 2009

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

From: Media Fragments Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Tue, 7 Apr 2009 07:58:20 -0400 (EDT)
To: public-media-fragment@w3.org
Message-Id: <20090407115820.C4B227F467@otto.w3.org>

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


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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:27:42 UTC