Re: LaTeX suddently blows up .eps images???
- From: Ben Morrow <ben@xxxxxxxxxxxx>
- Date: Tue, 27 Nov 2007 00:35:17 +0000
Quoth "I.N. Galidakis" <morpheus@xxxxxxxxxxxx>:
Michael Shell wrote:
I also made a pdf of the graphic. In the dvi, ps made via dvips,
and pdf from Ghostscript as well as pdflatex, the figure is the
correct width (386 PostScript points) as specified in its eps
bounding box:
%%BoundingBox: 0 0 386 386
My complete test set can be obtained as:
http://www.michaelshell.org/files/test2.zip
Is this what you get on your system?
Yes, exactly. But if I open your .eps file with Photoshop, it reports:
(Note that Photoshop is completely the wrong tool for manipulating
vector files. Photoshop is a bitmap editor: importing an eps will
rasterize it, involving a conversion from physical units to pixels. I
suspect this is where your problem is: have you tried doing whatever you
need to do in Illustrator instead?)
Image Size: 386x386 pixels = 13.62cm x 13.62cm.
So Photoshop is using 1px == 1bp, or a resolution of 72dpi. (bp stands
for 'big points', or PostScript points, which are 72 to the inch; when
dealing with TeX its important to distinguish between these and TeX
points, which are 72.27 to the inch. Photoshop uses PostScript points.)
Now, if I open Acrobat at 100% and copy the whole graphic from your
z2z.pdf file and import it to PS,
You will have to explain this step in more detail, as I can't follow
what you did. PS here is Photoshop, not PostScript? You copied the
picture to the clipboard in Acrobat and then pasted it into Photoshop?
Why did you think that was a useful thing to do? What format was the
data transferred over the clipboard in: some vector format, or as a
bitmap? What resolution were the vectors eventually rasterized at?
What happens if you open the pdf in Photoshop directly (I presume
Photoshop can read pdfs?), at 72dpi, and then measure the size of the
picture, in both pixels and physical units?
it reports a size of 515x515 points = 18.7cm
(ITYM 18.17cm?)
x 18.7cm, so I have no idea what's going on, but *something* is wrong.
I strongly suspect it isn't, you're just trying to measure things after
Photoshop has changed their sizes. If you place a 386bp-long rule next
to a 386bp-wide graphic and they come out the same width, then there
isn't a problem with LaTeX, and assuming you print the document
correctly the picture will come out 386bp wide.
Either PS or the generated .pdf is wrong. The .pdf graphic is larger
than the .eps graphic opened directly from PS.
If you mean 'the graphic in the pdf appears larger on the screen when
viewed in Acrobat at 100% than it did when viewed in Photoshop at 100%'
that is entirely irrelevant. If Acrobat is rasterizing the pdf at
100dpi, to match your screen, then it will appear somewhat larger than
it did when Photoshop rasterized the eps at 72dpi.
I don't know why you need a before/after measurement to just judge
that the sizes are different. It's fairly obvious to me.
Well, in my case, I have neither Photoshop nor Acrobat here, so 'just
judging' how they would appear is quite tricky...
Ben
.
- Follow-Ups:
- Re: LaTeX suddently blows up .eps images???
- From: StevieD83
- Re: LaTeX suddently blows up .eps images???
- References:
- LaTeX suddently blows up .eps images???
- From: I.N. Galidakis
- Re: LaTeX suddently blows up .eps images???
- From: I.N. Galidakis
- Re: LaTeX suddently blows up .eps images???
- From: Michael Shell
- Re: LaTeX suddently blows up .eps images???
- From: I.N. Galidakis
- LaTeX suddently blows up .eps images???
- Prev by Date: Re: LaTeX suddently blows up .eps images???
- Next by Date: Re: pdfdest or hyperdef in section header
- Previous by thread: Re: LaTeX suddently blows up .eps images???
- Next by thread: Re: LaTeX suddently blows up .eps images???
- Index(es):
Relevant Pages
|