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

Zoom and scroll #14

Open
Brionne opened this issue Jul 14, 2014 · 1 comment
Open

Zoom and scroll #14

Brionne opened this issue Jul 14, 2014 · 1 comment

Comments

@Brionne
Copy link

Brionne commented Jul 14, 2014

Your project is good but the zoom quality is disappointing. Look at this librairie to improve your's.
https://github.com/ncornette/ZoomableView
(Sorry for my english, i'm french...)

@catchthecows
Copy link
Owner

I have never really been happy with the image zooming (pinch zoom) in this project.

I don't think that simply using ScaleAnimation will help the quality of the zoom image. Maybe I am missing something in the ZoomableView code.

Without resampling the bitmap a lot of information is lost when zooming or shrinking. This is why I prefer to go back to the original bitmap when changing size.

What this could be used for is to show interpolated images between the staring size and the final zoom size. One could argue that the quality of the image while it is zooming is not important, and that simply resampling the bitmap at the final size is all that needs to be done. In other words, during the zoom or move, don't worry about the image quality.

What I eventually settled on for future projects is to use openGL to render the image instead of drawing Bitmaps on Canvas. Although in theory hardware assist for Canvas rendering should be similar speed, I personally found openGL to have better performance on a wider selection of devices.

If you do integrate ImageMap and ZoomableView I'd be interested to see the results.

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

No branches or pull requests

2 participants