🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.tex
Article #245

Re: Cropping EPS figures

#245
From: Stephen Harker
Date: Thu, 04 Dec 1997 00:00
32 lines
1882 bytes
"Geoff" <megdd@alinga.newcastle.edu.au> writes:

> 
> Hi again, and thanks to all who helped last time.
> 
> Is there an easy way to crop an EPS picture?  I've used the method below but
> I'm having a few problems:
>
> [ example removed]
> 
> Now if I use a \psdraft ... \psfull around the figure, the box it draws is
> as you'd expect.   When it's fully drawn, everything else that -should- be
> on the same page above the figure (including the header) is 'deleted', and
> there's just empty page.  I've tried changing the bounding box entry in the
> eps file and I've checked that it is where I want it using ghostscript, so
> the actual lowerleft and upper-right coordinates seem to be okay.  These
> 'points' are postscript points as opposed to latex points, and were
> determined by using Ghostscript's crosshairs.

I would suggest you also use the `clip' option to \includegraphics.
This removes unwanted white space around the edge of the picture.  A
lot of graphics packages include such white space around the picture
and this has the effect you note of leaving a partially or fully empty
page.  The `clip' option removes any of the picture outside the
bounding box you have supplied. 

-- 
Stephen Harker                                        s-harker@adfa.edu.au
School of Physics               Baloney Baffles brains: Eric Frank Russell
University College
UNSW, ADFA
Technical Details
Message-ID: <xll1zzunk46.fsf@phadfa.ph.adfa.oz.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <663kiq$me2$1@seagoon.newcastle.edu.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10b0c4,63cf5c2c342fe576
X-Google-Attributes: gid10b0c4,public
From: Stephen Harker <sjh@phadfa.ph.adfa.oz.au>
Subject: Re: Cropping EPS figures
Date: 1997/12/04
Message-ID: <xll1zzunk46.fsf@phadfa.ph.adfa.oz.au>
X-Deja-AN: 294993813
Sender: sjh@phadfa
References: <663kiq$me2$1@seagoon.newcastle.edu.au>
Organization: School of Physics, ADFA, UNSW, Canberra, Australia
Newsgroups: aus.computers.tex