Re: eps versus jpg

2004-04-29 Thread Marc Jeffrey Driftmeyer
Does MatLab support TIFF?

If so export via TIFF, launch the GIMP or Photoshop and use either app to deal 
with JPG.

If on Windows an excellent application dealing with various file formats is 
IrfanView.

http://www.irfanview.com

Grab both portions of the app and your jpgs, tiffs, etc.. will be fully 
compliant.

-Marc

On Wednesday 28 April 2004 21:33, Owen Lucas wrote:
 I use matlab and LyX all the time. I would simply suggest staying away
 from jpgs. The jpg output from matlab is usually poor quality and it
 only gets worse when the LyX output is produced. Enlighten me if there
 is a reason that jpg is the only way to go.

 Melanie Gross wrote:
  Hi,
 
  I inserted two images side by side and this works fine as long I insert
  two eps-files. If I want to insert an eps- and a jpg-file the jpg-image
  looks much smaller than the eps although both columns are sized 50% and
  the images within their columns are sized 100%. The jpg-file seems to
  have a white frame around it. I exported both images from matlab
  graphics, does the problem come from exporting and can I work around it
  in Lyx?
 
  Thank you,
  Melanie


Re: eps versus jpg

2004-04-29 Thread Marc Jeffrey Driftmeyer
One should use the graphics format best suited for the number of unique colors 
in the source file, as well as the one that produces the smallest output 
without losing quality.

-Marc

On Wednesday 28 April 2004 21:33, Owen Lucas wrote:
 I use matlab and LyX all the time. I would simply suggest staying away
 from jpgs. The jpg output from matlab is usually poor quality and it
 only gets worse when the LyX output is produced. Enlighten me if there
 is a reason that jpg is the only way to go.

 Melanie Gross wrote:
  Hi,
 
  I inserted two images side by side and this works fine as long I insert
  two eps-files. If I want to insert an eps- and a jpg-file the jpg-image
  looks much smaller than the eps although both columns are sized 50% and
  the images within their columns are sized 100%. The jpg-file seems to
  have a white frame around it. I exported both images from matlab
  graphics, does the problem come from exporting and can I work around it
  in Lyx?
 
  Thank you,
  Melanie


Re: eps versus jpg

2004-04-29 Thread Robert Orr
  
 If on Windows an excellent application dealing with
 various file formats is 
 IrfanView.
 
 http://www.irfanview.com
 
I've also found www.xnview.com to be very good for
handling images.






__
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 


Re: eps versus jpg

2004-04-29 Thread Jean-Pierre.Chretien

Date: Thu, 29 Apr 2004 14:03:22 +0930
From: Owen Lucas [EMAIL PROTECTED]
To: lyx-users [EMAIL PROTECTED]
Subject: Re: eps versus jpg

I use matlab and LyX all the time. I would simply suggest staying away 
from jpgs. The jpg output from matlab is usually poor quality and it 
only gets worse when the LyX output is produced. Enlighten me if there 
is a reason that jpg is the only way to go.

I guess that png export is better than jpg export, as
matlab creates vector-like bitmaps, so that straight lines
are messed up in jpg.

My personal rule:
jpg for pictures
png for graphics when eps is not available (screenshots, ...) 

-- 
Jean-Pierre





Re: eps versus jpg

2004-04-29 Thread Owen Lucas
yep I agree with that
oz
Jean-Pierre.Chretien wrote:

I guess that png export is better than jpg export, as
matlab creates vector-like bitmaps, so that straight lines
are messed up in jpg.
My personal rule:
jpg for pictures
png for graphics when eps is not available (screenshots, ...) 




Re: eps versus jpg

2004-04-29 Thread Marc Jeffrey Driftmeyer
Does MatLab support TIFF?

If so export via TIFF, launch the GIMP or Photoshop and use either app to deal 
with JPG.

If on Windows an excellent application dealing with various file formats is 
IrfanView.

http://www.irfanview.com

Grab both portions of the app and your jpgs, tiffs, etc.. will be fully 
compliant.

