|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sunflow.image.readers.HDRBitmapReader
public class HDRBitmapReader
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.sunflow.image.BitmapReader |
---|
BitmapReader.BitmapFormatException |
Constructor Summary | |
---|---|
HDRBitmapReader()
|
Method Summary | |
---|---|
Bitmap |
load(java.lang.String filename,
boolean isLinear)
Load the specified filename. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HDRBitmapReader()
Method Detail |
---|
public Bitmap load(java.lang.String filename, boolean isLinear) throws java.io.IOException, BitmapReader.BitmapFormatException
BitmapReader
BitmapReader.BitmapFormatException
may be
thrown. It is an error for this method to return null
.
load
in interface BitmapReader
filename
- image filename to loadisLinear
- if this is true
, the bitmap is assumed to
be already in linear space. This can be usefull when reading
greyscale images for bump mapping for example. HDR formats can
ignore this flag since they usually always store data in
linear form.
Bitmap
object
java.io.IOException
BitmapReader.BitmapFormatException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |