Re: Image quality in exported documents

2003-08-25 Thread Jean-Pierre.Chretien

Date: Tue, 19 Aug 2003 11:29:30 +1000
From: Alistair Atkinson [EMAIL PROTECTED]
Subject: Image quality in exported documents
To: [EMAIL PROTECTED]

Hello, 

I've been using Lyx for about 12 months, and think it's an absolutely 
brilliant piece of software. I am currently using version 1.3.1. 

However, I have been having major difficulties with the quality of images in a 
document when exporting to DVI, PS or PDF. Images appear kind of blocky, 
almost like they are at a low resolution. 

I have tried with various image formats, including JPEG, GIF, PNG and EPS. I 
have included the graphicx package, as I understood that this may be 
beneficial when using JPEGs, but it didn't seem to help. 

I have tried using different programs, such as dvips, pdflatex, and tex2pdf, 

I've read the thread on this mail, and I confirm that 
bitmap eps gives poor results on diagrams and screen saves,
unless the original size is retained.

I'm surprised that tex2pdf doens't give better results, as
it avoids backconversion of bitmappped eps produced from JPG, PNG and
PDF bitmaps, if the native image lies in the same dir as the eps converted one.
Was this the case ?
Example:
main.lyx  document
foo.png   original bitmap
foo.eps   bitmapped eps (obtained e.g by convert foo.png foo.eps)
all in the same dir: tex2pdf should provide a pdf with the image quality
of the original png, and dvips/ps2pdf a pdf with a degraded quality
depending mostly on resizing.

-- 
Jean-Pierre




Re: Image quality in exported documents

2003-08-25 Thread William Adams
Jean-Pierre said:
I've read the thread on this mail, and I confirm that 
bitmap eps gives poor results on diagrams and screen saves,
unless the original size is retained.

A way to improve the appearance of bitmap .eps files is to load them
into PhotoShop 6 or later and save them out with ``Image Interpolation''
turned on.

I've a sample of this on my personal Web pages, e-mail me if you want
the link.

William


Re: Image quality in exported documents

2003-08-25 Thread Jean-Pierre.Chretien

