ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* eps to pdf images
@ 2004-05-10  4:51 techw
  2004-05-10  7:58 ` Hans Hagen
  2004-05-10 19:20 ` Tobias Burnus
  0 siblings, 2 replies; 10+ messages in thread
From: techw @ 2004-05-10  4:51 UTC (permalink / raw)


Hello all!

I had not set the path for the Ghost script correctly. Now that I have set
it, the conversion to pdf works like magic! Thanks a lot for the help,
special thanks to Mr.Burnus and Mr.Hagen and Mr.Egger for their replies.
I use Jasc Paint Shop Pro 8 to convert jpg images to eps. But the images
are not very good when converted to pdf. How can I improve the quality of
the images? Suggestions please!
Thanks and regards,
-priya.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: eps to pdf images
  2004-05-10  4:51 eps to pdf images techw
@ 2004-05-10  7:58 ` Hans Hagen
  2004-05-10 19:20 ` Tobias Burnus
  1 sibling, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2004-05-10  7:58 UTC (permalink / raw)


At 06:51 10/05/2004, you wrote:
>Hello all!
>
>I had not set the path for the Ghost script correctly. Now that I have set
>it, the conversion to pdf works like magic! Thanks a lot for the help,
>special thanks to Mr.Burnus and Mr.Hagen and Mr.Egger for their replies.
>I use Jasc Paint Shop Pro 8 to convert jpg images to eps. But the images
>are not very good when converted to pdf. How can I improve the quality of
>the images? Suggestions please!
>Thanks and regards,

texexec --pdf --fig=c yourfile.jpg

Hans

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: eps to pdf images
  2004-05-10  4:51 eps to pdf images techw
  2004-05-10  7:58 ` Hans Hagen
@ 2004-05-10 19:20 ` Tobias Burnus
  2004-05-10 20:18   ` Hans Hagen
  1 sibling, 1 reply; 10+ messages in thread
From: Tobias Burnus @ 2004-05-10 19:20 UTC (permalink / raw)


Hello,

techw@siritech.com wrote:

>I use Jasc Paint Shop Pro 8 to convert jpg images to eps. But the images
>are not very good when converted to pdf. How can I improve the quality of
>the images? 
>
Besides Hans methode (texexec --pdf --fig=c yourfile.jpg) I want to 
remark that PDFTeX is able to include JPEG and PNG graphics directly 
thus you do not need to convert them. Actually, Hans methode does the 
conversion from JPEG to PDF  simply by including the JPEG in TeX. (Old 
versions of PDFTeX also supported TIFF, but there are legions of TIFF 
subformats of which only a fraction was supported. Consequently, TIFF 
had been dropped.)

Regards,

Tobias

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: eps to pdf images
  2004-05-10 19:20 ` Tobias Burnus
@ 2004-05-10 20:18   ` Hans Hagen
  2004-05-11 10:45     ` George N. White III
  0 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2004-05-10 20:18 UTC (permalink / raw)


Tobias wrote

>esides Hans methode (texexec --pdf --fig=c yourfile.jpg) I want to remark 
>that PDFTeX is able to include JPEG and PNG graphics directly thus you do 
>not need to convert them. Actually, Hans methode does the conversion from 
>JPEG to PDF  simply by including the JPEG in TeX. (Old versions of PDFTeX 
>also supported TIFF, but there are legions of TIFF subformats of which 
>only a fraction was supported. Consequently, TIFF had been dropped.)

fyi: inclusion of pdf is faster, so if you process the document often, it 
makes sense to convert png to pdf

Hans

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: eps to pdf images
  2004-05-10 20:18   ` Hans Hagen
@ 2004-05-11 10:45     ` George N. White III
  0 siblings, 0 replies; 10+ messages in thread
From: George N. White III @ 2004-05-11 10:45 UTC (permalink / raw)


On Mon, 10 May 2004, Hans Hagen wrote:

