if (DEBUG) Debug.output("OMRasterObject: newly located at " + point1);
if (DEBUG) { Debug.output("OMRasterObject: newly located at " + point1); }
    protected Image filterImage() {        // Can we do a little clipping here??  If it's been projected, maybe.        //  See if the frame is getting blown up, probably by at        // least a certain margin, so we know that there will be time        // savings as well as memory savings.        if (imageFilter instanceof TrimScaleFilter) {            TrimScaleFilter tf = (TrimScaleFilter)imageFilter;            Image img = tf.trimExcessPixels();                        if (img != null) {                bitmap = img;                imageFilter = tf.getFilterWithChanges();                // we can play around with point1, since that is where the                // image is getting laid out.  If point1.x or point1.y < 0, we                // can set it to zero.  Assumes that the image has already                // been positioned.                if (point1.x < 0) point1.x = 0;                if (point1.y < 0) point1.y = 0;                                if (DEBUG) Debug.output("OMRasterObject: newly located at " + point1);            } else if (DEBUG) {                Debug.output("OMRasterObject: not being trimmed due to projection");            }        }        ImageProducer prod = new FilteredImageSource(bitmap.getSource(), imageFilter);        if (Toolkit.getDefaultToolkit() != null)            return Toolkit.getDefaultToolkit().createImage(prod);        else return bitmap;    }