Use scaleToFit() with a big value in the other dimension. ----- Original Message ----- From: "Thomas Kübler" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, August 23, 2005 8:41 AM Subject: [iText-questions] image scaling
hallo, i want to scale an image to a given width. the new height of the image have to calculate so that the ratio will keep. i try to use the scaletoabsolutewidth, but then the height is not scaled. is there a method to do this or have i write my own? with regards thomas kübler ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