Date: Mon, 25 Aug 2003 09:29:31 -0400
From: William Adams [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Image quality in exported documents

Jean-Pierre said:
I've read the thread on this mail, and I confirm that 
bitmap eps gives poor results on diagrams and screen saves,
unless the original size is retained.

A way to improve the appearance of bitmap .eps files is to load them
into PhotoShop 6 or later and save them out with ``Image Interpolation''
turned on.

I've a sample of this on my personal Web pages, e-mail me if you want
the link.

William

That's a workaround, but what happens if you resize the eps
in the LyX doc ?
If you need to interpolate again at further size changes, pdflatex
is a better solution IMHO (and tex2pdf works out hyperref args for you).

-- 
Jean-Pierre



Re: Image quality in exported documents

2003-08-25 Thread William Adams
Jean-Pierre said:
(re: PhotoShop 6+ image interpolation)
That's a workaround, but what happens if you resize the eps
in the LyX doc ?
If you need to interpolate again at further size changes, pdflatex
is a better solution IMHO (and tex2pdf works out hyperref args for  
you).
If you need to ask the first question, I don't see how you can judge  
that something else is a better solution.

Here's that .pdf which I mentioned:
http://members.aol.com/willadams/portfolio/interfaceconcepts/ 
screengrabcomp.pdf

View in a semi-recent version (4 or 5) of Adobe Acrobat and zoom in /  
out to compare / contrast. (Irritatingly Adobe Reader 6 seems to apply  
the same scaling / interpolation technique to all the images w/ a  
default install / settings)

William

--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com


Re: Image quality in exported documents

2003-08-25 Thread Jean-Pierre.Chretien

Date: Tue, 19 Aug 2003 11:29:30 +1000
From: Alistair Atkinson [EMAIL PROTECTED]
Subject: Image quality in exported documents
To: [EMAIL PROTECTED]

Hello, 

I've been using Lyx for about 12 months, and think it's an absolutely 
brilliant piece of software. I am currently using version 1.3.1. 

However, I have been having major difficulties with the quality of images in a 
document when exporting to DVI, PS or PDF. Images appear kind of blocky, 
almost like they are at a low resolution. 

I have tried with various image formats, including JPEG, GIF, PNG and EPS. I 
have included the graphicx package, as I understood that this may be 
beneficial when using JPEGs, but it didn't seem to help. 

I have tried using different programs, such as dvips, pdflatex, and tex2pdf, 

I've read the thread on this mail, and I confirm that 
bitmap eps gives poor results on diagrams and screen saves,
unless the original size is retained.

I'm surprised that tex2pdf doens't give better results, as
it avoids backconversion of bitmappped eps produced from JPG, PNG and
PDF bitmaps, if the native image lies in the same dir as the eps converted one.
Was this the case ?
Example:
main.lyx  document
foo.png   original bitmap
foo.eps   bitmapped eps (obtained e.g by convert foo.png foo.eps)
all in the same dir: tex2pdf should provide a pdf with the image quality
of the original png, and dvips/ps2pdf a pdf with a degraded quality
depending mostly on resizing.

-- 
Jean-Pierre




Re: Image quality in exported documents

2003-08-25 Thread William Adams
Jean-Pierre said:
I've read the thread on this mail, and I confirm that 
bitmap eps gives poor results on diagrams and screen saves,
unless the original size is retained.

A way to improve the appearance of bitmap .eps files is to load them
into PhotoShop 6 or later and save them out with ``Image Interpolation''
turned on.

I've a sample of this on my personal Web pages, e-mail me if you want
the link.

William


Re: Image quality in exported documents

2003-08-25 Thread Jean-Pierre.Chretien

Date: Mon, 25 Aug 2003 09:29:31 -0400
From: William Adams [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Image quality in exported documents

Jean-Pierre said:
I've read the thread on this mail, and I confirm that 
bitmap eps gives poor results on diagrams and screen saves,
unless the original size is retained.

A way to improve the appearance of bitmap .eps files is to load them
into PhotoShop 6 or later and save them out with ``Image Interpolation''
turned on.

I've a sample of this on my personal Web pages, e-mail me if you want
the link.

William

That's a workaround, but what happens if you resize the eps
in the LyX doc ?
If you need to interpolate again at further size changes, pdflatex
is a better solution IMHO (and tex2pdf works out hyperref args for you).

-- 
Jean-Pierre



Re: Image quality in exported documents

2003-08-25 Thread William Adams
Jean-Pierre said:
(re: PhotoShop 6+ image interpolation)
That's a workaround, but what happens if you resize the eps
in the LyX doc ?
If you need to interpolate again at further size changes, pdflatex
is a better solution IMHO (and tex2pdf works out hyperref args for  
you).
If you need to ask the first question, I don't see how you can judge  
that something else is a better solution.

Here's that .pdf which I mentioned:
http://members.aol.com/willadams/portfolio/interfaceconcepts/ 
screengrabcomp.pdf

View in a semi-recent version (4 or 5) of Adobe Acrobat and zoom in /  
out to compare / contrast. (Irritatingly Adobe Reader 6 seems to apply  
the same scaling / interpolation technique to all the images w/ a  
default install / settings)

William

--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com


Re: Image quality in exported documents

2003-08-25 Thread Jean-Pierre.Chretien

>>Date: Tue, 19 Aug 2003 11:29:30 +1000
>>From: Alistair Atkinson <[EMAIL PROTECTED]>
>>Subject: Image quality in exported documents
>>To: [EMAIL PROTECTED]
>>
>>Hello, 
>>
>>I've been using Lyx for about 12 months, and think it's an absolutely 
>>brilliant piece of software. I am currently using version 1.3.1. 
>>
>>However, I have been having major difficulties with the quality of images in a 
>>document when exporting to DVI, PS or PDF. Images appear kind of "blocky", 
>>almost like they are at a low resolution. 
>>
>>I have tried with various image formats, including JPEG, GIF, PNG and EPS. I 
>>have included the graphicx package, as I understood that this may be 
>>beneficial when using JPEGs, but it didn't seem to help. 
>>
>>I have tried using different programs, such as dvips, pdflatex, and tex2pdf, 

I've read the thread on this mail, and I confirm that 
bitmap eps gives poor results on diagrams and screen saves,
unless the original size is retained.

I'm surprised that tex2pdf doens't give better results, as
it avoids backconversion of bitmappped eps produced from JPG, PNG and
PDF bitmaps, if the native image lies in the same dir as the eps converted one.
Was this the case ?
Example:
main.lyx  document
foo.png   original bitmap
foo.eps   bitmapped eps (obtained e.g by convert foo.png foo.eps)
all in the same dir: tex2pdf should provide a pdf with the image quality
of the original png, and dvips/ps2pdf a pdf with a degraded quality
depending mostly on resizing.

-- 
Jean-Pierre




Re: Image quality in exported documents

2003-08-25 Thread William Adams
Jean-Pierre said:
>I've read the thread on this mail, and I confirm that 
>bitmap eps gives poor results on diagrams and screen saves,
>unless the original size is retained.

A way to improve the appearance of bitmap .eps files is to load them
into PhotoShop 6 or later and save them out with ``Image Interpolation''
turned on.

I've a sample of this on my personal Web pages, e-mail me if you want
the link.

William


Re: Image quality in exported documents

2003-08-25 Thread Jean-Pierre.Chretien

>>Date: Mon, 25 Aug 2003 09:29:31 -0400
>>From: William Adams <[EMAIL PROTECTED]>
>>To: [EMAIL PROTECTED]
>>Subject: Re: Image quality in exported documents
>>
>>Jean-Pierre said:
>>>I've read the thread on this mail, and I confirm that 
>>>bitmap eps gives poor results on diagrams and screen saves,
>>>unless the original size is retained.
>>
>>A way to improve the appearance of bitmap .eps files is to load them
>>into PhotoShop 6 or later and save them out with ``Image Interpolation''
>>turned on.
>>
>>I've a sample of this on my personal Web pages, e-mail me if you want
>>the link.
>>
>>William

That's a workaround, but what happens if you resize the eps
in the LyX doc ?
If you need to interpolate again at further size changes, pdflatex
is a better solution IMHO (and tex2pdf works out hyperref args for you).

-- 
Jean-Pierre



Re: Image quality in exported documents

2003-08-25 Thread William Adams
Jean-Pierre said:
(re: PhotoShop 6+ image interpolation)
That's a workaround, but what happens if you resize the eps
in the LyX doc ?
If you need to interpolate again at further size changes, pdflatex
is a better solution IMHO (and tex2pdf works out hyperref args for  
you).
If you need to ask the first question, I don't see how you can judge  
that something else is a better solution.

Here's that .pdf which I mentioned:
http://members.aol.com/willadams/portfolio/interfaceconcepts/ 
screengrabcomp.pdf

View in a semi-recent version (4 or 5) of Adobe Acrobat and zoom in /  
out to compare / contrast. (Irritatingly Adobe Reader 6 seems to apply  
the same scaling / interpolation technique to all the images w/ a  
default install / settings)

William

--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com


Re: Image quality in exported documents

2003-08-20 Thread Nirmal Govind

 Perhaps. I've taken the PNG and used GIMP to convert it to an EPS. The EPS

What software generated the PNG image? Did it have an option for any other
format like JPEG or PS? Doesn't look like GIMP does a good job with PNG
files.. with the version I have, it didn't even give me the option to
export PNG to PS...

nirmal



Re: Image quality in exported documents

2003-08-20 Thread Helge Hafting
Alistair Atkinson wrote:
Hello, 

I've been using Lyx for about 12 months, and think it's an absolutely 
brilliant piece of software. I am currently using version 1.3.1. 

However, I have been having major difficulties with the quality of images in a 
document when exporting to DVI, PS or PDF. Images appear kind of blocky, 
almost like they are at a low resolution. 

I have tried with various image formats, including JPEG, GIF, PNG and EPS. I 
have included the graphicx package, as I understood that this may be 
beneficial when using JPEGs, but it didn't seem to help. 

I have tried using different programs, such as dvips, pdflatex, and tex2pdf, 
but they all produce poor output. I am guessing that these programs are not 
the problem, because the DVI itself is poor quality, so I am thinking it 
might be a Latex issue? I am not very knowledgable when it comes to Latex so 
I can't be sure. 

Any help on this issues is much appreciated. I'm starting a thesis in a few 
weeks, and would hate to have to use a normal word processor, but if I can't 
get my images and charts etc to look acceptable I may have no choice. 
I don't know what kind of images these are.  But if you can - use vector
formats instead of bitmap formats like jpeg/gif.  eps/ps support
both vector and bitmap graphichs, so it can be good or bad
depending on what's really in the file.  Converting a jpeg to
eps does obviously not make it vector graphichs.
There are some things, such as photos, that cannot be made with
vector graphichs.  If so, use the highest resolution you can for
anything you want to print.
I usually draw my figures in xfig, and use the xfig external inset
in lyx.  That gives nice figures in:
 * direct printing from lyx (via dvips)
 * .pdf for reading on screen
 * .pdf printed
If your images are software generated (as opposed to
drawing them in a xfig-like program) check if your
software can generate postscript directly without
going via some bitmap format.
Helge Hafting



Re: Image quality in exported documents

2003-08-20 Thread Katrin Pietzsch
Hi Alistair,
though you might meanwhile have solved the problem, here's another 
suggestion how to improve the image quality. First of all I found that 
your images delivered in the sample file have a resolution of 
70-something dpi, which as far as I know is a little low for printing. 
When you export your charts to png or eps you should be able to set the 
resolution somewhere. Try to use at least 300 dpi. With this the 
eps-files will become huge, but the exported pdf will still have a 
decent size. To convert the png to eps I used convert file.png 
file.eps in the shell / terminal. It's pretty quick and leads to good 
results.

Regards,
Katrin


Re: Image quality in exported documents

2003-08-20 Thread Alistair Atkinson
Thanks very much to everyone for the help and suggestions. It turns out that 
Katrin was correct, and the problem was with the image resolution rather than 
the methods used to export the document. 

Thanks again, 
Alistair

On Wed, 20 Aug 2003 07:47 pm, Katrin Pietzsch wrote:
 Hi Alistair,
 though you might meanwhile have solved the problem, here's another
 suggestion how to improve the image quality. First of all I found that
 your images delivered in the sample file have a resolution of
 70-something dpi, which as far as I know is a little low for printing.
 When you export your charts to png or eps you should be able to set the
 resolution somewhere. Try to use at least 300 dpi. With this the
 eps-files will become huge, but the exported pdf will still have a
 decent size. To convert the png to eps I used convert file.png
 file.eps in the shell / terminal. It's pretty quick and leads to good
 results.

 Regards,
 Katrin



Re: Image quality in exported documents

2003-08-20 Thread Rod Pinna

If you use convert, try 
convert file.png eps2:file.eps

This will produce a level 2 eps file, which allows for a compressed
bitmapped to be included, rather than the default type 1 eps, which stores
an uncompressed bitmap.

I don't know if it will make much difference with a png file, but it does
with jpgs. The quality should be the same.

(man png says pngs are compressed, so it might well make a difference)

Rod

On Wed, 20 Aug 2003, Alistair Atkinson wrote:

 Thanks very much to everyone for the help and suggestions. It turns out that 
 Katrin was correct, and the problem was with the image resolution rather than 
 the methods used to export the document. 
 
 Thanks again, 
 Alistair
 
 On Wed, 20 Aug 2003 07:47 pm, Katrin Pietzsch wrote:
  Hi Alistair,
  though you might meanwhile have solved the problem, here's another
  suggestion how to improve the image quality. First of all I found that
  your images delivered in the sample file have a resolution of
  70-something dpi, which as far as I know is a little low for printing.
  When you export your charts to png or eps you should be able to set the
  resolution somewhere. Try to use at least 300 dpi. With this the
  eps-files will become huge, but the exported pdf will still have a
  decent size. To convert the png to eps I used convert file.png
  file.eps in the shell / terminal. It's pretty quick and leads to good
  results.
 
  Regards,
  Katrin
 
 

_
rod   | Beneath the waves, the waves / That's where I will be /
  | I'm going to see the cow beneath the sea.
  | They Might Be Giants, Lincoln




Re: Image quality in exported documents

2003-08-20 Thread Nirmal Govind

 Perhaps. I've taken the PNG and used GIMP to convert it to an EPS. The EPS

What software generated the PNG image? Did it have an option for any other
format like JPEG or PS? Doesn't look like GIMP does a good job with PNG
files.. with the version I have, it didn't even give me the option to
export PNG to PS...

nirmal



Re: Image quality in exported documents

2003-08-20 Thread Helge Hafting
Alistair Atkinson wrote:
Hello, 

I've been using Lyx for about 12 months, and think it's an absolutely 
brilliant piece of software. I am currently using version 1.3.1. 

However, I have been having major difficulties with the quality of images in a 
document when exporting to DVI, PS or PDF. Images appear kind of blocky, 
almost like they are at a low resolution. 

I have tried with various image formats, including JPEG, GIF, PNG and EPS. I 
have included the graphicx package, as I understood that this may be 
beneficial when using JPEGs, but it didn't seem to help. 

I have tried using different programs, such as dvips, pdflatex, and tex2pdf, 
but they all produce poor output. I am guessing that these programs are not 
the problem, because the DVI itself is poor quality, so I am thinking it 
might be a Latex issue? I am not very knowledgable when it comes to Latex so 
I can't be sure. 

Any help on this issues is much appreciated. I'm starting a thesis in a few 
weeks, and would hate to have to use a normal word processor, but if I can't 
get my images and charts etc to look acceptable I may have no choice. 
I don't know what kind of images these are.  But if you can - use vector
formats instead of bitmap formats like jpeg/gif.  eps/ps support
both vector and bitmap graphichs, so it can be good or bad
depending on what's really in the file.  Converting a jpeg to
eps does obviously not make it vector graphichs.
There are some things, such as photos, that cannot be made with
vector graphichs.  If so, use the highest resolution you can for
anything you want to print.
I usually draw my figures in xfig, and use the xfig external inset
in lyx.  That gives nice figures in:
 * direct printing from lyx (via dvips)
 * .pdf for reading on screen
 * .pdf printed
If your images are software generated (as opposed to
drawing them in a xfig-like program) check if your
software can generate postscript directly without
going via some bitmap format.
Helge Hafting



Re: Image quality in exported documents

2003-08-20 Thread Katrin Pietzsch
Hi Alistair,
though you might meanwhile have solved the problem, here's another 
suggestion how to improve the image quality. First of all I found that 
your images delivered in the sample file have a resolution of 
70-something dpi, which as far as I know is a little low for printing. 
When you export your charts to png or eps you should be able to set the 
resolution somewhere. Try to use at least 300 dpi. With this the 
eps-files will become huge, but the exported pdf will still have a 
decent size. To convert the png to eps I used convert file.png 
file.eps in the shell / terminal. It's pretty quick and leads to good 
results.

Regards,
Katrin


Re: Image quality in exported documents

2003-08-20 Thread Alistair Atkinson
Thanks very much to everyone for the help and suggestions. It turns out that 
Katrin was correct, and the problem was with the image resolution rather than 
the methods used to export the document. 

Thanks again, 
Alistair

On Wed, 20 Aug 2003 07:47 pm, Katrin Pietzsch wrote:
 Hi Alistair,
 though you might meanwhile have solved the problem, here's another
 suggestion how to improve the image quality. First of all I found that
 your images delivered in the sample file have a resolution of
 70-something dpi, which as far as I know is a little low for printing.
 When you export your charts to png or eps you should be able to set the
 resolution somewhere. Try to use at least 300 dpi. With this the
 eps-files will become huge, but the exported pdf will still have a
 decent size. To convert the png to eps I used convert file.png
 file.eps in the shell / terminal. It's pretty quick and leads to good
 results.

 Regards,
 Katrin



Re: Image quality in exported documents

2003-08-20 Thread Rod Pinna

If you use convert, try 
convert file.png eps2:file.eps

This will produce a level 2 eps file, which allows for a compressed
bitmapped to be included, rather than the default type 1 eps, which stores
an uncompressed bitmap.

I don't know if it will make much difference with a png file, but it does
with jpgs. The quality should be the same.

(man png says pngs are compressed, so it might well make a difference)

Rod

On Wed, 20 Aug 2003, Alistair Atkinson wrote:

 Thanks very much to everyone for the help and suggestions. It turns out that 
 Katrin was correct, and the problem was with the image resolution rather than 
 the methods used to export the document. 
 
 Thanks again, 
 Alistair
 
 On Wed, 20 Aug 2003 07:47 pm, Katrin Pietzsch wrote:
  Hi Alistair,
  though you might meanwhile have solved the problem, here's another
  suggestion how to improve the image quality. First of all I found that
  your images delivered in the sample file have a resolution of
  70-something dpi, which as far as I know is a little low for printing.
  When you export your charts to png or eps you should be able to set the
  resolution somewhere. Try to use at least 300 dpi. With this the
  eps-files will become huge, but the exported pdf will still have a
  decent size. To convert the png to eps I used convert file.png
  file.eps in the shell / terminal. It's pretty quick and leads to good
  results.
 
  Regards,
  Katrin
 
 

_
rod   | Beneath the waves, the waves / That's where I will be /
  | I'm going to see the cow beneath the sea.
  | They Might Be Giants, Lincoln




Re: Image quality in exported documents

2003-08-20 Thread Nirmal Govind

> Perhaps. I've taken the PNG and used GIMP to convert it to an EPS. The EPS

What software generated the PNG image? Did it have an option for any other
format like JPEG or PS? Doesn't look like GIMP does a good job with PNG
files.. with the version I have, it didn't even give me the option to
export PNG to PS...

nirmal



Re: Image quality in exported documents

2003-08-20 Thread Helge Hafting
Alistair Atkinson wrote:
Hello, 

I've been using Lyx for about 12 months, and think it's an absolutely 
brilliant piece of software. I am currently using version 1.3.1. 

However, I have been having major difficulties with the quality of images in a 
document when exporting to DVI, PS or PDF. Images appear kind of "blocky", 
almost like they are at a low resolution. 

I have tried with various image formats, including JPEG, GIF, PNG and EPS. I 
have included the graphicx package, as I understood that this may be 
beneficial when using JPEGs, but it didn't seem to help. 

I have tried using different programs, such as dvips, pdflatex, and tex2pdf, 
but they all produce poor output. I am guessing that these programs are not 
the problem, because the DVI itself is poor quality, so I am thinking it 
might be a Latex issue? I am not very knowledgable when it comes to Latex so 
I can't be sure. 

Any help on this issues is much appreciated. I'm starting a thesis in a few 
weeks, and would hate to have to use a normal word processor, but if I can't 
get my images and charts etc to look acceptable I may have no choice. 
I don't know what kind of images these are.  But if you can - use vector
formats instead of bitmap formats like jpeg/gif.  eps/ps support
both vector and bitmap graphichs, so it can be good or bad
depending on what's really in the file.  Converting a jpeg to
eps does obviously not make it vector graphichs.
There are some things, such as photos, that cannot be made with
vector graphichs.  If so, use the highest resolution you can for
anything you want to print.
I usually draw my figures in xfig, and use the xfig external inset
in lyx.  That gives nice figures in:
 * direct printing from lyx (via dvips)
 * .pdf for reading on screen
 * .pdf printed
If your images are software generated (as opposed to
drawing them in a xfig-like program) check if your
software can generate postscript directly without
going via some bitmap format.
Helge Hafting



Re: Image quality in exported documents

2003-08-20 Thread Katrin Pietzsch
Hi Alistair,
though you might meanwhile have solved the problem, here's another 
suggestion how to improve the image quality. First of all I found that 
your images delivered in the sample file have a resolution of 
70-something dpi, which as far as I know is a little low for printing. 
When you export your charts to png or eps you should be able to set the 
resolution somewhere. Try to use at least 300 dpi. With this the 
eps-files will become huge, but the exported pdf will still have a 
decent size. To convert the png to eps I used "convert file.png 
file.eps" in the shell / terminal. It's pretty quick and leads to good 
results.

Regards,
Katrin


Re: Image quality in exported documents

2003-08-20 Thread Alistair Atkinson
Thanks very much to everyone for the help and suggestions. It turns out that 
Katrin was correct, and the problem was with the image resolution rather than 
the methods used to export the document. 

Thanks again, 
Alistair

On Wed, 20 Aug 2003 07:47 pm, Katrin Pietzsch wrote:
> Hi Alistair,
> though you might meanwhile have solved the problem, here's another
> suggestion how to improve the image quality. First of all I found that
> your images delivered in the sample file have a resolution of
> 70-something dpi, which as far as I know is a little low for printing.
> When you export your charts to png or eps you should be able to set the
> resolution somewhere. Try to use at least 300 dpi. With this the
> eps-files will become huge, but the exported pdf will still have a
> decent size. To convert the png to eps I used "convert file.png
> file.eps" in the shell / terminal. It's pretty quick and leads to good
> results.
>
> Regards,
> Katrin



Re: Image quality in exported documents

2003-08-20 Thread Rod Pinna

If you use convert, try 
convert file.png eps2:file.eps

This will produce a level 2 eps file, which allows for a compressed
bitmapped to be included, rather than the default type 1 eps, which stores
an uncompressed bitmap.

I don't know if it will make much difference with a png file, but it does
with jpgs. The quality should be the same.

(man png says pngs are compressed, so it might well make a difference)

Rod

On Wed, 20 Aug 2003, Alistair Atkinson wrote:

> Thanks very much to everyone for the help and suggestions. It turns out that 
> Katrin was correct, and the problem was with the image resolution rather than 
> the methods used to export the document. 
> 
> Thanks again, 
> Alistair
> 
> On Wed, 20 Aug 2003 07:47 pm, Katrin Pietzsch wrote:
> > Hi Alistair,
> > though you might meanwhile have solved the problem, here's another
> > suggestion how to improve the image quality. First of all I found that
> > your images delivered in the sample file have a resolution of
> > 70-something dpi, which as far as I know is a little low for printing.
> > When you export your charts to png or eps you should be able to set the
> > resolution somewhere. Try to use at least 300 dpi. With this the
> > eps-files will become huge, but the exported pdf will still have a
> > decent size. To convert the png to eps I used "convert file.png
> > file.eps" in the shell / terminal. It's pretty quick and leads to good
> > results.
> >
> > Regards,
> > Katrin
> 
> 

_
rod   | "Beneath the waves, the waves / That's where I will be /
  | I'm going to see the cow beneath the sea."
  | They Might Be Giants, Lincoln




Image quality in exported documents

2003-08-19 Thread Alistair Atkinson
Hello, 

I've been using Lyx for about 12 months, and think it's an absolutely 
brilliant piece of software. I am currently using version 1.3.1. 

However, I have been having major difficulties with the quality of images in a 
document when exporting to DVI, PS or PDF. Images appear kind of blocky, 
almost like they are at a low resolution. 

I have tried with various image formats, including JPEG, GIF, PNG and EPS. I 
have included the graphicx package, as I understood that this may be 
beneficial when using JPEGs, but it didn't seem to help. 

I have tried using different programs, such as dvips, pdflatex, and tex2pdf, 
but they all produce poor output. I am guessing that these programs are not 
the problem, because the DVI itself is poor quality, so I am thinking it 
might be a Latex issue? I am not very knowledgable when it comes to Latex so 
I can't be sure. 

Any help on this issues is much appreciated. I'm starting a thesis in a few 
weeks, and would hate to have to use a normal word processor, but if I can't 
get my images and charts etc to look acceptable I may have no choice. 

Regards, 
Alistair


RE: Image quality in exported documents

2003-08-19 Thread Remzi Seker
Are you talking about the preview (on screen view) or the printout too?
Can you send a sample (small) document? What kind of images are we
really talking about? The problem may be your images (if the lossless
format looks bad, the lossy or compressed version won't look better than
that anyway).  

-Original Message-
From: Alistair Atkinson [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 18, 2003 9:30 PM
To: [EMAIL PROTECTED]
Subject: Image quality in exported documents


Hello, 

I've been using Lyx for about 12 months, and think it's an absolutely 
brilliant piece of software. I am currently using version 1.3.1. 

However, I have been having major difficulties with the quality of
images in a 
document when exporting to DVI, PS or PDF. Images appear kind of
blocky, 
almost like they are at a low resolution. 

I have tried with various image formats, including JPEG, GIF, PNG and
EPS. I 
have included the graphicx package, as I understood that this may be 
beneficial when using JPEGs, but it didn't seem to help. 

I have tried using different programs, such as dvips, pdflatex, and
tex2pdf, 
but they all produce poor output. I am guessing that these programs are
not 
the problem, because the DVI itself is poor quality, so I am thinking it

might be a Latex issue? I am not very knowledgable when it comes to
Latex so 
I can't be sure. 

Any help on this issues is much appreciated. I'm starting a thesis in a
few 
weeks, and would hate to have to use a normal word processor, but if I
can't 
get my images and charts etc to look acceptable I may have no choice. 

Regards, 
Alistair



Re: Image quality in exported documents

2003-08-19 Thread Nirmal Govind
Alistair Atkinson wrote:

 in a document when exporting to DVI, PS or PDF. Images appear kind of
 blocky, almost like they are at a low resolution.

I think I've seen this before.. the problem is usually when the native
format in which the image was created was not eps for a PS or jpg for a
PDFlatex conversion. If it was a native eps, the PS file should show the
graphic w/o any blockiness... if it's a native jpg, the pdflatex version
should show it properly.. I think the automatic conversion from jpg to eps
may be a reason for the poorer quality. So nowadays, I convert the jpg to
eps manually (A. Illustrator does a great job of this btw as I recently
found out.. it's not free unfortunately) and include it in the document.

 can't get my images and charts etc to look acceptable I may have no
 choice.

It's definitely possible to get the images to look as they should.. might
need to play around a little in the beginning and figure out a mechanism
that works for different image formats.. 

nirmal




Re: Image quality in exported documents

2003-08-19 Thread Alistair Atkinson
On Wed, 20 Aug 2003 01:16 pm, Remzi Seker wrote:
 Are you talking about the preview (on screen view) or the printout too?

Both. 

 Can you send a sample (small) document? 

Sure, I've attached an example Lyx file and associated images. 

 What kind of images are we really talking about? 

Mainly general chart/graphs. 

 The problem may be your images (if the lossless
 format looks bad, the lossy or compressed version won't look better than
 that anyway).

Perhaps. I've taken the PNG and used GIMP to convert it to an EPS. The EPS is 
not as good quality as the PNG, but still better than when printed in a 
document exported from Lyx. 

Best, 
Alistair


sample.tar.gz
Description: application/tgz


Re: Image quality in exported documents

2003-08-19 Thread Jeannette Meyer

  can't get my images and charts etc to look acceptable I may have no
  choice.

 It's definitely possible to get the images to look as they should.. might
 need to play around a little in the beginning and figure out a mechanism
 that works for different image formats..

I did play around a bit to get good-looking images and charts in Lyx. The best 
way I found so far for creating such figures is either exporting to eps 
directly for printing to a ps file, than run it through ps2eps. In some cases 
the pdf output does not look very good on screen, but it usually does so when 
printed.

Jeannette


Image quality in exported documents

2003-08-19 Thread Alistair Atkinson
Hello, 

I've been using Lyx for about 12 months, and think it's an absolutely 
brilliant piece of software. I am currently using version 1.3.1. 

However, I have been having major difficulties with the quality of images in a 
document when exporting to DVI, PS or PDF. Images appear kind of blocky, 
almost like they are at a low resolution. 

I have tried with various image formats, including JPEG, GIF, PNG and EPS. I 
have included the graphicx package, as I understood that this may be 
beneficial when using JPEGs, but it didn't seem to help. 

I have tried using different programs, such as dvips, pdflatex, and tex2pdf, 
but they all produce poor output. I am guessing that these programs are not 
the problem, because the DVI itself is poor quality, so I am thinking it 
might be a Latex issue? I am not very knowledgable when it comes to Latex so 
I can't be sure. 

Any help on this issues is much appreciated. I'm starting a thesis in a few 
weeks, and would hate to have to use a normal word processor, but if I can't 
get my images and charts etc to look acceptable I may have no choice. 

Regards, 
Alistair


RE: Image quality in exported documents

2003-08-19 Thread Remzi Seker
Are you talking about the preview (on screen view) or the printout too?
Can you send a sample (small) document? What kind of images are we
really talking about? The problem may be your images (if the lossless
format looks bad, the lossy or compressed version won't look better than
that anyway).  

-Original Message-
From: Alistair Atkinson [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 18, 2003 9:30 PM
To: [EMAIL PROTECTED]
Subject: Image quality in exported documents


Hello, 

I've been using Lyx for about 12 months, and think it's an absolutely 
brilliant piece of software. I am currently using version 1.3.1. 

However, I have been having major difficulties with the quality of
images in a 
document when exporting to DVI, PS or PDF. Images appear kind of
blocky, 
almost like they are at a low resolution. 

I have tried with various image formats, including JPEG, GIF, PNG and
EPS. I 
have included the graphicx package, as I understood that this may be 
beneficial when using JPEGs, but it didn't seem to help. 

I have tried using different programs, such as dvips, pdflatex, and
tex2pdf, 
but they all produce poor output. I am guessing that these programs are
not 
the problem, because the DVI itself is poor quality, so I am thinking it

might be a Latex issue? I am not very knowledgable when it comes to
Latex so 
I can't be sure. 

Any help on this issues is much appreciated. I'm starting a thesis in a
few 
weeks, and would hate to have to use a normal word processor, but if I
can't 
get my images and charts etc to look acceptable I may have no choice. 

Regards, 
Alistair



Re: Image quality in exported documents

2003-08-19 Thread Nirmal Govind
Alistair Atkinson wrote:

 in a document when exporting to DVI, PS or PDF. Images appear kind of
 blocky, almost like they are at a low resolution.

I think I've seen this before.. the problem is usually when the native
format in which the image was created was not eps for a PS or jpg for a
PDFlatex conversion. If it was a native eps, the PS file should show the
graphic w/o any blockiness... if it's a native jpg, the pdflatex version
should show it properly.. I think the automatic conversion from jpg to eps
may be a reason for the poorer quality. So nowadays, I convert the jpg to
eps manually (A. Illustrator does a great job of this btw as I recently
found out.. it's not free unfortunately) and include it in the document.

 can't get my images and charts etc to look acceptable I may have no
 choice.

It's definitely possible to get the images to look as they should.. might
need to play around a little in the beginning and figure out a mechanism
that works for different image formats.. 

nirmal




Re: Image quality in exported documents

2003-08-19 Thread Alistair Atkinson
On Wed, 20 Aug 2003 01:16 pm, Remzi Seker wrote:
 Are you talking about the preview (on screen view) or the printout too?

Both. 

 Can you send a sample (small) document? 

Sure, I've attached an example Lyx file and associated images. 

 What kind of images are we really talking about? 

Mainly general chart/graphs. 

 The problem may be your images (if the lossless
 format looks bad, the lossy or compressed version won't look better than
 that anyway).

Perhaps. I've taken the PNG and used GIMP to convert it to an EPS. The EPS is 
not as good quality as the PNG, but still better than when printed in a 
document exported from Lyx. 

Best, 
Alistair


sample.tar.gz
Description: application/tgz


Re: Image quality in exported documents

2003-08-19 Thread Jeannette Meyer

  can't get my images and charts etc to look acceptable I may have no
  choice.

 It's definitely possible to get the images to look as they should.. might
 need to play around a little in the beginning and figure out a mechanism
 that works for different image formats..

I did play around a bit to get good-looking images and charts in Lyx. The best 
way I found so far for creating such figures is either exporting to eps 
directly for printing to a ps file, than run it through ps2eps. In some cases 
the pdf output does not look very good on screen, but it usually does so when 
printed.

Jeannette


Image quality in exported documents

2003-08-19 Thread Alistair Atkinson
Hello, 

I've been using Lyx for about 12 months, and think it's an absolutely 
brilliant piece of software. I am currently using version 1.3.1. 

However, I have been having major difficulties with the quality of images in a 
document when exporting to DVI, PS or PDF. Images appear kind of "blocky", 
almost like they are at a low resolution. 

I have tried with various image formats, including JPEG, GIF, PNG and EPS. I 
have included the graphicx package, as I understood that this may be 
beneficial when using JPEGs, but it didn't seem to help. 

I have tried using different programs, such as dvips, pdflatex, and tex2pdf, 
but they all produce poor output. I am guessing that these programs are not 
the problem, because the DVI itself is poor quality, so I am thinking it 
might be a Latex issue? I am not very knowledgable when it comes to Latex so 
I can't be sure. 

Any help on this issues is much appreciated. I'm starting a thesis in a few 
weeks, and would hate to have to use a normal word processor, but if I can't 
get my images and charts etc to look acceptable I may have no choice. 

Regards, 
Alistair


RE: Image quality in exported documents

2003-08-19 Thread Remzi Seker
Are you talking about the preview (on screen view) or the printout too?
Can you send a sample (small) document? What kind of images are we
really talking about? The problem may be your images (if the lossless
format looks bad, the lossy or compressed version won't look better than
that anyway).  

-Original Message-
From: Alistair Atkinson [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 18, 2003 9:30 PM
To: [EMAIL PROTECTED]
Subject: Image quality in exported documents


Hello, 

I've been using Lyx for about 12 months, and think it's an absolutely 
brilliant piece of software. I am currently using version 1.3.1. 

However, I have been having major difficulties with the quality of
images in a 
document when exporting to DVI, PS or PDF. Images appear kind of
"blocky", 
almost like they are at a low resolution. 

I have tried with various image formats, including JPEG, GIF, PNG and
EPS. I 
have included the graphicx package, as I understood that this may be 
beneficial when using JPEGs, but it didn't seem to help. 

I have tried using different programs, such as dvips, pdflatex, and
tex2pdf, 
but they all produce poor output. I am guessing that these programs are
not 
the problem, because the DVI itself is poor quality, so I am thinking it

might be a Latex issue? I am not very knowledgable when it comes to
Latex so 
I can't be sure. 

Any help on this issues is much appreciated. I'm starting a thesis in a
few 
weeks, and would hate to have to use a normal word processor, but if I
can't 
get my images and charts etc to look acceptable I may have no choice. 

Regards, 
Alistair



Re: Image quality in exported documents

2003-08-19 Thread Nirmal Govind
Alistair Atkinson wrote:

> in a document when exporting to DVI, PS or PDF. Images appear kind of
> "blocky", almost like they are at a low resolution.

I think I've seen this before.. the problem is usually when the native
format in which the image was created was not eps for a PS or jpg for a
PDFlatex conversion. If it was a native eps, the PS file should show the
graphic w/o any "blockiness"... if it's a native jpg, the pdflatex version
should show it properly.. I think the automatic conversion from jpg to eps
may be a reason for the poorer quality. So nowadays, I convert the jpg to
eps manually (A. Illustrator does a great job of this btw as I recently
found out.. it's not free unfortunately) and include it in the document.

> can't get my images and charts etc to look acceptable I may have no
> choice.

It's definitely possible to get the images to look as they should.. might
need to play around a little in the beginning and figure out a mechanism
that works for different image formats.. 

nirmal




Re: Image quality in exported documents

2003-08-19 Thread Alistair Atkinson
On Wed, 20 Aug 2003 01:16 pm, Remzi Seker wrote:
> Are you talking about the preview (on screen view) or the printout too?

Both. 

> Can you send a sample (small) document? 

Sure, I've attached an example Lyx file and associated images. 

> What kind of images are we really talking about? 

Mainly general chart/graphs. 

> The problem may be your images (if the lossless
> format looks bad, the lossy or compressed version won't look better than
> that anyway).

Perhaps. I've taken the PNG and used GIMP to convert it to an EPS. The EPS is 
not as good quality as the PNG, but still better than when printed in a 
document exported from Lyx. 

Best, 
Alistair


sample.tar.gz
Description: application/tgz


Re: Image quality in exported documents

2003-08-19 Thread Jeannette Meyer

> > can't get my images and charts etc to look acceptable I may have no
> > choice.
>
> It's definitely possible to get the images to look as they should.. might
> need to play around a little in the beginning and figure out a mechanism
> that works for different image formats..

I did play around a bit to get good-looking images and charts in Lyx. The best 
way I found so far for creating such figures is either exporting to eps 
directly for printing to a ps file, than run it through ps2eps. In some cases 
the pdf output does not look very good on screen, but it usually does so when 
printed.

Jeannette