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