1 package de.lathanda.eos.base;
3 import java.awt.image.BufferedImage;
4 import java.io.BufferedInputStream;
5 import java.io.IOException;
7 import javax.imageio.ImageIO;
14 private BufferedImage image;
17 private int imageWidth;
18 private int imageHeight;
22 image = ImageIO.read(bi);
23 }
catch (IOException fnfe) {
29 this.imageWidth = image.getWidth();
30 this.imageHeight = image.getHeight();
33 public Image(BufferedImage image,
int imageX,
int imageY,
int imageWidth,
int imageHeight) {
38 this.imageWidth = imageWidth;
39 this.imageHeight = imageHeight;
Image(BufferedImage image, int imageX, int imageY, int imageWidth, int imageHeight)
static InputStream getResourceAsStream(String filename)