Comments (7)
Released as part of 0.7.1.
from telephoto.
A user-zoom factor that goes from 1 when all the way 'zoomed out' to whatever the max zoom is.
ZoomableState
maintains this state internally but only exposes the final zoom factor. Will it be sufficient to expose these two values in some fashion?
I'd like it to follow any zooms & translates the user makes.
Do you have a video of an app that does this by any chance? I think I mostly understand your usecase but it'd be nice to confirm my assumptions by seeing something in action.
from telephoto.
Ah yep that should! Reading from userZoom
is exactly what I'm looking for.
I think you can see a good example of what I'm looking to do by editing a photo and google photos and using the markup tool to mark on it.
from telephoto.
Got it. I'll try coming up something. 👍
I think you can see a good example of what I'm looking to do by editing a photo and google photos and using the markup tool to mark on it.
This screen?
Or were you referring to this cropping tool? It has an overlay but it does not follow the image. It stays centered.
screen-20231110-005723.3.mp4
from telephoto.
The first one, note that when you draw on the image it tracks when you zoom/pan around.
from telephoto.
Gotcha!
from telephoto.
@evant Wanna try out 0.7.0-SNAPSHOT
to see if you're able to use this?
from telephoto.
Related Issues (20)
- Restricting Zoom and Scroll Direction (X/Y Axis Only) and Callback for Current ZoomableState Updates. HOT 3
- Difficult to zoom inside pager HOT 8
- Ability to view image edges in the center of the screen HOT 3
- Unable to capture bitmap from ZoomableAsyncImage composable HOT 9
- Better zoom gestures HOT 13
- Please provide a way to change zoom and offset programatically HOT 7
- Coil returned a null cache snapshot HOT 4
- Telephoto internal NPE HOT 7
- Incorrect fling velocity on zoom gesture end with Compose 1.7.0-alpha02 HOT 1
- Zoomable modifier looses state after ZoomableState gets disposed and recreated HOT 12
- Allow disabling "Double tap to zoom" & "Pinch to zoom" separately HOT 2
- Content padding HOT 2
- Keyboard support HOT 1
- IllegalStateException: maximumVelocity should be a positive value HOT 16
- IllegalStateException: Coil returned a null cache snapshot HOT 5
- Gif Not Working HOT 5
- Individual Zoom for Canvas Rectangles using rememberZoomState. HOT 2
- Add mouse wheel zoom support HOT 3
- Different double tap/zoom functionality HOT 1
- Need SubsamplingScaleImageView.visibleFileRect(Rect fRect) analog HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from telephoto.