Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chroma Downsampling Lowers Visual Quality #56

Open
Magotchi opened this issue Aug 24, 2015 · 0 comments
Open

Chroma Downsampling Lowers Visual Quality #56

Magotchi opened this issue Aug 24, 2015 · 0 comments

Comments

@Magotchi
Copy link

Line 337 of imgmin.c contains:

        (void) MagickSetImageProperty(mw, "jpeg:sampling-factor", "2x2");

I find that the quality is noticeably and significantly better if I comment/remove that line (although the size is increased some).

Here are some test images.

graphic made in GIMP, saved as quality 100 JPEG:
original
imgmin output, chroma downsampling 2x2
imgmin output, chroma downsampling off

random image from rawsamples.ch, resized, saved as quality 100 JPEG:
original
imgmin output, chroma downsampling 2x2
imgmin output, chroma downsampling off

random image from Google Images (and ultimately from thewallgans.com, a wallpaper site), resized, saved as quality 100 JPEG:
original
imgmin output, chroma downsampling 2x2
imgmin output, chroma downsampling off

Every area with fine detail is blurred significantly, and colors tend to look less vivid, in the chroma-downsampled versions.

@Magotchi Magotchi changed the title Quality Worse than with ImageMagick convert Chroma Downsampling Lowers Visual Quality Aug 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant