davemorrissey / subsampling-scale-image-view

Android library (AAR). Highly configurable, easily extendable deep zoom view for displaying huge images without loss of detail. Perfect for photo galleries, maps, building plans etc.
Apache License 2.0
7.87k stars 1.2k forks source link

Displaying more than one image in the same view #573

Open rvnses opened 1 year ago

rvnses commented 1 year ago

I need to display a couple images together on screen, I expect them to have a resolution above the max texture size, so tilling would be necessary. And I need both images to be zoomable at the same time, as they are a single one so the user can scroll from one to another.

What would be the best approach for doing this?

The images would come from a server, a way for making this work could be to combine both images into a single one after receiving them, and write them to disk and keep some information about their size so I can locate them later in the view, and finally load the content a single image, but I would prefer to not have to re-compress them (e.g. two jpgs) or take extra space on disk.

Any other alternatives? I wouldn't mind to tweak the library if I need to, but I would appreciate some guidance.

Thanks for the project!