← Back to team overview

desktop-packages team mailing list archive

[Bug 1525225] Re: gs has issues with pdfs which only consist of large images

 

Do you mean that this bug is fixed in GS 9.18 via

http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=668406a5

and you like to have an SRU for Wily with this patch backported into
Wily's GS 9.16?

** Changed in: ghostscript (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to ghostscript in Ubuntu.
https://bugs.launchpad.net/bugs/1525225

Title:
  gs has issues with pdfs which only consist of large images

Status in ghostscript package in Ubuntu:
  Incomplete

Bug description:
  Hello,

  there seems to be a bug in the version 9.16 of ghostscript which prevents using ghostscript with pdfs created by some canon scanners which only consist of large images.
  I wrongly associated this error with the following bug https://bugs.launchpad.net/ubuntu/+source/poppler-data/+bug/1438494, however cliddell corrected me and also directly pointed to his committed patch:
  http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=668406a5 which should fix this issue.

  With version 9.18 from http://www.ghostscript.com/download/gsdnld.html
  its working flawlessly.

  The bug occurs when attempting to minimize the file size of such a pdf
  and the following error message is shown: (an example pdf is attached
  to this post)

  $ gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer -sOutputFile=out.pdf SCN_0002.pdf
  GPL Ghostscript 9.16 (2015-03-30)
  Copyright (C) 2015 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
  **** 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:
  **** >>>> MP540 series <<<<
  **** Please notify the author of the software that produced this
  **** file that it does not conform to Adobe's published PDF
  **** specification.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1525225/+subscriptions


References