Implement info 'frame' parameter

It returns values (in percentage) for displayed area of the image.
This allows to implement the drawing of the displayed area in a thumbnail for instance.
Add example for visible frame drawing