-Marc

On Wednesday 28 April 2004 21:33, Owen Lucas wrote:
 I use matlab and LyX all the time. I would simply suggest staying away
 from jpgs. The jpg output from matlab is usually poor quality and it
 only gets worse when the LyX output is produced. Enlighten me if there
 is a reason that jpg is the only way to go.

 Melanie Gross wrote:
  Hi,
 
  I inserted two images side by side and this works fine as long I insert
  two eps-files. If I want to insert an eps- and a jpg-file the jpg-image
  looks much smaller than the eps although both columns are sized 50% and
  the images within their columns are sized 100%. The jpg-file seems to
  have a white frame around it. I exported both images from matlab
  graphics, does the problem come from exporting and can I work around it
  in Lyx?
 
  Thank you,
  Melanie


Re: eps versus jpg

2004-04-29 Thread Marc Jeffrey Driftmeyer
One should use the graphics format best suited for the number of unique colors 
in the source file, as well as the one that produces the smallest output 
without losing quality.

-Marc

On Wednesday 28 April 2004 21:33, Owen Lucas wrote:
 I use matlab and LyX all the time. I would simply suggest staying away
 from jpgs. The jpg output from matlab is usually poor quality and it
 only gets worse when the LyX output is produced. Enlighten me if there
 is a reason that jpg is the only way to go.

 Melanie Gross wrote:
  Hi,
 
  I inserted two images side by side and this works fine as long I insert
  two eps-files. If I want to insert an eps- and a jpg-file the jpg-image
  looks much smaller than the eps although both columns are sized 50% and
  the images within their columns are sized 100%. The jpg-file seems to
  have a white frame around it. I exported both images from matlab
  graphics, does the problem come from exporting and can I work around it
  in Lyx?
 
  Thank you,
  Melanie


Re: eps versus jpg

2004-04-29 Thread Robert Orr
  
 If on Windows an excellent application dealing with
 various file formats is 
 IrfanView.
 
 http://www.irfanview.com
 
I've also found www.xnview.com to be very good for
handling images.






__
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 


Re: eps versus jpg

2004-04-29 Thread Jean-Pierre.Chretien

Date: Thu, 29 Apr 2004 14:03:22 +0930
From: Owen Lucas [EMAIL PROTECTED]
To: lyx-users [EMAIL PROTECTED]
Subject: Re: eps versus jpg

I use matlab and LyX all the time. I would simply suggest staying away 
from jpgs. The jpg output from matlab is usually poor quality and it 
only gets worse when the LyX output is produced. Enlighten me if there 
is a reason that jpg is the only way to go.

I guess that png export is better than jpg export, as
matlab creates vector-like bitmaps, so that straight lines
are messed up in jpg.

My personal rule:
jpg for pictures
png for graphics when eps is not available (screenshots, ...) 

-- 
Jean-Pierre





Re: eps versus jpg

2004-04-29 Thread Owen Lucas
yep I agree with that
oz
Jean-Pierre.Chretien wrote:

I guess that png export is better than jpg export, as
matlab creates vector-like bitmaps, so that straight lines
are messed up in jpg.
My personal rule:
jpg for pictures
png for graphics when eps is not available (screenshots, ...) 




Re: eps versus jpg

2004-04-29 Thread Marc Jeffrey Driftmeyer
Does MatLab support TIFF?

If so export via TIFF, launch the GIMP or Photoshop and use either app to deal 
with JPG.

If on Windows an excellent application dealing with various file formats is 
IrfanView.

http://www.irfanview.com

Grab both portions of the app and your jpgs, tiffs, etc.. will be fully 
compliant.

-Marc

