public class NetPbmTextureWriter extends Object implements TextureWriter
Constructor and Description |
---|
NetPbmTextureWriter() |
NetPbmTextureWriter(int magic)
supported magic values are:
|
public static final String PPM
TextureIO.PPM
,
Constant Field Valuespublic static final String PAM
TextureIO.PAM
,
Constant Field Valuespublic NetPbmTextureWriter()
public NetPbmTextureWriter(int magic)
magic 0 - detect by file suffix (TextureIO compliant) magic 6 - PPM binary RGB magic 7 - PAM binary RGB or RGBA
public int getMagic()
public String getSuffix()
public boolean write(File file, TextureData data) throws IOException
TextureWriter
write
in interface TextureWriter
IOException
Copyright 2010 JogAmp Community.