| <<<Back 1 day (to 2011/09/24) | 2011/09/25 |
piksi | hi, i'd like to know how i could generate a raw ps/png file which shows the RIP halftone pattern at the printer native raster resolution (i.e. 600dpi, for example 6x6 size halftone)? grayscale is enough | 10:03.16 |
Robin_Watts_ | piksi: How about making a page that has a series of rectangles on it, varying in greyscale color from 0 to 1 in 256 steps ? | 10:22.55 |
| That should work for any halftone pattern up to 8x8. To cope with larger ones, you'd need to have more rectangles (and more steps) | 10:23.37 |
piksi | Robin_Watts_: i tried gs -dDITHERPPI=100 -sOutputFile=test.ps test.pdf -c quit | 10:59.39 |
| but the output is not ps | 11:00.18 |
| most preferably i'd like the output in png/other bitmap format rasterized at the sub-halftone resolution | 11:01.28 |
| gs -dCOLORSCREEN=false -dDITHERPPI=100 -sDEVICE=pngalpha -sOutputFile=test.png test.pdf -c quit | 11:12.58 |
| this generates a png file but it's rasterized for the screen without halftoning | 11:13.49 |
Robin_Watts_ | use -sDEVICE=pbmraw -o out.pbm | 12:00.29 |
| Then: convert out.pbm out.png | 12:00.41 |
| (convert is part of image magick) | 12:00.47 |
piksi | Robin_Watts_: i get this output with pbmraw http://pastebin.com/hkGC2JeL | 12:05.29 |
| my input file is this: https://pi-xi.net/share/plot_resolution_test.pdf | 12:06.14 |
cryptopsy | earlier i posted about how ps2pdf freezes on converting a ps to pdf, the ps originally from djvu. gsview now shows me the ps displaying correctly so the problem is in ps2pdf (probably) | 20:01.56 |
| anyone interested in following this with me? it could be a bug | 20:02.11 |
| considering i didn't manually compile it, it may also be a distro specific bug, but you wouldn't be interested in that | 20:02.45 |
| app-text/ghostscript-gpl-8.71-r6 (/usr/bin/ps2pdf) | 20:02.52 |
| it goes on forever at 50% CPU usage. i have four cores so this would be 2 cores | 20:03.12 |
| the doc is 670 pages in lenght, scanned papers | 20:04.18 |
alexcher | cryptopsy: please file a bug report at bugs.ghostscript.com . | 20:23.58 |
cryptopsy | am i going to have to attach my document? it is confidential | 20:39.29 |
piksi | Robin_Watts_: my friend compiled gs9 and checked the pbmraw device with a pdf and got somewhat similar error | 21:26.16 |
| with gs -sDEVICE=tiffsep1 -r600 -o output.tiff plot_resolution_test.pdf | 21:51.37 |
| i got color separation and also something that looks faintly like halftoning on cyan and magenta | 21:51.59 |
| but there's no halftone pattern in yellow channel tiff | 21:52.16 |
alexcher | cryptopsy: the document can be marked "private" to restrict the access to Artifex employees and contractors. You can also generate a similar document that can be posted publicly. | 23:30.40 |
cryptopsy | alexcher: how to generate a similar doc? this is interesting to me since maybe i can generate a smaller document but with the same structure topology | 23:37.31 |
alexcher | cryptopsy: you can try to scrample text in your PS file. | 23:46.21 |
| Forward 1 day (to 2011/09/26)>>> | |