On Wednesday 28 April 2004 21:33, Owen Lucas wrote:
> I use matlab and LyX all the time. I would simply suggest staying away
> from jpgs. The jpg output from matlab is usually poor quality and it
> only gets worse when the LyX output is produced. Enlighten me if there
> is a reason that jpg is the only way to go.
>
> Melanie Gross wrote:
> > Hi,
> >
> > I inserted two images side by side and this works fine as long I insert
> > two eps-files. If I want to insert an eps- and a jpg-file the jpg-image
> > looks much smaller than the eps although both columns are sized 50% and
> > the images within their columns are sized 100%. The jpg-file seems to
> > have a white frame around it. I exported both images from matlab
> > graphics, does the problem come from exporting and can I work around it
> > in Lyx?
> >
> > Thank you,
> > Melanie


Re: eps versus jpg

2004-04-29 Thread Marc Jeffrey Driftmeyer
One should use the graphics format best suited for the number of unique colors 
in the source file, as well as the one that produces the smallest output 
without losing quality.

-Marc

On Wednesday 28 April 2004 21:33, Owen Lucas wrote:
> I use matlab and LyX all the time. I would simply suggest staying away
> from jpgs. The jpg output from matlab is usually poor quality and it
> only gets worse when the LyX output is produced. Enlighten me if there
> is a reason that jpg is the only way to go.
>
> Melanie Gross wrote:
> > Hi,
> >
> > I inserted two images side by side and this works fine as long I insert
> > two eps-files. If I want to insert an eps- and a jpg-file the jpg-image
> > looks much smaller than the eps although both columns are sized 50% and
> > the images within their columns are sized 100%. The jpg-file seems to
> > have a white frame around it. I exported both images from matlab
> > graphics, does the problem come from exporting and can I work around it
> > in Lyx?
> >
> > Thank you,
> > Melanie


Re: eps versus jpg

2004-04-29 Thread Robert Orr
 > 
> If on Windows an excellent application dealing with
> various file formats is 
> IrfanView.
> 
> http://www.irfanview.com
 
I've also found www.xnview.com to be very good for
handling images.






__
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 


Re: eps versus jpg

2004-04-29 Thread Jean-Pierre.Chretien

>>Date: Thu, 29 Apr 2004 14:03:22 +0930
>>From: Owen Lucas <[EMAIL PROTECTED]>
>>To: lyx-users <[EMAIL PROTECTED]>
>>Subject: Re: eps versus jpg
>>
>>I use matlab and LyX all the time. I would simply suggest staying away 
>>from jpgs. The jpg output from matlab is usually poor quality and it 
>>only gets worse when the LyX output is produced. Enlighten me if there 
>>is a reason that jpg is the only way to go.

I guess that png export is better than jpg export, as
matlab creates vector-like bitmaps, so that straight lines
are messed up in jpg.

My personal rule:
jpg for pictures
png for graphics when eps is not available (screenshots, ...) 

-- 
Jean-Pierre





Re: eps versus jpg

2004-04-29 Thread Owen Lucas
yep I agree with that
oz
Jean-Pierre.Chretien wrote:

I guess that png export is better than jpg export, as
matlab creates vector-like bitmaps, so that straight lines
are messed up in jpg.
My personal rule:
jpg for pictures
png for graphics when eps is not available (screenshots, ...) 




eps versus jpg

2004-04-28 Thread Melanie Gross
Hi,
 
I inserted two images side by side and this works fine as long I insert
two eps-files. If I want to insert an eps- and a jpg-file the jpg-image
looks much smaller than the eps although both columns are sized 50% and
the images within their columns are sized 100%. The jpg-file seems to
have a white frame around it. I exported both images from matlab
graphics, does the problem come from exporting and can I work around it
in Lyx?
 
Thank you,
Melanie
 
 


Re: eps versus jpg

2004-04-28 Thread Georg Philipp Burth
Hi!

Melanie Gross [EMAIL PROTECTED] schrieb:
 The jpg-file seems to have a white frame around it. I exported both images 
 from matlab graphics, does the problem come from exporting and can I work 
 around it in Lyx?
  


Sorry, I don't know MatLab... But I think I can show you the workaround :) 

If you LeftClick on the Image in LyX the Graphics Dialog opens. In the
Clipping Tab you accept Clip to Bounding Box and then enter the dimension of
the BoundingBox.
Attention: The values for both Left Bottom and Right Top are counted from the
Left Bottom of the original picture! 
When I first used it I thought it was the amount to be cropped in both
cases... ;-)




