Lucas, sem muito analisar, ta com cara de que o pdf ta mal formado :)
Em 10/30/15 22:06, Lucas Moraes escreveu:
Boa noite pessoal.
Eu cortei várias partes de muitos PDF e estou juntando estas partes em
apenas uma pagina de PDF.
Estou conseguindo com exito, mas os arquivo gerado esta ficando muito
grande e lento para abrir. Então eu fui usar Ghostscript para tentar
diminuir, veja o erro que gera.
lucas@lucas-moraes:~/Downloads$ gs -sDEVICE=pdfwrite
-dCompatibilityLevel=1.4 -o out.pdf in.pdf
GPL Ghostscript 9.10 (2013-08-30)
Copyright (C) 2013 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1
Loading NimbusMonL-Bold font from
/usr/share/fonts/type1/gsfonts/n022004l.pfb... 4469108 2736066 2176520
753832 3 done.
**** Error reading a content stream. The page may be incomplete.
**** Error reading a content stream. The page may be incomplete.
**** File did not complete the page properly and may be damaged.
**** This file had errors that were repaired or ignored.
**** The file was produced by:
**** >>>> PDF::API2 2.025 [linux] <<<<
**** Please notify the author of the software that produced this
**** file that it does not conform to Adobe's published PDF
**** specification.
Alguém pode me ajudar ou indicar os possíveis problemas?
Desde já eu agradeço.
Bom final de semana a todos.
=begin disclaimer
Sao Paulo Perl Mongers: http://sao-paulo.pm.org/
SaoPaulo-pm mailing list: SaoPaulo-pm@pm.org
L<http://mail.pm.org/mailman/listinfo/saopaulo-pm>
=end disclaimer
--
Eduardo Almeida - Software Engineer
edua...@web2solutions.com.br - 27.99831.8663
*WEB2 Solutions* - Inovando, sempre!
=begin disclaimer
Sao Paulo Perl Mongers: http://sao-paulo.pm.org/
SaoPaulo-pm mailing list: SaoPaulo-pm@pm.org
L<http://mail.pm.org/mailman/listinfo/saopaulo-pm>
=end disclaimer