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

Scaler used? #13

Open
srappan opened this issue Apr 12, 2024 · 5 comments
Open

Scaler used? #13

srappan opened this issue Apr 12, 2024 · 5 comments
Labels
invalid This doesn't seem right

Comments

@srappan
Copy link

srappan commented Apr 12, 2024

Hiya

Could you mention in the README what scalers are used to upscale and downscale the image? Or whether if it configurable?

@edeso
Copy link
Owner

edeso commented Apr 12, 2024

hmm have to dig in.

i know there is no upscaling in the app.
downscaling is done by subsampling (halfing resolution) until it fit's memory limit. will need to look into the implementation for details.

why do you ask? any issues?

@srappan
Copy link
Author

srappan commented Apr 12, 2024 via email

@edeso
Copy link
Owner

edeso commented Apr 12, 2024

feel free to dig in. would have to search myself. been a while since i touched that code.

and again

  1. i am not aware of any up-/downscaling in the app, except the subsampling during load which is not tunable in any way.
  2. i am not aware of artifacts introduced due to any type of resampling from the app. if you find any i my be persuaded to investigate

@srappan
Copy link
Author

srappan commented Apr 12, 2024 via email

@edeso
Copy link
Owner

edeso commented Apr 12, 2024

again, there is no scaling in Bubble2 . there is merely subsampling, did you try it? do you see artifacts? please provide screenshots.

of course there is scaling by the display driver (usually OpenGL), but that is outside of the app scope as well. a common issue is a Moire Pattern and only fixable by costly realtime image manipulation according to scale/display/image-resolution.

any way. please provide artifacts created by Bubble2 in your comics/mangas. if there are none i see nor reason dive in any further.

there are loose plans to integrate smoeting along the lines of https://github.com/davemorrissey/subsampling-scale-image-view in the future. but there is no urgency as of now.

@edeso edeso added the invalid This doesn't seem right label Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants