Created attachment 50343 [details] [review] add mime data to soft masked images The cairo backend is not currently setting the mime data for soft masked images. As a result jpeg images are Flate encoded in PDF output resulting in increased file size. The attached patch fixes this.
The PDF test case I used is: https://bugzilla.gnome.org/attachment.cgi?id=163460 from bug https://bugzilla.gnome.org/show_bug.cgi?id=621359 This has a file size of 84K. When printed to PDF using cairo the file size is 253K. After applying this patch the file size is 45K.
Pushed to git master, thank you very much
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.