Comments (4)
you can use this method ,but it's slow.
from extended_image.
Thanks for the suggestion. Strangely it is giving me the same data as the originally loaded image, not the data from after a flip() or rotate() call...
i.e. get the same return after various edits (that show perfectly on the screen) as i got when i first loaded the image... It feels like this is the cached data i am getting back, and not the current image.
This is the function i am using:
Future<Uint8List?> getImageFromNew() async {
final state = editorKey.currentState;
if (state == null || state.image == null) {
return null;
}
Uint8List result =
(await state.image!.toByteData(format: ui.ImageByteFormat.png))!.buffer.asUint8List();
return result;
}
is there something i am doing wrong?
from extended_image.
you can the data after fip at this place
from extended_image.
Thank you very, very much.... this has solved the problem for me :)
from extended_image.
Related Issues (20)
- getCachedImageFile is not working with ExtendedNetworkImageProvider HOT 1
- [Bug report] I can not finish building my app HOT 3
- [How to use] ExtendedImage.network加载Gif如何暂停播放 HOT 1
- [Discussions] Best way to debug image loading HOT 3
- [Bug report] ExtendedImageSlidePage中嵌套图片或者ExtendedImageGesturePageView的问题
- [Feature request] 安卓端PageView的手势冲突问题。 HOT 1
- [Bug report] 当缩放到最小然后,按住图片平移后,图片会定住,不能回弹到原始尺寸 HOT 3
- [Discussions] Swiping left and right pictures is not smooth HOT 2
- [Bug report] 当缓慢进行缩放时,缩放动画不够顺滑 HOT 1
- [Bug report] 缩放到最大后,继续放大缩放,图片会漂移。
- 因为经常会遇到视频和图片作为素材集合的情况,请问是否能支持视频的预览? HOT 1
- [How to use] editorKey.currentState.rotate() 能否让裁剪框不跟着旋转? HOT 3
- [Bug report] Render item image error when using ExtendedImageGesturePageView on Flutter 3.22
- Error (Xcode): ../../../.pub-cache/hosted/pub.dev/extended_image-8.2.1/lib/src/gesture_detector/official.dart:34:38: Error: The class 'DragGestureRecognizer' can't be extended, implemented, or mixed in outside of its library because it's a sealed class. HOT 13
- [Feature request] 有没有纯粹的图片加载库? 就像glide/pricasso之类的一样 HOT 7
- [Feature request] Update dependency web ^1.0.0. HOT 2
- [Bug report] HOT 1
- compressionRatio图片压缩,是请求时即时压缩的,还是下载完原图后再给压缩? HOT 1
- 缓存失败[Discussions] HOT 6
- [Bug report] flutter beta 3.25 编译报错 HOT 1
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 extended_image.