org.sunflow.image
Class Bitmap
java.lang.Object
org.sunflow.image.Bitmap
public class Bitmap
- extends java.lang.Object
Constructor Summary |
Bitmap(int w,
int h,
boolean isHDR)
|
Bitmap(java.lang.String filename,
boolean isLinear)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Bitmap
public Bitmap(java.lang.String filename,
boolean isLinear)
throws java.io.IOException
- Throws:
java.io.IOException
Bitmap
public Bitmap(int w,
int h,
boolean isHDR)
save
public static void save(java.awt.image.BufferedImage image,
java.lang.String filename)
setPixel
public void setPixel(int x,
int y,
Color c)
getPixel
public Color getPixel(int x,
int y)
getWidth
public int getWidth()
getHeight
public int getHeight()
save
public void save(java.lang.String filename)