Brendan Duncan

Results 401 comments of Brendan Duncan
trafficstars

That's not a 1:1 comparison. They converted the image to 2-bit black-and-white. I tested doing that and you see the dither pattern. ![quantize_neural_dither_2](https://github.com/brendan-duncan/image/assets/3642099/71f28801-8146-4a97-b3b1-e3e7a9ec25b5)

I'll still be working on improving the quantization and dithering results, by the way. Might take a bit, working on lots of projects.

@sidetraxaudio I'm not sure what you mean by efficiently multthreaded. Dart is not multi-threaded beyond isolates, so running in an isolate would give you one thread for compression.

There's the `pachage:archive/archive_io.dart` variant that has file stream classes to avoid having to load the entire archive file into memory. ```dart import 'package:archive/archive_io.dart'; void main() { final stream = InputFileStream(p.join(testDirPath,...

This whole library is overdue for a refresh/rewrite, which I plan on doing soon.

I just released 3.3.3 that fixed a problem causing decryption to not work. It only supports the ZipCrypto format currently, not AES. I am in the process of trying to...

I just added a RandomAccessFile constructor to the FileHandle class, in the github version. I'll still play around with the API to simplify it, but with that constructor I added...

There's always some complication to simplifying things. InputFileStream can't have a direct import of dart:io to take a File constructor input, so I can't simplify it there. FileBuffer is the...

I suppose I could take out one layer by having InputFileStream take a FileHandle, in which case it would just be wrapping it in a FileBuffer instead of having you...

Ok, I pushed that last thought to github. You can set it up either way now. It might be a little bit before I can get to do another release.