Logged In: NO

FileInputStream pngIn = new FileInputStream( args[0] );
BufferedImage theInImage = ImageIO.read(pngIn);

int width = theInImage.getWidth(null);
int height = theInImage.getHeight(null);
com.anotherbigidea.flash.movie.Image.Lossless ll =
ImageUtil.createLosslessImage((java.awt.Image)theInImage,
5, true);
com.anotherbigidea.flash.movie.Shape simage =
ImageUtil.shapeForImage
((com.anotherbigidea.flash.movie.Image)ll,width,height);