I am trying to add a JPEG image to a Scribus document, and then to export it as PDF; the file size of the resulting PDF should not be much higher.
I just added a frame for an image, loaded the JPEG file into it, and adjusted the image size to the frame's size.
Then I exported it as PDF, and the file size of the PDF was much higher than the JPEG file. The JPEG file has a size of 165 KB, and the PDF's size is 1 MB.
I tried to do the same using gimp, and there the resulting file is 1 MB as well, so same problem.
Then I tried imagemagick's convert
; there the resulting file is 177 KB, using:
convert 1.jpg 1.pdf
As for Scribus, I tried to change some settings in the PDF export (compression method, max. resolution etc.). This did reduce the file size, but image quality got worse.
How can I include a JPEG image in Scribus, and then export it "as-as" to PDF, without any real transformation, except for scaling (which could be stored just as a factor)?
Update
- I am using Scribus 1.4.6 on Linux
- I cannot upload my JPEG file, but I could reproduce it using this file: The JPEG file size is 220 KB, the resulting PDF is 1 MB.
Update 2
This issue has been crossposted to the Scribus issue tracker
convert
is actually producing A4 landscape, the same size as Scribus. There is no real difference in the meta data of those PDFs, as reported bypdfinfo
. How can I avoid that upsampling?