package com.revolsys.raster; import java.awt.image.BufferedImage; import com.revolsys.geometry.model.BoundingBox; public class BufferedGeoreferencedImage extends AbstractGeoreferencedImage { protected BufferedGeoreferencedImage() { } public BufferedGeoreferencedImage(final BoundingBox boundingBox, final BufferedImage image) { this(boundingBox, image.getWidth(), image.getHeight()); setRenderedImage(image); postConstruct(); } public BufferedGeoreferencedImage(final BoundingBox boundingBox, final int imageWidth, final int imageHeight) { setBoundingBox(boundingBox); setImageWidth(imageWidth); setImageHeight(imageHeight); postConstruct(); } @Override public String toString() { return "BufferedImage " + getImageWidth() + "x" + getImageHeight(); } }