Können Sie mir sagen, wie kann ich TIFF zu PDF mit Ghostscript oder Postscript konvertieren?Konvertierung von TIFF in PDF mit Ghostscript
Ich habe versucht, diesen Befehl zu verwenden:
gswin32c.exe -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=o.pdf test.tif
Aber es funktioniert nicht.
Es erzeugt einen Fehler:
GPL Ghostscript 9.06 (2012-08-08) Copyright (C) 2012 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Error: /undefined in II* Operand stack: Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1910 1 3 %oparray_pop 1909 1 3 %oparray_pop 1893 1 3 %oparray_pop 1787 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- Dictionary stack: --dict:1169/1684(ro)(G)-- --dict:0/20(G)-- --dict:77/200(L)-- Current allocation mode is local Current file position is 4 GPL Ghostscript 9.06: Unrecoverable error, exit code 1
Während seiner schönen gs zu sehen, dies zu tun gemacht werden, entweder tiff2pdf (http://remotesensing.org/libtiff/) oder tifftopnm, pnmops (netpbm.sourceforge.net/) sind wahrscheinlich per - fere, robustere, schnellere Lösungen – agentp