1 // Copyright 2002 Adam Megacz, see the COPYING file for licensing [GPL]
5 /** Interface implemented by classes capable of decoding an image file into an int[] */
6 public interface ImageDecoder {
8 /** returns the width of the image */
9 public abstract int getWidth();
11 /** returns the height of the image */
12 public abstract int getHeight();
14 /** returns the data of the image, as an array of 32-bit AARRGGBB samples */
15 public abstract int[] getData();