[scribus] Making PDF smaller
Rudolf Vavruch
vavruch at gmail.com
Wed Sep 8 18:32:01 CEST 2010
Thanks for the links.
I tried the running this:
pdf2ps -dLanguageLevel=3 myfile.pdf
but when the output ps reached around 2GB it crashed with the following error:
Error: /ioerror in --showpage--
Operand stack:
1 true
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval--
--nostringval-- --nostringval-- false 1 %stopped_push 1862
1 3 %oparray_pop 1861 1 3 %oparray_pop 1845 1 3
%oparray_pop --nostringval-- --nostringval-- 14 1 125
--nostringval-- %for_pos_int_continue --nostringval--
--nostringval-- 1745 0 9 %oparray_pop --nostringval--
--nostringval--
Dictionary stack:
--dict:1153/1684(ro)(G)-- --dict:1/20(G)-- --dict:75/200(L)--
--dict:75/200(L)-- --dict:106/127(ro)(G)-- --dict:285/300(ro)(G)--
--dict:22/25(L)-- --dict:4/6(L)-- --dict:22/40(L)--
Current allocation mode is local
Last OS error: 27
GPL Ghostscript GPL Ghostscript 8.708.70: : Unrecoverable error, exit code 1
Unrecoverable error, exit code 1
I'm wondering if pdf2ps doesn't have a limit of some sort and 2GB was
too big for it?
On 7 September 2010 14:53, Gregory Pittman <gregp_ky at yahoo.com> wrote:
> On 09/07/2010 05:39 AM, Rolf-Werner Eilert wrote:
>>
>> Am 06.09.2010 22:57, schrieb Gregory Pittman:
>>>
>>> On 09/06/2010 04:04 PM, Rudolf Vavruch wrote:
>>>>
>>>> Submitted on 09/06/2010
>>>> Submitted by anonymous user: [10.1.5.224]
>>>>
>>>> Submitted values are:
>>>>
>>>> Name: Rudolf Vavruch
>>>> Email Address: vavruch at gmail.com
>>>> Subject: Making PDF smaller
>>>> Message:
>>>> Hi, I'm sending this from the contact form on scribus.net.
>>>>
>>>> My friends and I are making an online magazine, you can view the first
>>>> issue here: exhibitmag.co.za. The second issue is complete but for one
>>>> problem - as a PDF it's too big. I've tried various methods of exporting
>>>> it but nothing gets it looking good unless it is around 400MB. My friend
>>>> took this PDF opened it in Illustrator and when closing it, it asked him
>>>> if he wanted to remove superfluous data (or something similar),
>>>> bookmarks and other things. It then compressed the file down to 40MB!
>>>> But I've noticed one problem, occasionally some of the text is messed
>>>> up.
>>>>
>>>> Is there anyway I can compress the generated PDF without dropping image
>>>> resolution and keeping all the text as is?
>>>>
>>>> I am using ScribusNG 1.3.5 - that comes with Linux Mint 8 Helena.
>>>
>>> Hi Rudolf,
>>>
>>> Try these:
>>>
>>> http://wiki.scribus.net/index.php/Shrinking_a_PDF_from_the_command_line
>>> http://wiki.scribus.net/index.php/Web_optimised_PDF
>>>
>>> What these involve is conversion to PS then back to PDF.
>>>
>>> Greg
>>>
>>
>> Just thought I'd try that first one, but this is what came out:
>>
>> myfile.pdf: 2660277
>> myfile.ps: 354513891
>> myshrunkenfile.pdf: 72428732
>>
>> That means, the "shrunken" file is actually bigger than the original one.
>>
>> Any idea?
>
> It means you need to try the other way. I've noticed the same thing
> sometimes -- I think this page needs editing.
>
> Greg
>
More information about the scribus
mailing list