Friday, February 21, 2014

Process images on fly - xively and weserv.nl

In a previous post which explains how to show xively response in graphical format I explained how to get graphical representation of an object based on data reports. Today I can share how I updated the response to cut the image size and remove some information which is not usable, to make the picture fit into appropriate container, if it is smaller than needed.

There is a service http://images.weserv.nl which is free, fast and reliable service to change images "on fly". By example, I updated my graph to cut off some information. Compare:

Image before cut:
xively image before cut
Image after cut:
xively image after cut

Note that the area at the bottom is cut.

The weserv.nl service allows to do many other image manipulations on fly. Check out their homepage at http://images.weserv.nl/.

No comments:

Post a Comment