Re: eps versus jpg

2004-04-28 Thread Helge Hafting
Melanie Gross wrote:
Hi,
 
I inserted two images side by side and this works fine as long I insert
two eps-files. If I want to insert an eps- and a jpg-file the jpg-image
looks much smaller than the eps although both columns are sized 50% and
the images within their columns are sized 100%. The jpg-file seems to
have a white frame around it. I exported both images from matlab
graphics, does the problem come from exporting and can I work around it
in Lyx?
A .eps has a particular size encoded in the file.  A .jpg doesn't,
it merely has a number of pixels which depends on how big a pixel is.
Therefore, 50% size for a .eps is 50% of the specified size.  A jpeg
might be displayed with half of its pixels removed, but the size
will then depend on screen resolution I believe.  Unless there is
some standard for how big a jpg pixel should be in lyx.  It'd still
be arbitrary though.
You may however specify the jpeg size in units (5cm, 2bp, and so on)
or in a percentage of column or page width.  That works the same way
for both .eps and .jpg, and lets you get same-sized graphichs.
Helge Hafting




Re: eps versus jpg

2004-04-28 Thread Owen Lucas
I use matlab and LyX all the time. I would simply suggest staying away 
from jpgs. The jpg output from matlab is usually poor quality and it 
only gets worse when the LyX output is produced. Enlighten me if there 
is a reason that jpg is the only way to go.

Melanie Gross wrote:
Hi,
 
I inserted two images side by side and this works fine as long I insert
two eps-files. If I want to insert an eps- and a jpg-file the jpg-image
looks much smaller than the eps although both columns are sized 50% and
the images within their columns are sized 100%. The jpg-file seems to
have a white frame around it. I exported both images from matlab
graphics, does the problem come from exporting and can I work around it
in Lyx?
 
Thank you,
Melanie
 
 




eps versus jpg

2004-04-28 Thread Melanie Gross
Hi,
 
I inserted two images side by side and this works fine as long I insert
two eps-files. If I want to insert an eps- and a jpg-file the jpg-image
looks much smaller than the eps although both columns are sized 50% and
the images within their columns are sized 100%. The jpg-file seems to
have a white frame around it. I exported both images from matlab
graphics, does the problem come from exporting and can I work around it
in Lyx?
 
Thank you,
Melanie
 
 


Re: eps versus jpg

2004-04-28 Thread Georg Philipp Burth
Hi!

Melanie Gross [EMAIL PROTECTED] schrieb:
 The jpg-file seems to have a white frame around it. I exported both images 
 from matlab graphics, does the problem come from exporting and can I work 
 around it in Lyx?
  


Sorry, I don't know MatLab... But I think I can show you the workaround :) 

If you LeftClick on the Image in LyX the Graphics Dialog opens. In the
Clipping Tab you accept Clip to Bounding Box and then enter the dimension of
the BoundingBox.
Attention: The values for both Left Bottom and Right Top are counted from the
Left Bottom of the original picture! 
When I first used it I thought it was the amount to be cropped in both
cases... ;-)




Re: eps versus jpg

2004-04-28 Thread Helge Hafting
Melanie Gross wrote:
Hi,
 
I inserted two images side by side and this works fine as long I insert
two eps-files. If I want to insert an eps- and a jpg-file the jpg-image
looks much smaller than the eps although both columns are sized 50% and
the images within their columns are sized 100%. The jpg-file seems to
have a white frame around it. I exported both images from matlab
graphics, does the problem come from exporting and can I work around it
in Lyx?
A .eps has a particular size encoded in the file.  A .jpg doesn't,
it merely has a number of pixels which depends on how big a pixel is.
Therefore, 50% size for a .eps is 50% of the specified size.  A jpeg
might be displayed with half of its pixels removed, but the size
will then depend on screen resolution I believe.  Unless there is
some standard for how big a jpg pixel should be in lyx.  It'd still
be arbitrary though.
You may however specify the jpeg size in units (5cm, 2bp, and so on)
or in a percentage of column or page width.  That works the same way
for both .eps and .jpg, and lets you get same-sized graphichs.
Helge Hafting




