Hello!
 
I load an image from disk, scale it, and write it back, and it always has a pink tint.
 
        AffineTransform xform = AffineTransform.getScaleInstance( scalex, scaley );
        AffineTransformOp op = new AffineTransformOp( xform, AffineTransformOp.TYPE_BILINEAR );
        bf = op.filter(bf, null);
 
This doesn't work either:
 
        AffineTransform tx = new AffineTransform();
        tx.scale(scalex, scaley);
 
        AffineTransformOp op = new AffineTransformOp(tx, AffineTransformOp.TYPE_BILINEAR);
        bf = op.filter(bf, null);
 
What am I doing wrong?
 
Pete
 
==========================================================================To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to