Adlib API home page > News

New image handling capabilities (scaling and cropping)

From wwwopac.ashx version, new image handling capabilities are available though the getcontent command. They allow you to specify how an image to be retrieved should be scaled and how it should be presented. You can show only part of a retrieved image, round off the corners of the canvas on which the image is displayed and set a background colour for the canvas.