Re: LyX: Using GIF Images? : XV does a very good, albeit interactive, job at image conversions !

2000-01-11 Thread Ronald Florence

Sebastiaan van Doorn writes:
  
  XV does a very good, albeit interactive, job at image conversions !

I'll second this.  I did a photo-essay for a journal recently, using
LyX.  The photos were jpegs (reduced for ftp purposes) from fine-scale
scans that were made from very old black & white glass plates.  I used 
xv to convert them to Postscript for LyX, and while the interactive
process is a bit tedious, the quality was superb.  (This is on Sparc
workstations, running Solaris-2.6.)

I have gimp here, but haven't explored it for purposes like this.

-- 

Ronald Florence http://members.home.net/18james



Re: LyX: Using GIF Images? : XV does a very good, albeit interactive, job at image conversions !

2000-01-10 Thread Sebastiaan van Doorn




XV does a very good, albeit interactive, job at image conversions !

load the image in any format, and then save it as Postscript (with the
extension .eps), don't forget to set the compression (which is only
available for 8 bit colour images and reduces the image size by a factor
of 10 compared to non-compressed.) XV also offers easy ways of editing
and reducing the colours. 

Ofcourse you can also use PC-based tools like Corel Draw.

The quality has so far never disappointed me for technical purposes.


Good luck !



Re: LyX: Using GIF Images?

2000-01-10 Thread Jose Albores

Sorry but I came late to a thread about using images under lyx. I read
this on the web and I'm new here.
I tried to convert for my first time a jpeg image to a ps image issuing
the following commands:
$ convert photo1.jpg photo1.ps
$ convert -antialias photo1.jpg photo1.ps
$ convert photo1.jpg eps:photo1.ps
and also specifying other "eps" formats like:
$ convert photo1.jpg ept:photo1.ps
and so on with several options like "-depth 16" or "-density 300x300" or
"-colorspace RGB"...
But I read in some msg. that "converting image/* > .jpg > ps" shouldn't
result in loss of quality.
The same thing happens to me using The Gimp.
In a strange manner, if the NEW eps image is viewed with "display
photo1.ps" it looks great, but gv shows a very different image with
remarkably LESS quality.
Maybe I'm confused and different "EPS" formats have different
extensions, other than ".ps"?
So:
Can anyone be so kind to issue the _EXACT_ command to convert any
"conventional(?)" image format like .bmp .jpg .gif .bmp or .tif if there
is any?
TIA.
--
José Albores - [EMAIL PROTECTED]
  Linux 2.2.5-15 i586 running



Re: LyX: Using GIF Images?

2000-01-07 Thread jdd

On ven, 07 jan 2000, Nemeth Miklos à écrit

images were always (much) larger than the original GIF or PNG.

one must know that gif & png images are compressed ones - without loss,
jpeg are also compressed ones but with some loss of quality. 

by the way ps and eps don't seems to be compressed. the real problem is
there, images can be VERY big. if your document needs high quality image
to be flashed on postscript composers, you will soon send et burned cd to
your printer...


-- 
Le site ci-dessous est surtout consacré à Linux, mais aussi aux nouvelles de
science fiction écrites par moi, à la pédagogie de la dao et à plein d'autres
choses que vous allez manquer si vous n'y allez pas voir!
http://perso.club-internet.fr/jdanield
[EMAIL PROTECTED] - [EMAIL PROTECTED]



Re: LyX: Using GIF Images?

2000-01-07 Thread Juergen Vigna


On 07-Jan-2000 Nemeth Miklos wrote:

> I do not understand why EPS and PS image formats are used at all by
> LyX/LaTeX,

I don't know if you realize it, but if you want to print a document, at
some time you have to translate it to PS (at least on UNIX)!

So what's the problem to do this earlier? (I know the sizes of ps-format
and you're right there, but surely there is no reason for quality loss!)

Greets Jürgen

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Dr. Jürgen Vigna  E-Mail: [EMAIL PROTECTED]
Italienallee 13/N Tel:+39-0471-450260
I-39100 Bozen Fax:+39-0471-450296
ITALY Web:http://www.sad.it/~jug

Recursion n.:
See Recursion.
-- Random Shack Data Processing Dictionary

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._



Re: LyX: Using GIF Images?

