I've written some code for creating high quality thumbnail images

I struggled to find anything that could do this with any quality, so I've built on a relatively simple starting piece of code and improved it so that it uses a series of weighted steps to reduce the image, I've posted it on my website:

<a href="http://www.philreeve.com/java_high_quality_thumbnails.php">http://www.philreeve.com/java_high_quality_thumbnails.php</a>

If anyone finds any problems, please let me know.

Enjoy

[460 byte] By [phil_reevea] at [2007-10-3 7:51:15]
# 1

I am getting this error, when i am trying to create thumbnail.

image Color representation : Uncalibrated

sun.awt.image.ImageFormatException: Unsupported color conversion request

at sun.awt.image.JPEGImageDecoder.readImage(Native Method)

at sun.awt.image.JPEGImageDecoder.produceImage(Unknown Source)

at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)

at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)

at sun.awt.image.ImageFetcher.run(Unknown Source)

Sriramakrishnaa at 2007-7-15 2:53:13 > top of Java-index,Security,Cryptography...