Re: eps versus jpg

2004-04-28 Thread Owen Lucas
I use matlab and LyX all the time. I would simply suggest staying away 
from jpgs. The jpg output from matlab is usually poor quality and it 
only gets worse when the LyX output is produced. Enlighten me if there 
is a reason that jpg is the only way to go.

Melanie Gross wrote:
Hi,
 
I inserted two images side by side and this works fine as long I insert
two eps-files. If I want to insert an eps- and a jpg-file the jpg-image
looks much smaller than the eps although both columns are sized 50% and
the images within their columns are sized 100%. The jpg-file seems to
have a white frame around it. I exported both images from matlab
graphics, does the problem come from exporting and can I work around it
in Lyx?
 
Thank you,
Melanie
 
 




eps versus jpg

2004-04-28 Thread Melanie Gross
Hi,
 
I inserted two images side by side and this works fine as long I insert
two eps-files. If I want to insert an eps- and a jpg-file the jpg-image
looks much smaller than the eps although both columns are sized 50% and
the images within their columns are sized 100%. The jpg-file seems to
have a white frame around it. I exported both images from matlab
graphics, does the problem come from exporting and can I work around it
in Lyx?
 
Thank you,
Melanie
 
 


Re: eps versus jpg

2004-04-28 Thread Georg Philipp Burth
Hi!

Melanie Gross <[EMAIL PROTECTED]> schrieb:
> The jpg-file seems to have a white frame around it. I exported both images 
> from matlab graphics, does the problem come from exporting and can I work 
> around it in Lyx?
>  


Sorry, I don't know MatLab... But I think I can show you the workaround :) 

If you LeftClick on the Image in LyX the Graphics Dialog opens. In the
Clipping Tab you accept "Clip to Bounding Box" and then enter the dimension of
the BoundingBox.
Attention: The values for both Left Bottom and Right Top are counted from the
Left Bottom of the original picture! 
When I first used it I thought it was the amount to be cropped in both
cases... ;-)




Re: eps versus jpg

2004-04-28 Thread Helge Hafting
Melanie Gross wrote:
Hi,
 
I inserted two images side by side and this works fine as long I insert
two eps-files. If I want to insert an eps- and a jpg-file the jpg-image
looks much smaller than the eps although both columns are sized 50% and
the images within their columns are sized 100%. The jpg-file seems to
have a white frame around it. I exported both images from matlab
graphics, does the problem come from exporting and can I work around it
in Lyx?
A .eps has a particular size encoded in the file.  A .jpg doesn't,
it merely has a number of pixels which depends on how big a pixel is.
Therefore, 50% size for a .eps is 50% of the specified size.  A jpeg
might be displayed with half of its pixels removed, but the size
will then depend on screen resolution I believe.  Unless there is
some "standard" for how big a jpg pixel should be in lyx.  It'd still
be arbitrary though.
You may however specify the jpeg size in units (5cm, 2bp, and so on)
or in a percentage of column or page width.  That works the same way
for both .eps and .jpg, and lets you get same-sized graphichs.
Helge Hafting




Re: eps versus jpg

2004-04-28 Thread Owen Lucas
I use matlab and LyX all the time. I would simply suggest staying away 
from jpgs. The jpg output from matlab is usually poor quality and it 
only gets worse when the LyX output is produced. Enlighten me if there 
is a reason that jpg is the only way to go.

Melanie Gross wrote:
Hi,
 
I inserted two images side by side and this works fine as long I insert
two eps-files. If I want to insert an eps- and a jpg-file the jpg-image
looks much smaller than the eps although both columns are sized 50% and
the images within their columns are sized 100%. The jpg-file seems to
have a white frame around it. I exported both images from matlab
graphics, does the problem come from exporting and can I work around it
in Lyx?
 
Thank you,
Melanie