1 |
On 02/22/2017 03:12 PM, karl@××××××××.se wrote: |
2 |
> Thelma: |
3 |
>> I have scaned pdf file (88-page) 23MB in size (downloaded this way). |
4 |
>> Trying to reduce the size of the file I [...] |
5 |
> |
6 |
> Why don't you extract the images with pdfimages from the pdf and |
7 |
> compress them with xv or convert (imagemagic) and maybe gimp can |
8 |
> comress them also. Don't know how to get them back into a pdf though. |
9 |
> |
10 |
> Regards, |
11 |
> /Karl Hammar |
12 |
> |
13 |
> ----------------------------------------------------------------------- |
14 |
> Aspö Data |
15 |
> Lilla Aspö 148 |
16 |
> S-742 94 Östhammar |
17 |
> Sweden |
18 |
> +46 173 140 57 |
19 |
|
20 |
I'm puzzled as to what program they used to compress the PDF file with such a good quality output (PDF format as well). |
21 |
|
22 |
This is the link I use to compress the file: |
23 |
https://online2pdf.com/pdf-reduce-size |
24 |
|
25 |
I've tried: |
26 |
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dDownsampleColorImages=true -dColorImageResolution=150 -dNOPAUSE -dBATCH -sOutputFile=5.pdf COVERAGE_July-1-2016.pdf |
27 |
|
28 |
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -sOutputFile=5.pdf COVERAGE_July-1-2016.pdf |
29 |
|
30 |
convert -density 200x200 -quality 60 -compress jpeg COVERAGE_July-1-2016.pdf 5.pdf |
31 |
|
32 |
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=5.pdf COVERAGE_July-1-2016.pdf |
33 |
|
34 |
The last one above gave me decent size I think about 5MB but the quality wasn't very good. |
35 |
All others, size was hardly reduced or quality was terrible. |
36 |
|
37 |
Gimp will open only one page at at time, so it is not suitable for this conversion. |
38 |
|
39 |
-- |
40 |
Thelma |