> Tobias wrote
>
> >esides Hans methode (texexec --pdf --fig=c yourfile.jpg) I want to remark
> >that PDFTeX is able to include JPEG and PNG graphics directly thus you do
> >not need to convert them. Actually, Hans methode does the conversion from
> >JPEG to PDF  simply by including the JPEG in TeX. (Old versions of PDFTeX
> >also supported TIFF, but there are legions of TIFF subformats of which
> >only a fraction was supported. Consequently, TIFF had been dropped.)

PNG also has unsupported subformats.

> fyi: inclusion of pdf is faster, so if you process the document often, it
> makes sense to convert png to pdf

And, as a general strategy, converting all images and figures to pdf
(even if the format is supported by pdftex) has several advantages:

1. the inclusion of pdf requires no format conversions, so is "lossless".
If you are happy with the pdf version of your image it will look the
same in the document

2. there are many good tools to manipulate images and generate PDF's, but
there is only one pdftex.  Those other tools get the benefits of a much
larger user base and competition from similar tools, so in general they
are more capable and reliable than pdftex.  In particular, many packages
(OpenOffice.org, Adobe Illustrator and Photoshop) can now export directly
to PDF, thus avoiding many conversion steps.

3. those tools offer more control (resampling, color adjustment) than
you can get using pdftex, and you can use different settings for each
image rather than rely on some global "default" setting.

--
George N. White III  <aa056@chebucto.ns.ca>
  Head of St. Margarets Bay, Nova Scotia, Canada

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: eps to pdf images
  2004-05-07  5:21 techw
@ 2004-05-07  8:24 ` Tobias Burnus
  0 siblings, 0 replies; 10+ messages in thread
From: Tobias Burnus @ 2004-05-07  8:24 UTC (permalink / raw)


Hello,
techw@siritech.com wrote:

>I will try and answer the queries of Mr.Tobias Burnus:
>  
>
You missed to answer one question. (Well, I could have posed it better.)

>The DataVisualization.pdf does exist, but is blank. Even when I open it in
>acrobat reader or gv it is totally blank
>  
>
:-(

>If it doesn't exist, does ghostscript show DataVisualization.eps
>flawlessly?
>  
>
Does it or doesn't it? I would assume that it doesn't since ghostscript 
seems to fail to convert this file to PDF.
Can you look at the messages ghostscript produces while opening this 
file. (I think in GSView one can find this information in the 
File->Messages menu, but I might err. It is too long ago that I used 
GSView the last time.)

Tobias

^ permalink raw reply	[flat|nested] 10+ messages in thread

* eps to pdf images
@ 2004-05-07  5:21 techw
  2004-05-07  8:24 ` Tobias Burnus
  0 siblings, 1 reply; 10+ messages in thread
From: techw @ 2004-05-07  5:21 UTC (permalink / raw)



Hello all!

Thank you all so much for your guidelines in the conversion of eps images
to pdf!
I will try and answer the queries of Mr.Tobias Burnus:


-Please check, whether DataVisualization.pdf  exists. Can you open it in
acroread/gv?
The DataVisualization.pdf does exist, but is blank. Even when I open it in
acrobat reader or gv it is totally blank
If it doesn't exist, does ghostscript show DataVisualization.eps
flawlessly?

-What is shown in the TeX-produced PDF file? An empty frame, ...?
When I use
\placefigure[here,force]
{Project Hierarchy Window}
{\externalfigure[DataVisualization][type=pdf,height=11cm,width=13cm,preset=yes]}

there is a blank space with no frame at all,only the caption is there at
the bottom.
The original eps image is about 893KB and the PDF shows only 1KB size, so
obviously the conversion is not happening, I guess.Any other pointers?
Thanks and regards,
-priya

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: eps to pdf images
  2004-05-06  9:15 techw
  2004-05-06 11:49 ` Willi Egger
@ 2004-05-06 11:58 ` Tobias Burnus
  1 sibling, 0 replies; 10+ messages in thread
From: Tobias Burnus @ 2004-05-06 11:58 UTC (permalink / raw)


Hello,

techw@siritech.com wrote:

>so I tried using texutil --epstopdf, but when the ghostscript window comes up it is blank and nothing
>happens after that. What do I need to do?
>I am attaching the commands that I gave to generate the pdf files .
>  
>
 > E:\EPS>texutil --figures --epstopdf *.eps
 >
 >  TeXUtil 7.3 - ConTeXt / PRAGMA ADE 1992-2000
 >                action : generating figure directory file
 >               option : processing EPS-file
 >               option : convert EPS to PDF
 >              eps file : DataVisualization.eps

This should have created a file DataVisualization.pdf in your current 
directory.

What do you mean by "the ghostscript window comes up it is blank"?
Please check, whether DataVisualization.pdf  exists. Can you open it in 
acroread/gv?
If it doesn't exist, does ghostscript show DataVisualization.eps flawlessly?

What is shown in the TeX-produced PDF file? An empty frame, ...?
What is the exact line in the TeX file which includs the PDF file?

Tobias

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: eps to pdf images
  2004-05-06  9:15 techw
@ 2004-05-06 11:49 ` Willi Egger
  2004-05-06 11:58 ` Tobias Burnus
  1 sibling, 0 replies; 10+ messages in thread
From: Willi Egger @ 2004-05-06 11:49 UTC (permalink / raw)


Hi,

Two things:
- First I see that you are using a fairly old vrsion of texutil (7.3). 
Current version is 8.2

- Though I checked the functioning of the tool on two files only, your 
command texutil --figures --epstopdf resulted in the two pdf-files expected.

So I can only advice you  to update your CONTEXT.

Kind regards Willi

techw@siritech.com wrote:
> Hi all!
> 
> Thanks a lot for the prompt reply, specially to Mr.Hans Hagen and Mr.Tobias
> Burnus. I don't know anything about Ruby, so I tried using texutil -
> -epstopdf, but when the ghostscript window comes up it is blank and nothing
> happens after that. What do I need to do?
> I am attaching the commands that I gave to generate the pdf files .(See
> attached file: epstopdf.txt)
> Thanks in advance!
> Regards,
> -priya.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* eps to pdf images
@ 2004-05-06  9:15 techw
  2004-05-06 11:49 ` Willi Egger
  2004-05-06 11:58 ` Tobias Burnus
  0 siblings, 2 replies; 10+ messages in thread
From: techw @ 2004-05-06  9:15 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 408 bytes --]

Hi all!

Thanks a lot for the prompt reply, specially to Mr.Hans Hagen and Mr.Tobias
Burnus. I don't know anything about Ruby, so I tried using texutil -
-epstopdf, but when the ghostscript window comes up it is blank and nothing
happens after that. What do I need to do?
I am attaching the commands that I gave to generate the pdf files .(See
attached file: epstopdf.txt)
Thanks in advance!
Regards,
-priya.

[-- Attachment #2: epstopdf.txt --]
[-- Type: application/octet-stream, Size: 656 bytes --]


E:\EPS>texutil --figures --epstopdf

 TeXUtil 7.3 - ConTeXt / PRAGMA ADE 1992-2000

                action : generating figure directory file
     processed figures : 0

E:\EPS>
E:\EPS>texutil --figures --epspage

 TeXUtil 7.3 - ConTeXt / PRAGMA ADE 1992-2000

                action : generating figure directory file
     processed figures : 0

E:\EPS>texutil --figures --epstopdf *.eps

 TeXUtil 7.3 - ConTeXt / PRAGMA ADE 1992-2000

                action : generating figure directory file
                option : processing EPS-file
                option : convert EPS to PDF
              eps file : DataVisualization.eps

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2004-05-11 10:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-10  4:51 eps to pdf images techw
2004-05-10  7:58 ` Hans Hagen
2004-05-10 19:20 ` Tobias Burnus
2004-05-10 20:18   ` Hans Hagen
2004-05-11 10:45     ` George N. White III
  -- strict thread matches above, loose matches on Subject: below --
2004-05-07  5:21 techw
2004-05-07  8:24 ` Tobias Burnus
2004-05-06  9:15 techw
2004-05-06 11:49 ` Willi Egger
2004-05-06 11:58 ` Tobias Burnus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).