Run the following command: ghostscript -sDEVICE=bbox -dBATCH -dNOPAUSE anypdf.pdf will generate: GPL Ghostscript 8.64 (2009-02-03) Copyright (C) 2009 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Processing pages 1 through 1. Page 1 %%BoundingBox: 0 0 650 213 %%BoundingBox: 0 0 650 213 %%HiResBoundingBox: 0.000000 0.000000 649.007980 212.003994 %%HiResBoundingBox: 0.000000 0.000000 649.007980 212.003994 With duplicated %%BoundingBox and %%HiResBoundingBox. This error breaks the very popular pdfcrop script. Output should have been: GPL Ghostscript 8.64 (2009-02-03) Copyright (C) 2009 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Processing pages 1 through 1. Page 1 %%BoundingBox: 0 0 650 213 %%HiResBoundingBox: 0.000000 0.000000 649.007980 212.003994
This bug breaks pdfcrop.
I cannot reproduce this. Please provide more ifo about your system and your Ghostscript.
Ghostscript 8.64 is obsolete and is no longer supported. Please re-test with 8.71 or the 9.00 PRE-RELEASE (svn HEAD rev). If it can be duplicated, please re-open this bug