Thanks for the patch, I think you should remove the if 'JPEG' condition, it's also required for raw scans.
Thanks for the patch, I think you should remove the if 'JPEG' condition, it's also required for raw scans.