Hi Will The following article explains the different pitfalls for image scaling with java quite well. And it includes some code how to do it right. I don't know if it is the best solution, but it is enough for me. http://today.java.net/pub/a/today/2007/04/03/perils-of-image-getscaledinstance.html
If you use the multistep scaling flag of the provided helper method, ensure that your server has enough memory. Tobias 2009/3/10 Will Scheidegger <[email protected]>: > Dear Magnolians > This is quite off-topic, but I'm sure many of you have been faced by the > same problem: Image scaling in Java. > I tried many different methods, googled for hours if not days, but either > I'm getting low quality results or the thumbs have other "side effects" like > a black border on one or two sides... > Does anyone have the definite solution to a problem which really should not > be rocket science? I hate it when things are oh so easy in Typo3 :-/ > Thanks! > -will > > -- > > fastforward websolutions > > Kramgasse 16, CH-3011 Bern > > Tel. +41 31 348 54 44, Fax +41 31 348 54 55 > > www.fastforward.ch > > -- > > > ________________________________ > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- > ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
