public class XPMFile
extends java.lang.Object
NOTE: This simple XPM reader does not support extensions nor hotspots
public static XPMFile load(java.lang.String file) throws java.io.IOException
file
- path to filejava.io.IOException
- If any IO exceptions occurs while reading filepublic static XPMFile load(java.io.InputStream is)
is
- InputStream to read file frompublic int getHeight()
public int getWidth()
public byte[] getBytes()
public static void main(java.lang.String[] args)
args
- Copyright © 2002-2009 lwjgl.org. All Rights Reserved.