[Bug 1588768] Re: only first page is converted when converting a multipage postscript file to jpg and then to pdf when using standard input and output instead filenames

J-K 1588768 at bugs.launchpad.net
Mon Mar 13 18:14:47 UTC 2017


I read https://www.imagemagick.org/script/command-line-processing.php , specially https://www.imagemagick.org/script/command-line-processing.php#input and https://www.imagemagick.org/script/command-line-processing.php#output . There is no difference mentioned between  
STDIN & STDOUT and using file names.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to imagemagick in Ubuntu.
https://bugs.launchpad.net/bugs/1588768

Title:
  only first page is converted when converting a multipage postscript
  file to jpg and then to pdf when using standard input and output
  instead filenames

Status in imagemagick package in Ubuntu:
  Invalid

Bug description:
  Description:	Ubuntu 14.04.4 LTS
  Release:	14.04

  Version: 8:6.7.7.10-6ubuntu3.1

  I tried to convert a multipage postscript file generated by
  LibreOffice writer to JPG and then to PDF using following command
  line:

  convert -density 150 /tmp/file.ps jpg:- | convert - pdf:/tmp/file.pdf

  The resulting PDF has only the first page, all other pages are lost.

  When using explicit file names instead of the standard input and
  output, the resulting PDF has all pages from the original postscript
  file:

  convert -density 150 /tmp/file.ps jpg:/tmp/file.jpg && convert
  /tmp/file-*.jpg pdf:/tmp/file.pdf

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



More information about the foundations-bugs mailing list