-
Notifications
You must be signed in to change notification settings - Fork 42
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
Bad scaling on large images #388
Comments
Since this uses the graphics card to display image as a texture, I only have Linear and Nearest available as filters. I could make this configurable, but you will get jaggy edges - it might look crisper though. I can also turn off mipmap generation which might help too. |
This is hard as this is one which will piss off at least a few users if it's not better across the board, it's only really bad in cases like this with small, similarly coloured text. Is post processing an option to allow other scaling options such as lanczos? This would best be a toggle it it's possible to implement because of the odd 30000x30000 image. |
I'll add options to configure this in the settings. I think turning off mipmaps will make the biggest difference. If there are still people pissed off I might be fine with that :) There is also FSAA we could try and other tricks. |
You can try this in |
Cool, I'll get back to you with results soon! |
Works great for text, mipmaps off and linear_min_filter on seem to be a good combination for text. For other places like small icons, not so much but re-enabling mipmaps help.
Might be worth trying out if you have the time, especially if you want to match or beat qimgvs implementation. |
Scaled-down images appear blurry. Examples using the redesign at 5120x2892:
qimgv:
oculante:
The text was updated successfully, but these errors were encountered: