using the following command line: gswin32c -sDEVICE=jpeg -sOutputFile=c:\temp\print\res1.jpg -q -dBATCH -r300 -dNOPAUSE c:\temp\nem.pdf the result is BLANK jpg file. It is the same with tiffgray and tiffg4 driver too. 72, 200 or 600 dpi results look ok. With 301 resolution I got ugly big black and white squares ?!
Created attachment 1957 [details] input file
The sample file contains a single halftoned image. q 0.24 0 0 0.24 0 0 cm /R7 gs q 0 1054.5 -2250 0 2400 150.004 cm BI /CS/G /W 2109 /H 4500 /BPC 8 /F/Fl /DP<</Predictor 15 /Columns 2109>> ID .... EI When the image is subsampled the results depend on the relative phases of the halftone cells on the inage and the sampling function. For instance, the inage looks great at 600 dpi.
-dDOINTERPOLATE allows this to work. THis is similar to bug 493348. Since this workaround lets it work and we already have an open bug, we will mark this as a duplicate. *** This bug has been marked as a duplicate of 493348 ***