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 ( 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
Created with Photoshop
(5.36 KiB) Downloaded 293 times

Resized with JImageFilter
Created with JImageFilter
(7.87 KiB) Downloaded 288 times

Thanks for looking into it!

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 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: ... ality.html
User avatar
Posts: 1501
Joined: Sun Jan 27, 2008 6:19 pm

Return to JImageFilter


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.