Skip to content

added stepwise image downsampling to improve the resulting image quality #22

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ChristianRamseier
Copy link

html5 canvas is not very good at downsampling jpegs, the output quality is very poor.
this improvement does a stepwise downsampling which greatly improves the image quality.

the method is discussed here: http://stackoverflow.com/questions/17861447/html5-canvas-drawimage-how-to-apply-antialiasing

self-explanatory example, downsized from 1920x1200:
test-043
test-044

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

Successfully merging this pull request may close these issues.

None yet

1 participant