Brendan Duncan
Brendan Duncan
Since this library was originally written for web only (Flutter didn't exist), it is very lacking in file streaming functionality, so it uses a lot of memory (original file buffer...
The file writing looks fine to me, I don't know what "connect it to my pc" means. The file saving is pure Dart functionality, so the Archive library doesn't have...
I'll need to implement the proper decryption method, I think I only ever implemented the basic password decryption. I'll try and find some time to do that, since it keeps...
For now, you'll need to do the extract in an Isolate thread.
@leecommamichael Yes, definitely. Dart used to be primarily a web language. It pivoted to mobile when Flutter came out. Async and threading is one of the things that is very...
I'm not familiar with the Flutter CameraImage class. Is image.planes[0].bytes packed BGRA pixel data? Or is each plane a single channel? I would expect each plane to have a single...
I would assume bytesPerRow would be `numberOfChannels * width` (4 * width), so bytesPerRow ~/ 4 would be width. But if that's not the case, I don't know what's going...
What is plane.bytesPerPixel? Or plane.width, plane.height?
I'm trying to understand what you're asking. The code you have in your example would create multiple crops and write each to crop the same output file, overwriting the previous...
You can write each crop to its own file. If you want all of the crops to go into a single file, there's not really an image format that can...