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

Support dithering with tiles #60

Open
adrhill opened this issue Dec 6, 2021 · 1 comment
Open

Support dithering with tiles #60

adrhill opened this issue Dec 6, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@adrhill
Copy link
Collaborator

adrhill commented Dec 6, 2021

Related to a question that came up in the Julia Slack #image-processing channel a while ago, it would be nice to dither using smaller images as tiles.

A simple way to implement this would be to average colors in each tile to obtain a color scheme. We would then obtain an IndirectArray from which it would be possible to reconstruct the tiled image.

One open issue is how to deal with non-square tiles. It might be necessary to rescale the input image to compensate for stretching of the output image.

@adrhill adrhill added the enhancement New feature or request label Dec 6, 2021
@johnnychen94
Copy link
Member

Is the idea to do a pixel-wise comparison or a tile-wise comparison?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants