I haven't had time to look at this but I had one thought: If the JPEG is faster, shouldn't we compress with JPEG first and then do the zlib compression and bail out once we exceed the size of the JPEG?
I'm always a little worried about making an assumption about the data - we will get it wrong sometimes doing this. -- https://code.launchpad.net/~soliloque/simple-scan/fastpdf/+merge/322610 Your team Simple Scan Development Team is subscribed to branch lp:simple-scan. _______________________________________________ Mailing list: https://launchpad.net/~simple-scan-team Post to : [email protected] Unsubscribe : https://launchpad.net/~simple-scan-team More help : https://help.launchpad.net/ListHelp

