| <<<Back 1 day (to 2016/04/05) | 20160406 |
orbisvicis | I found this question (http://stackoverflow.com/questions/21706976/ghostscript-removes-content-outside-the-crop-box) that suggests that ghostscript/pdfwrite crop rasterized content (actuall remove hidden content) | 05:32.43 |
| but I can't seem to force this crop | 05:33.13 |
| are there any flags/commands I should look into ? | 05:33.24 |
kens | orbisvicis : That question, and the answer, refer to objects lying *entirely* outside the clipping region. Object partially within will be included in their entirety. You cannot partailly remove btimaps. | 07:12.35 |
orbisvicis | the objects I need to remove are on the border, so if the page is [0,W) wide, then the object spans [W,W+x) | 07:17.56 |
| not sure if that counts | 07:18.07 |
kens | If any part of the object lies within the clip region then the object will be prese4rved | 07:18.25 |
orbisvicis | kens: and all I have to do is pipe the data through pdfwrite ? | 07:19.08 |
kens | Are you aware of the way pdfwrite works ? (ie have you read the Overview in VectorDevices.htm in the current (9.19) documentation) ? | 07:19.44 |
orbisvicis | no | 07:20.31 |
kens | You don't 'pipe' input to devices in Ghostscript, you select a device and all marking operations are sent to that device for processing | 07:20.53 |
| OK THen I would reccomend that you do | 07:21.08 |
orbisvicis | kens: btw cup's 'print to pdf' partially remove objects straddling the clipping region | 07:23.20 |
| without rasterizing content completely within the clipping region | 07:23.32 |
| do you know how, if it uses ghostscript, or if I could duplicate it without the overhead of cups ? | 07:23.57 |
kens | I don't know anything about CUPS, but modifying objects like that is a dangerous procedure | 07:24.01 |
orbisvicis | hmm maybe they are off-by-one in the border calculation - like i side my object is [w,w+x] | 07:25.17 |
| ok, thanks for the help | 07:25.27 |
| time to crash | 07:25.40 |
tor8 | I've uploaded the mupdf 1.9 release candidate. source and windows 32-bit builds. | 13:10.52 |
Robin_Watts | Do we need 64bit builds? | 14:26.51 |
| +windows | 14:26.59 |
| Forward 1 day (to 2016/04/07)>>> | |