xbmc/xbmc — pull request #822 by Montellese (2012-03-28 20:25:55+00:00)
Title: webserver: image transformation handler

This PR uses the work of @Brad Mann he provided in #92 but integrates it into the new handler-based approach of our webserver implementation. The functionality stays the same as described in the original PR. The image transformation is accessible by using the following URI:

http://< ip >:< port >/transform/image/< url-encoded-path-to-the-image >?< options >

Currently available options are

- width
- height
- quality
- format

This is a very often requested feature of webinterfaces and JSON-RPC clients especially for mobile devices where a 1920x1080 fanart doesn't make any sense at all so requesting images in smaller dimensions in the first place makes it faster and saves space.