org.jSyncManager.API.Tools.PalmDataTypes.Bitmaps

Class ImageConverter

Known Direct Subclasses:
ColorImageConverter, GrayscaleImageConverter

public abstract class ImageConverter
extends java.lang.Object

Method Summary

static Bitmap
convert(BufferedImage image, int bpp)
static BufferedImage
rescale(BufferedImage image, int maxWidth, int maxHeight)
static BufferedImage
rescale(BufferedImage image, int bpp, int maxWidth, int maxHeight)
Resizes image to fit within the specified dimensions, taking into account the 60K framebuffer limit.

Method Details

convert

public static Bitmap convert(BufferedImage image,
                             int bpp)

rescale

public static BufferedImage rescale(BufferedImage image,
                                    int maxWidth,
                                    int maxHeight)

rescale

public static BufferedImage rescale(BufferedImage image,
                                    int bpp,
                                    int maxWidth,
                                    int maxHeight)
Resizes image to fit within the specified dimensions, taking into account the 60K framebuffer limit.