io

Class ImageReader


public class ImageReader
extends java.lang.Object

This class reads image data from a specified file. Width and height of that image must be processed to this class as parameters.

Field Summary

private static Image
destImg
private static BufferedImage
img
private static File
imgFile
private static int[]
pixelValues
private static BufferedInputStream
rawData

Method Summary

int[]
readImage(String relativeFileLocation)

Field Details

destImg

private static Image destImg

img

private static BufferedImage img

imgFile

private static File imgFile

pixelValues

private static int[] pixelValues

rawData

private static BufferedInputStream rawData

Method Details

readImage

public int[] readImage(String relativeFileLocation)