Closed cedr-x closed 7 years ago
Hello Sam, I've added the PreviewFilter to api.php, not on HandlePreviewRequest, but on HandlePreviewToJpegRequest instead. This way, trim and quality are settable in Config.php. To avoid the use of the dirty "/bin/cat", a test is made in Scanimage if the "outputfilter" is given or not
I've also inserted the jpg output preview within the json output in order to suppress the next http request to preview.jpg
Hope you'll like it ! Regards
Hello, Thanks for the project ! I've enhanced the preview cosmetics (less flickering) please review