Moiré patterns on resized images

Image scaler add-on.

Moiré patterns on resized images

Postby jamielongstaff » Sun May 18, 2008 4:19 pm

I've been having an issue with a Moiré type pattern (http://en.wikipedia.org/wiki/Moire) appearing on resized images create by JImageFilter. In the two images shown below, one was resized using bicubic interpolation in Photoshop while the other one was created using JImageFilter. As you can see there is a distinct Moiré pattern on the police officer's utility belt in the second image and it would be great to have a fix for this as it can be quite distracting..!

Resized in Photosop
belt_photoshop.jpg
Created with Photoshop
(5.36 KiB) Downloaded 293 times


Resized with JImageFilter
belt_java.jpg
Created with JImageFilter
(7.87 KiB) Downloaded 288 times


Thanks for looking into it!

Jamie

http://www.pixaria.com/
jamielongstaff
 
Posts: 1
Joined: Sun May 18, 2008 4:11 pm

Re: Moiré patterns on resized images

Postby support » Sun May 18, 2008 7:05 pm

Moiré pattern could be avoided by uncommenting "impl=awt" in scaling.properties. Scaling is around twice slower than default implementation (imageio) but image quality is best. We've implemented a new multi-step imageio bilinear scaling algorithm in 2.1, it provides quality/speed in the middle performance of imageio and awt.

You can find a tutorial with samples about image quality and parameters recommendations at:
http://www.jfileupload.com/products/jim ... ality.html
User avatar
support
 
Posts: 1501
Joined: Sun Jan 27, 2008 6:19 pm


Return to JImageFilter



cron

Sitemap | Privacy Statement | Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc.
in the U.S. and other countries. All other company and/or product names are the property of their respective owners.