Image Scaling API

The Image Scaling API allows MIDlets to downscale the device’s images. The images can be downscaled either by file size or by dimension (i.e. width and height), and when images are downscaled by dimensions, the aspect ratio of the image can be retained if required. For JPEG images, the output quality can be set before downscaling.

MIDlets can use the Image Scaling API to reduce the dimensions and size (downscaling) of images.

Use the Image Scaling API, if you want to downscale images, but do not want to implement the image scaling functionality by yourself.

Note: The Image Scaling API cannot upscale an image, and does not allow users to select any protected images for downscaling due to security or copyright issues.

The Image Scaling API is compatible with devices running on Nokia Asha software platform devices or newer.

To find out which device models support the Image Scaling API, see Nokia Developer device specifications.

More information

For more information about the Image ScalingAPI, see: