Zooms in or out to any desired size.
size
The desired size of the image after zooming.
Size can have any value: the JpipRasterImageViewer will find the best resolution that fits this size and then load, decode and paint the image.
For an example of calling this function to zoom to the 3rd resolution, refer to JpipRasterImageViewer.