decreasing size of figure (.eps)

2009-06-16 Thread Wolfgang Engelmann
slightly off topic:
I have an eps formatted figure which is too large (45MB) which should go in a 
lyx document. Viewing it with kghostview shows it in the center of an about 
10 times larger field. 
I tried to reduce the size of the figure by exporting it in gimp to a .jpg 
format. However, this shrinks it to a few kb. What is the best way to get a 
resonable size (200-300 kb) and perhaps additionally to get rid of the large 
borders?

Wolfgang


Re: decreasing size of figure (.eps)

2009-06-16 Thread Uwe Stöhr

Wolfgang Engelmann schrieb:


slightly off topic:
I have an eps formatted figure which is too large (45MB) which should go in a 
lyx document.


Then you have a bitmap image that has only a header to be an EPS. Therefore I fear that a conversion 
to PDF wouldn't help.


I tried to reduce the size of the figure by exporting it in gimp to a .jpg 
format. However, this shrinks it to a few kb.


Start from this JPEG and use a program of your choice to resize it to e.g. 1024x768 Pixels. Finally 
save it as 8bit PNG.


regards Uwe


Re: decreasing size of figure (.eps)

2009-06-16 Thread Wolfgang Engelmann
Am Tuesday 16 June 2009 14:08:43 schrieben Sie:

Thanks Uwe,

but do you know why the 575kb sized jpg becomes after
convertion to .png 2.8MB?
(i used convert)

Wolfgang


 Wolfgang Engelmann schrieb:
  slightly off topic:
  I have an eps formatted figure which is too large (45MB) which should go
  in a lyx document.

 Then you have a bitmap image that has only a header to be an EPS. Therefore
 I fear that a conversion to PDF wouldn't help.

  I tried to reduce the size of the figure by exporting it in gimp to a
  .jpg format. However, this shrinks it to a few kb.

 Start from this JPEG and use a program of your choice to resize it to e.g.
 1024x768 Pixels. Finally save it as 8bit PNG.

 regards Uwe



-- 
-
Wolfgang Engelmann
Schlossgartenstrasse 22
D-72070 Tübingen
Tel 07071 68325


Re: decreasing size of figure (.eps)

2009-06-16 Thread Olivier Ripoll

Wolfgang Engelmann wrote:

Am Tuesday 16 June 2009 14:08:43 schrieben Sie:

Thanks Uwe,

but do you know why the 575kb sized jpg becomes after
convertion to .png 2.8MB?
(i used convert)


Hi,

jpeg is more aggressive than png: It compresses more, but destroys the 
image a little. png does not produce any artefact. You have no interest 
to convert a jpg to a png, because the png image will have the jpeg 
artefacts.

You could try to convert your eps to png.

- if your eps is a vectorial image, then it should not be so big and you 
could use it directly or convert it to pdf.

- if your eps contains an photo, then use jpeg.
- if your eps contains an picture, but not a photo (i.e. a non-vectorial 
drawing), you may prefer png to avoid jpeg artefacts.


Best regards,

Olivier



Re: decreasing size of figure (.eps)

2009-06-16 Thread Wolfgang Engelmann
Am Tuesday 16 June 2009 16:00:05 schrieb Olivier Ripoll:

Thanks, Oliver, for clarifying this

Wolfgang

 Wolfgang Engelmann wrote:
  Am Tuesday 16 June 2009 14:08:43 schrieben Sie:
 
  Thanks Uwe,
 
  but do you know why the 575kb sized jpg becomes after
  convertion to .png 2.8MB?
  (i used convert)

 Hi,

 jpeg is more aggressive than png: It compresses more, but destroys the
 image a little. png does not produce any artefact. You have no interest
 to convert a jpg to a png, because the png image will have the jpeg
 artefacts.
 You could try to convert your eps to png.

 - if your eps is a vectorial image, then it should not be so big and you
 could use it directly or convert it to pdf.
 - if your eps contains an photo, then use jpeg.
 - if your eps contains an picture, but not a photo (i.e. a non-vectorial
 drawing), you may prefer png to avoid jpeg artefacts.

 Best regards,

 Olivier



-- 
-
Wolfgang Engelmann
Schlossgartenstrasse 22
D-72070 Tübingen
Tel 07071 68325


decreasing size of figure (.eps)

