I am trying to put HugeImageView inside a ScrollPane, to make it scrollable with the scroll bars and in a top-left position.
I rewrite the part of scrolling and zooming by using ScrollPane and the part checking visible rect in the view port.
The image loading is done using OpenCV to save memory.
I am having two problems:
1. When zooming, the thumbnail and the tiles ImageView will appear alternatively.
2. If I zoom too much, the view becomes blank.
Any ideas how to solve the problems?
OpenCV is required to build the project: https://github.com/xulihang/OpenCV-B4J/releases/tag/library
Test image: https://upload.wikimedia.org/wikipedia/commons/8/8f/Whole_world_-_land_and_oceans_12000.jpg
I rewrite the part of scrolling and zooming by using ScrollPane and the part checking visible rect in the view port.
The image loading is done using OpenCV to save memory.
I am having two problems:
1. When zooming, the thumbnail and the tiles ImageView will appear alternatively.
2. If I zoom too much, the view becomes blank.
Any ideas how to solve the problems?
OpenCV is required to build the project: https://github.com/xulihang/OpenCV-B4J/releases/tag/library
Test image: https://upload.wikimedia.org/wikipedia/commons/8/8f/Whole_world_-_land_and_oceans_12000.jpg