2000-01-07 Thread Torsten Mueller

> That is a good news! Could you suggest me some sources of information
> how to do
> that?
> I fought with GIMP for two days and no success: my eps was allwys very
> ugly.
> The EPS images were always (much) larger than the original GIF or PNG.
> So, can you recomend me a good book, or anything else about the topic?

I use another program called xv on Solaris.
With it I have converted some gifs to eps. For these pictures it worked
fine. When I look at them with ghostview they look as the gifs.
The size however was about 10 times larger.

When I include these figures in Lyx, on the screen it looks ok, but when I
print to postscript, then the size of the figure changes (on the screen)
which leads to a poor quality.

Perhaps this helps,
Torsten



Re: LyX: Using GIF Images?

2000-01-06 Thread Nemeth Miklos

Andre Poenitz wrote:

> > Do not try to cheat ourselves! LyX's support and also LaTeX's to GIF, JPEG,
> > PNG, etc is very poor.
>
> That's unfortunately true...
>
> However, the recommended method of converting image/* -> .jpg -> .eps
> does work without any visible loss. Most of it is handicraft or simple
> scripting outside LyX, but it is possible.
>
> Andre'
>
> --
> André Pönitz . [EMAIL PROTECTED]

That is a good news! Could you suggest me some sources of information
how to do
that?
I fought with GIMP for two days and no success: my eps was allwys very
ugly.
The EPS images were always (much) larger than the original GIF or PNG.
So, can you recomend me a good book, or anything else about the topic?

NM



Re: LyX: Using GIF Images?

2000-01-06 Thread Nemeth Miklos

"Jean-Pierre.Chretien" wrote:

> >>Date: Wed, 05 Jan 2000 21:12:50 +0100
> >>From: Nemeth Miklos <[EMAIL PROTECTED]>
> >>To: "Jean-Pierre.Chretien" <[EMAIL PROTECTED]>
> >>CC: [EMAIL PROTECTED], [EMAIL PROTECTED],
> [EMAIL PROTECTED]
> >>Subject: Re: LyX: Using GIF Images?
> >>
> >>Do not try to cheat ourselves! LyX's support and also LaTeX's to GIF, JPEG,
> >>PNG, etc is very poor.
>
> I understand your particular concern, but I think that mixing
> in the same line GIF, JPEG and PNG is a bit misleading.
>
> What is important is to know wether the original image
> is vectorized or bitmapped. If the original image is vectorized,
> AND if it is possible to create a vectorized eps format, there
> will not be any problem with LyX/LaTeX and with transcoding
> towards network-oriented compressed formats like GIF and PNG.
>
> IF the original image is bitmapped, bitmapped eps becomes less powerful
> than other formats in the case of vector-like pictures because resizing
> is very poor. It works correctly with real pictures from my experience.
> So in the case of bitmapped versions of vectorized images
> (i.e., when there exists no way to keep with a vectorized version)
> I think that no resizing should take place after conversion towrds PS.
> Moreover, and unless I have a poor installation of the package, it seems that
> ImageMagick knows only about bitmapped versions of eps (e.g. conversion
> betweeen ps/eps formats using convert looses the vectorized property)
> so I stich to GS utilities for these.
>

What I'd like to have is. When I get a GIF image it has a default size
which
looks very nice on screen.
When I create a screenshot and save it as GIF and later show it in a
HTML
document it appears very butifully.
Even when I print a HTML document containing a GIF the result is
perfect.
I used GIMP to convert GIFs to EPS and/or PS but the result was always
ugly. I
tried ImageMagics with the same result.
After all I gave up.
For me it is completely unimportant what is the image format, I want
perfect
result.
I do not understand why EPS and PS image formats are used at all by
LyX/LaTeX,
they are very big (I mean in size)
there are no tools to convert the now standard GIF, JPEG, PNG images to
these
obsolete formats.

>
> I have no experience with pdflatex hoevewer, waht are the odds and ends
> from your experience ?

With pdflatex I managed to create a kind of slide show document (A5
landscape)
presented in Acrobat Reader full-screen mode.
Pdflatex has also problems with images. It also is not be able to
calculate the
default size.
Until there is no a tool to create acceptable EPS or PS images, the only
solution is to use HTML.
I'd be one of the happies man if I found LyX/LaTeX solution to my image
problems.

> I currenly use ps2pdf to get the pdf version.
> This is successful with portrait layout, but I still don't understand how
> to get landscape orientation on the screen on Sun/Solaris.
> That's boring because I would like to convince people that
> Lyx/LaTeX allows to generate a sequence of viewgraphs which can be
> presented full screen, and I tried to use pdf reader to impment that
> functionality.
>
> Regards
>
> --
> Jean-Pierre

Anyway, excuse me if my previous posting appeared on the list, this was
a
technical fault of me.

NM



Re: LyX: Using GIF Images?

2000-01-06 Thread Christopher Sawtell

On Fri, 07 Jan 2000, Nemeth Miklos wrote:
> Do not try to cheat ourselves! LyX's support and also LaTeX's to GIF,
> JPEG,  PNG, etc is very poor.
> My regular task is to create tutorials with a lot of screenshots.
> I did my best to use LyX then LaTeX and eventually PDFLaTeX, but the
> result  was always terrible.


1) Get a copy of a recent version of GIMP. It is _wonderful_.

http://www.gimp.org

2) Sufficient memory in your machine. For image manipulation, at least 64 Megs
is needed.

Make the screenshot.
Save it as a non-indexed file. The gimp's own format .xcf or .xcf.bz2 is fine.
Work on the picture, and then convert it to .ps or .eps _with sufficient
resolution_

Import it into the document.

> So I returned back to simple HTML. Of course HTML provides very
> poor  print quality but it is quite good for on-line viewing.

If you use the html2ps program to generate the PostScript you will be very
surprised by the printed results.

http://www.tdb.uu.se/~jan/html2ps.html

> This eps and ps image-based technology is very awful.
> I am also eager to return back to LyX, LaTeX world, but I want also to
> use good quality images.

It's not _that_  bad.

Make sure that:-
1) you do all the image work on non-indexed images ( very importand )
   GIFs are usually indexed, convert them to non-indexed before doing _anything_

2) You _never_ save as .jpeg, the jpeg compression ruins the print quality
   detail in the picture.

> I know there is a book solely dedicated to LaTeX and graphics, maybe it
> contains some invaluable hints.

The online GIMP manual is at:-

ftp://manual.gimp.org/pub/manual/

There is a very good Latex introduction; go to:

http://ee-staff.ethz.ch/~oetiker/lshort/

> NM
> 
> "Jean-Pierre.Chretien" wrote:
> 
> > >>To: Michael Sachau <[EMAIL PROTECTED]>
> > >>Cc: [EMAIL PROTECTED]
> > >>Subject: Re: LyX: Using GIF Images?
> > >>From: Jean-Marc Lasgouttes <[EMAIL PROTECTED]>
> > >>Date: 05 Jan 2000 15:04:51 +0100
> > >>
> > >>>>>>> "Michael" == Michael Sachau <[EMAIL PROTECTED]> writes:
> > >>
> > >>Michael> Hi, I want to use a gif Image in my LyX document. I currently
> > >>Michael> use convert of ImageMagick, but the resulting eps-file is in
> > >>Michael> poor quality.
> > >>
> > >>Michael> Is there another possibility to use GIFs/JPEGs in LyX in Lyx
> > >>Michael> without loss of quality???
> > >>
> > >>Hello,
> > >>
> > >>I do not see another way of using GIF than a tool like ImageMagic.
> > >>However, it is probably possible to specify a resolution to ImageMagic
> > >>to get a good-looking images. There is not reason why the result
> > >>should be bad.
> > >>
> > >>JMarc
> >
> > It might be bad if a resizing takes place, so take care to resize
> > the gif to the final size before converting to eps.
> > Converting to grayscale is a good idea as well if the final document
> > is b&w.
> >
> > Regards
> >
> > --
> > Jean-Pierre
--
Sincerely etc.,

 NAME   Christopher Sawtell - Support Engineer - iOpen Technologies Ltd.
 CELL PHONE 021 257 4451
 ICQ UIN45863470
 EMAIL  chris @ iopen . co . nz,  csawtell @ xtra . co . nz
 CNOTES ftp://ftp.funet.fi/pub/languages/C/tutorials/sawtell_C.tar.gz

 >>> Please refrain from using HTML attachments in e-mails to me. <<<



Re: LyX: Using GIF Images?

2000-01-06 Thread Nemeth Miklos

Do not try to cheat ourselves! LyX's support and also LaTeX's to GIF,
JPEG,
PNG, etc is very poor.
My regular task is to create tutorials with a lot of screenshots.
I did my best to use LyX then LaTeX and eventually PDFLaTeX, but the
result
was always terrible.
So I returned back to simple HTML. Of course HTML provides very poor
print
quality but it is quite good for on-line viewing.
This eps and ps image-based technology is very awful.
I am also eager to return back to LyX, LaTeX world, but I want also to
use
good quality images.
I know there is a book solely dedicated to LaTeX and graphics, maybe it
contains some invaluable hints.

NM

"Jean-Pierre.Chretien" wrote:

> >>To: Michael Sachau <[EMAIL PROTECTED]>
> >>Cc: [EMAIL PROTECTED]
> >>Subject: Re: LyX: Using GIF Images?
> >>From: Jean-Marc Lasgouttes <[EMAIL PROTECTED]>
> >>Date: 05 Jan 2000 15:04:51 +0100
> >>
> >>>>>>> "Michael" == Michael Sachau <[EMAIL PROTECTED]> writes:
> >>
> >>Michael> Hi, I want to use a gif Image in my LyX document. I currently
> >>Michael> use convert of ImageMagick, but the resulting eps-file is in
> >>Michael> poor quality.
> >>
> >>Michael> Is there another possibility to use GIFs/JPEGs in LyX in Lyx
> >>Michael> without loss of quality???
> >>
> >>Hello,
> >>
> >>I do not see another way of using GIF than a tool like ImageMagic.
> >>However, it is probably possible to specify a resolution to ImageMagic
> >>to get a good-looking images. There is not reason why the result
> >>should be bad.
> >>
> >>JMarc
>
> It might be bad if a resizing takes place, so take care to resize
> the gif to the final size before converting to eps.
> Converting to grayscale is a good idea as well if the final document
> is b&w.
>
> Regards
>
> --
> Jean-Pierre



Re: LyX: Using GIF Images?

2000-01-06 Thread Jean-Pierre.Chretien


>>Date: Wed, 05 Jan 2000 21:12:50 +0100
>>From: Nemeth Miklos <[EMAIL PROTECTED]>
>>To: "Jean-Pierre.Chretien" <[EMAIL PROTECTED]>
>>CC: [EMAIL PROTECTED], [EMAIL PROTECTED], 
[EMAIL PROTECTED]
>>Subject: Re: LyX: Using GIF Images?
>>
>>Do not try to cheat ourselves! LyX's support and also LaTeX's to GIF, JPEG,
>>PNG, etc is very poor.

I understand your particular concern, but I think that mixing
in the same line GIF, JPEG and PNG is a bit misleading.

What is important is to know wether the original image 
is vectorized or bitmapped. If the original image is vectorized,
AND if it is possible to create a vectorized eps format, there
will not be any problem with LyX/LaTeX and with transcoding
towards network-oriented compressed formats like GIF and PNG.

IF the original image is bitmapped, bitmapped eps becomes less powerful 
than other formats in the case of vector-like pictures because resizing
is very poor. It works correctly with real pictures from my experience.
So in the case of bitmapped versions of vectorized images
(i.e., when there exists no way to keep with a vectorized version) 
I think that no resizing should take place after conversion towrds PS.
Moreover, and unless I have a poor installation of the package, it seems that
ImageMagick knows only about bitmapped versions of eps (e.g. conversion
betweeen ps/eps formats using convert looses the vectorized property)
so I stich to GS utilities for these.

I have no experience with pdflatex hoevewer, waht are the odds and ends
from your experience ? I currenly use ps2pdf to get the pdf version.
This is successful with portrait layout, but I still don't understand how
to get landscape orientation on the screen on Sun/Solaris.
That's boring because I would like to convince people that
Lyx/LaTeX allows to generate a sequence of viewgraphs which can be
presented full screen, and I tried to use pdf reader to impment that
functionality.

Regards

-- 
Jean-Pierre






Re: LyX: Using GIF Images?

2000-01-05 Thread Andre Poenitz

> Do not try to cheat ourselves! LyX's support and also LaTeX's to GIF, JPEG,
> PNG, etc is very poor.

That's unfortunately true...

However, the recommended method of converting image/* -> .jpg -> .eps
does work without any visible loss. Most of it is handicraft or simple
scripting outside LyX, but it is possible.

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: LyX: Using GIF Images?

2000-01-05 Thread Nemeth Miklos

Do not try to cheat ourselves! LyX's support and also LaTeX's to GIF, JPEG,
PNG, etc is very poor.
My regular task is to create tutorials with a lot of screenshots.
I did my best to use LyX then LaTeX and eventually PDFLaTeX, but the result
was always terrible.
So I returned back to simple HTML. Of course HTML provides very poor print
quality but it is quite good for on-line viewing.
This eps and ps image-based technology is very awful.
I am also eager to return back to LyX, LaTeX world, but I want also to use
good quality images.
I know there is a book solely dedicated to LaTeX and graphics, maybe it
contains some invaluable hints.

NM

"Jean-Pierre.Chretien" wrote:

> >>To: Michael Sachau <[EMAIL PROTECTED]>
> >>Cc: [EMAIL PROTECTED]
> >>Subject: Re: LyX: Using GIF Images?
> >>From: Jean-Marc Lasgouttes <[EMAIL PROTECTED]>
> >>Date: 05 Jan 2000 15:04:51 +0100
> >>
> >>>>>>> "Michael" == Michael Sachau <[EMAIL PROTECTED]> writes:
> >>
> >>Michael> Hi, I want to use a gif Image in my LyX document. I currently
> >>Michael> use convert of ImageMagick, but the resulting eps-file is in
> >>Michael> poor quality.
> >>
> >>Michael> Is there another possibility to use GIFs/JPEGs in LyX in Lyx
> >>Michael> without loss of quality???
> >>
> >>Hello,
> >>
> >>I do not see another way of using GIF than a tool like ImageMagic.
> >>However, it is probably possible to specify a resolution to ImageMagic
> >>to get a good-looking images. There is not reason why the result
> >>should be bad.
> >>
> >>JMarc
>
> It might be bad if a resizing takes place, so take care to resize
> the gif to the final size before converting to eps.
> Converting to grayscale is a good idea as well if the final document
> is b&w.
>
> Regards
>
> --
> Jean-Pierre





Re: LyX: Using GIF Images?

2000-01-05 Thread Jean-Pierre.Chretien


>>To: Michael Sachau <[EMAIL PROTECTED]>
>>Cc: [EMAIL PROTECTED]
>>Subject: Re: LyX: Using GIF Images?
>>From: Jean-Marc Lasgouttes <[EMAIL PROTECTED]>
>>Date: 05 Jan 2000 15:04:51 +0100
>>
>>>>>>> "Michael" == Michael Sachau <[EMAIL PROTECTED]> writes:
>>
>>Michael> Hi, I want to use a gif Image in my LyX document. I currently
>>Michael> use convert of ImageMagick, but the resulting eps-file is in
>>Michael> poor quality.
>>
>>Michael> Is there another possibility to use GIFs/JPEGs in LyX in Lyx
>>Michael> without loss of quality???
>>
>>Hello,
>>
>>I do not see another way of using GIF than a tool like ImageMagic.
>>However, it is probably possible to specify a resolution to ImageMagic
>>to get a good-looking images. There is not reason why the result
>>should be bad.
>>
>>JMarc

It might be bad if a resizing takes place, so take care to resize
the gif to the final size before converting to eps.
Converting to grayscale is a good idea as well if the final document
is b&w.

Regards

-- 
Jean-Pierre



Re: LyX: Using GIF Images?

2000-01-05 Thread Jean-Marc Lasgouttes

> "Michael" == Michael Sachau <[EMAIL PROTECTED]> writes:

Michael> Hi, I want to use a gif Image in my LyX document. I currently
Michael> use convert of ImageMagick, but the resulting eps-file is in
Michael> poor quality.

Michael> Is there another possibility to use GIFs/JPEGs in LyX in Lyx
Michael> without loss of quality???

Hello,

I do not see another way of using GIF than a tool like ImageMagic.
However, it is probably possible to specify a resolution to ImageMagic
to get a good-looking images. There is not reason why the result
should be bad.

JMarc