2009-06-16 Thread Wolfgang Engelmann
slightly off topic:
I have an eps formatted figure which is too large (45MB) which should go in a 
lyx document. Viewing it with kghostview shows it in the center of an about 
10 times larger field. 
I tried to reduce the size of the figure by exporting it in gimp to a .jpg 
format. However, this shrinks it to a few kb. What is the best way to get a 
resonable size (200-300 kb) and perhaps additionally to get rid of the large 
borders?

Wolfgang


Re: decreasing size of figure (.eps)

2009-06-16 Thread Uwe Stöhr

Wolfgang Engelmann schrieb:


slightly off topic:
I have an eps formatted figure which is too large (45MB) which should go in a 
lyx document.


Then you have a bitmap image that has only a header to be an EPS. Therefore I fear that a conversion 
to PDF wouldn't help.


I tried to reduce the size of the figure by exporting it in gimp to a .jpg 
format. However, this shrinks it to a few kb.


Start from this JPEG and use a program of your choice to resize it to e.g. 1024x768 Pixels. Finally 
save it as 8bit PNG.


regards Uwe


Re: decreasing size of figure (.eps)

2009-06-16 Thread Wolfgang Engelmann
Am Tuesday 16 June 2009 14:08:43 schrieben Sie:

Thanks Uwe,

but do you know why the 575kb sized jpg becomes after
convertion to .png 2.8MB?
(i used convert)

Wolfgang


 Wolfgang Engelmann schrieb:
  slightly off topic:
  I have an eps formatted figure which is too large (45MB) which should go
  in a lyx document.

 Then you have a bitmap image that has only a header to be an EPS. Therefore
 I fear that a conversion to PDF wouldn't help.

  I tried to reduce the size of the figure by exporting it in gimp to a
  .jpg format. However, this shrinks it to a few kb.

 Start from this JPEG and use a program of your choice to resize it to e.g.
 1024x768 Pixels. Finally save it as 8bit PNG.

 regards Uwe



-- 
-
Wolfgang Engelmann
Schlossgartenstrasse 22
D-72070 Tübingen
Tel 07071 68325


Re: decreasing size of figure (.eps)

2009-06-16 Thread Olivier Ripoll

Wolfgang Engelmann wrote:

Am Tuesday 16 June 2009 14:08:43 schrieben Sie:

Thanks Uwe,

but do you know why the 575kb sized jpg becomes after
convertion to .png 2.8MB?
(i used convert)


Hi,

jpeg is more aggressive than png: It compresses more, but destroys the 
image a little. png does not produce any artefact. You have no interest 
to convert a jpg to a png, because the png image will have the jpeg 
artefacts.

You could try to convert your eps to png.

- if your eps is a vectorial image, then it should not be so big and you 
could use it directly or convert it to pdf.

- if your eps contains an photo, then use jpeg.
- if your eps contains an picture, but not a photo (i.e. a non-vectorial 
drawing), you may prefer png to avoid jpeg artefacts.


Best regards,

Olivier



Re: decreasing size of figure (.eps)

2009-06-16 Thread Wolfgang Engelmann
Am Tuesday 16 June 2009 16:00:05 schrieb Olivier Ripoll:

Thanks, Oliver, for clarifying this

Wolfgang

 Wolfgang Engelmann wrote:
  Am Tuesday 16 June 2009 14:08:43 schrieben Sie:
 
  Thanks Uwe,
 
  but do you know why the 575kb sized jpg becomes after
  convertion to .png 2.8MB?
  (i used convert)

 Hi,

 jpeg is more aggressive than png: It compresses more, but destroys the
 image a little. png does not produce any artefact. You have no interest
 to convert a jpg to a png, because the png image will have the jpeg
 artefacts.
 You could try to convert your eps to png.

 - if your eps is a vectorial image, then it should not be so big and you
 could use it directly or convert it to pdf.
 - if your eps contains an photo, then use jpeg.
 - if your eps contains an picture, but not a photo (i.e. a non-vectorial
 drawing), you may prefer png to avoid jpeg artefacts.

 Best regards,

 Olivier



-- 
-
Wolfgang Engelmann
Schlossgartenstrasse 22
D-72070 Tübingen
Tel 07071 68325


decreasing size of figure (.eps)

2009-06-16 Thread Wolfgang Engelmann
slightly off topic:
I have an eps formatted figure which is too large (45MB) which should go in a 
lyx document. Viewing it with kghostview shows it in the center of an about 
10 times larger field. 
I tried to reduce the size of the figure by exporting it in gimp to a .jpg 
format. However, this shrinks it to a few kb. What is the best way to get a 
resonable size (200-300 kb) and perhaps additionally to get rid of the large 
borders?

Wolfgang


Re: decreasing size of figure (.eps)

2009-06-16 Thread Uwe Stöhr

Wolfgang Engelmann schrieb:


slightly off topic:
I have an eps formatted figure which is too large (45MB) which should go in a 
lyx document.


Then you have a bitmap image that has only a header to be an EPS. Therefore I fear that a conversion 
to PDF wouldn't help.


I tried to reduce the size of the figure by exporting it in gimp to a .jpg 
format. However, this shrinks it to a few kb.


Start from this JPEG and use a program of your choice to resize it to e.g. 1024x768 Pixels. Finally 
save it as 8bit PNG.


regards Uwe


Re: decreasing size of figure (.eps)

2009-06-16 Thread Wolfgang Engelmann
Am Tuesday 16 June 2009 14:08:43 schrieben Sie:

Thanks Uwe,

but do you know why the 575kb sized jpg becomes after
convertion to .png 2.8MB?
(i used convert)

Wolfgang


> Wolfgang Engelmann schrieb:
> > slightly off topic:
> > I have an eps formatted figure which is too large (45MB) which should go
> > in a lyx document.
>
> Then you have a bitmap image that has only a header to be an EPS. Therefore
> I fear that a conversion to PDF wouldn't help.
>
> > I tried to reduce the size of the figure by exporting it in gimp to a
> > .jpg format. However, this shrinks it to a few kb.
>
> Start from this JPEG and use a program of your choice to resize it to e.g.
> 1024x768 Pixels. Finally save it as 8bit PNG.
>
> regards Uwe



-- 
-
Wolfgang Engelmann
Schlossgartenstrasse 22
D-72070 Tübingen
Tel 07071 68325


Re: decreasing size of figure (.eps)

2009-06-16 Thread Olivier Ripoll

Wolfgang Engelmann wrote:

Am Tuesday 16 June 2009 14:08:43 schrieben Sie:

Thanks Uwe,

but do you know why the 575kb sized jpg becomes after
convertion to .png 2.8MB?
(i used convert)


Hi,

jpeg is more aggressive than png: It compresses more, but destroys the 
image a little. png does not produce any artefact. You have no interest 
to convert a jpg to a png, because the png image will have the jpeg 
artefacts.

You could try to convert your eps to png.

- if your eps is a vectorial image, then it should not be so big and you 
could use it directly or convert it to pdf.

- if your eps contains an photo, then use jpeg.
- if your eps contains an picture, but not a photo (i.e. a non-vectorial 
drawing), you may prefer png to avoid jpeg artefacts.


Best regards,

Olivier



Re: decreasing size of figure (.eps)

2009-06-16 Thread Wolfgang Engelmann
Am Tuesday 16 June 2009 16:00:05 schrieb Olivier Ripoll:

Thanks, Oliver, for clarifying this

Wolfgang

> Wolfgang Engelmann wrote:
> > Am Tuesday 16 June 2009 14:08:43 schrieben Sie:
> >
> > Thanks Uwe,
> >
> > but do you know why the 575kb sized jpg becomes after
> > convertion to .png 2.8MB?
> > (i used convert)
>
> Hi,
>
> jpeg is more aggressive than png: It compresses more, but destroys the
> image a little. png does not produce any artefact. You have no interest
> to convert a jpg to a png, because the png image will have the jpeg
> artefacts.
> You could try to convert your eps to png.
>
> - if your eps is a vectorial image, then it should not be so big and you
> could use it directly or convert it to pdf.
> - if your eps contains an photo, then use jpeg.
> - if your eps contains an picture, but not a photo (i.e. a non-vectorial
> drawing), you may prefer png to avoid jpeg artefacts.
>
> Best regards,
>
> Olivier



-- 
-
Wolfgang Engelmann
Schlossgartenstrasse 22
D-72070 Tübingen
Tel 07071 68325