Class AmigaBitmapImageFactory
java.lang.Object
org.monte.media.amigabitmap.AmigaBitmapImageFactory
Creates a BufferedImage from a BitmapImage.
We put these factory methods into this class instead of into class AmigaBitmapImage, because we don't want to put this additional code into Java applets that don't need this functionality.
- Author:
- Werner Randelshofer
-
Method Summary
Modifier and TypeMethodDescriptionstatic AmigaBitmapImagestatic AmigaBitmapImagestatic AmigaBitmapImagestatic BufferedImageCreates a BufferedImage using the provided AmigaBitmapImage.static Imagestatic voidwrite(AmigaBitmapImage bm, File f) static voidwrite(AmigaBitmapImage bm, OutputStream out)
-
Method Details
-
toBufferedImage
Creates a BufferedImage using the provided AmigaBitmapImage.- Parameters:
bm- The AmigaBitmapImage holding the image data.
-
toMemoryImage
-
toBitmapImage
-
toBitmapImage
-
toBitmapImage
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-