-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Gallery images enlarged if they are smaller than the gallery thumbnail size #497
Comments
This is a scaling issue, iirc there's different algorithms to rescale pixel art without causing fidelity loss. https://en.wikipedia.org/wiki/Pixel-art_scaling_algorithms is worth referencing. |
Specifically, this is an issue with the Thumbnailer, which calls out to imagemagick. Getting a good imagemagick incantation that works in the general case is pretty hard, afaict, but I think we can make it a bit smarter than it is right now. I could definitely use some help from someone with more experience using it/processing images in general, though. That code is here: banchan/lib/banchan/workers/thumbnailer.ex Lines 116 to 154 in 27ae4cd
|
Moving this post-MVP/beta because while it's definitely an issue, I don't think it warrants blocking beta release. |
This might "magically" be fixed by #610, so I'm moving it to this sprint just to see if that's all that's needed. |
This is partially fixed as of #784, but now we need to go through the site and make sure that:
Moving this back to the backlog and reassigning, since this is now frontend work. |
This is fixed in #788, along with the larger portfolio redesign. |
Minor issue:
If the finished artwork is smaller than the gallery thumbnail, it is blown up to compensate, causing a blurry effect (example: pixel art avatars that are small)
Possible solution: Do not enlarge to fit if the final image is smaller than N x N pixels. Center the image instead? It might be hard to make this look good.
Aside: I don't know how to add a label to an issue in Github, clicking on labels in the right column isn't doing it.
The text was updated successfully, but these errors were encountered: