flutter_image_compress
flutter_image_compress copied to clipboard
flutter image compress
I/ViewRootImpl@b550be7[MainActivity]: Relayout returned: old=(0,0,1080,2340) new=(0,0,1080,2340) req=(1080,2340)0 dur=10 res=0x1 s={true -5476376648227145264} ch=false fn=3 I/ViewRootImpl@b550be7[MainActivity]: updateBoundsLayer: t = android.view.SurfaceControl$Transaction@54f3638 sc = Surface(name=Bounds for - com.jinengmao.xinmanman/com.jinengmao.xinmanman.MainActivity@0)/@0xc8f5611 frame = 3 I/ViewRootImpl@b550be7[MainActivity]: mWNT: t =...
1) let's say I have an image 1000 x 1000, how can I BOTH compress the quality AND resize it to say 500 x 500 ? 2) I have seen...
➜ pod install Analyzing dependencies [!] CocoaPods could not find compatible versions for pod "SDWebImage/Core": In Podfile: SDWebImage (= 3.8.2) was resolved to 3.8.2, which depends on SDWebImage/Core (= 3.8.2)...
iOS crashed when set output format as `webp` and `keepExif: true`. ```dart Future compressAndGetFile(String targetPath) async { final result = await FlutterImageCompress.compressWithFile( file.absolute.path, quality: 50, format: CompressFormat.webp, keepExif: true, //...
On iOS, plugin handlers are run synchronously (`dispatch_sync`), but should be run asynchronously (`dispatch_async`). I'm unfamiliar with Kotlin, so I don't know for sure, but I didn't see anything indicating...
crash log: #49 Thread NSInternalInconsistencyException Data cannot be nil 0 CoreFoundation | ___exceptionPreprocess + 224 1 libobjc.A.dylib | objc_exception_throw + 56 2 CoreFoundation | +[_CFXNotificationTokenRegistration keyCallbacks] 3 Foundation | -[NSAssertionHandler...
*** Assertion failure in -[FlutterStandardTypedData initWithData:type:], FlutterStandardCodec.mm:175 *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Data cannot be nil' *** First throw call stack: (0x193a1dd78 0x1ac682734 0x1952a31f0 0x10d006560 0x10d006818...
We are trying to update the flutter version to 2.8.1 and after upgrading we are getting the below error in flutter_image_compress package. flutter_image_compress-1.1.0/ios/Classes/CompressFileHandler.m:39:18: note: use 'isEqual:' instead if(imageType == @"image/webp")...
usually this happens with images of size ~500kb ~~kind of renders this package useless if "compressing" an image can end up making it larger...in fact the resulting image is often...