g.dispose();
// Paint the image, now that it has been altered, onto another image
final BufferedImage bi = new BufferedImage( width, height, BufferedImage.TYPE_INT_ARGB );
final Graphics2D g2 = bi.createGraphics();
g2.drawImage( simg.image(), 0, 0, null );
g2.dispose();
// Test if the first pixel, as seen from the image, is yellow
return 0x00ffff00 == ( getPixel( bi, 0, 0 ) & 0x00ffffff );
}