Re: How to create a good looking and memory conserving full page graphic? SOLVED

2007-05-18 Thread Steve Litt
On Friday 18 May 2007 14:57, Steve Litt wrote:
 Hi all,

 The cover of my Ebook was created in Vim, and is incorporated on the first
 page of my LyX file as a .jpg. I started with an 8.5x11 drawing in Gimp,
 but it was too huge and I had to scale the image to quarter size and put it
 in LyX. If I scaled using linear interpolation, the letters were blurry at
 higher magnifications. If I scaled using cubic or Lanczos interpolation, it
 caused some disturbing artifacts, especially at higher magnifications
 within the .pdf file.

 Anyone know of a way I can use a full sized 8.5x11 graphic without it
 taking over a megabyte of memory? One would think it would be very
 compressible. Over half the graphic is contiguous pure white, with another
 10% contiguous pure black.

I figured it out. With a really big graphic, you you must create the graphic 
as a .eps, and within LyX include that .eps. Whatever graphic conversion 
programs LyX uses blows converts from .jpg or .png to a HUGE .eps, much 
bigger than the .eps would be if you created it directly from Gimp.

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: How to create a good looking and memory conserving full page graphic? SOLVED

2007-05-18 Thread Les Denham
On Friday 18 May 2007 14:09, Steve Litt wrote:
  Anyone know of a way I can use a full sized 8.5x11 graphic without it
  taking over a megabyte of memory? One would think it would be very
  compressible. Over half the graphic is contiguous pure white, with
  another 10% contiguous pure black.

 I figured it out. With a really big graphic, you you must create the
 graphic as a .eps, and within LyX include that .eps. Whatever graphic
 conversion programs LyX uses blows converts from .jpg or .png to a HUGE
 .eps, much bigger than the .eps would be if you created it directly from
 Gimp.

Steve,

Probably the best way of getting a full page graphic with a reasonable file 
size is to use a vector graphic.  I haven't used them for covers, but I have 
used them for full page illustrations within a document.  Some vector graphic 
formats can be taken care of automatically with Lyx -- Grace .agr format, for 
example, which I use very often -- while others you might export as a .eps 
file from the application that generates the graphic.
-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: How to create a good looking and memory conserving full page graphic? SOLVED

2007-05-18 Thread Julio Rojas

But if you still want to use a bitmap format, old plain GIF seems to be the
solution for this case. Just index your figure with as few colors as
possible. For this kind of situations GIF does a way better job than JPG.

On 5/18/07, Les Denham [EMAIL PROTECTED] wrote:


On Friday 18 May 2007 14:09, Steve Litt wrote:
  Anyone know of a way I can use a full sized 8.5x11 graphic without it
  taking over a megabyte of memory? One would think it would be very
  compressible. Over half the graphic is contiguous pure white, with
  another 10% contiguous pure black.

 I figured it out. With a really big graphic, you you must create the
 graphic as a .eps, and within LyX include that .eps. Whatever graphic
 conversion programs LyX uses blows converts from .jpg or .png to a HUGE
 .eps, much bigger than the .eps would be if you created it directly from
 Gimp.

Steve,

Probably the best way of getting a full page graphic with a reasonable
file
size is to use a vector graphic.  I haven't used them for covers, but I
have
used them for full page illustrations within a document.  Some vector
graphic
formats can be taken care of automatically with Lyx -- Grace .agr format,
for
example, which I use very often -- while others you might export as a .eps
file from the application that generates the graphic.
--
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html





--
-
Julio Rojas
[EMAIL PROTECTED]


Re: How to create a good looking and memory conserving full page graphic? SOLVED

2007-05-18 Thread Steve Litt
On Friday 18 May 2007 14:57, Steve Litt wrote:
 Hi all,

 The cover of my Ebook was created in Vim, and is incorporated on the first
 page of my LyX file as a .jpg. I started with an 8.5x11 drawing in Gimp,
 but it was too huge and I had to scale the image to quarter size and put it
 in LyX. If I scaled using linear interpolation, the letters were blurry at
 higher magnifications. If I scaled using cubic or Lanczos interpolation, it
 caused some disturbing artifacts, especially at higher magnifications
 within the .pdf file.

 Anyone know of a way I can use a full sized 8.5x11 graphic without it
 taking over a megabyte of memory? One would think it would be very
 compressible. Over half the graphic is contiguous pure white, with another
 10% contiguous pure black.

I figured it out. With a really big graphic, you you must create the graphic 
as a .eps, and within LyX include that .eps. Whatever graphic conversion 
programs LyX uses blows converts from .jpg or .png to a HUGE .eps, much 
bigger than the .eps would be if you created it directly from Gimp.

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: How to create a good looking and memory conserving full page graphic? SOLVED

2007-05-18 Thread Les Denham
On Friday 18 May 2007 14:09, Steve Litt wrote:
  Anyone know of a way I can use a full sized 8.5x11 graphic without it
  taking over a megabyte of memory? One would think it would be very
  compressible. Over half the graphic is contiguous pure white, with
  another 10% contiguous pure black.

 I figured it out. With a really big graphic, you you must create the
 graphic as a .eps, and within LyX include that .eps. Whatever graphic
 conversion programs LyX uses blows converts from .jpg or .png to a HUGE
 .eps, much bigger than the .eps would be if you created it directly from
 Gimp.

Steve,

Probably the best way of getting a full page graphic with a reasonable file 
size is to use a vector graphic.  I haven't used them for covers, but I have 
used them for full page illustrations within a document.  Some vector graphic 
formats can be taken care of automatically with Lyx -- Grace .agr format, for 
example, which I use very often -- while others you might export as a .eps 
file from the application that generates the graphic.
-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: How to create a good looking and memory conserving full page graphic? SOLVED

2007-05-18 Thread Julio Rojas

But if you still want to use a bitmap format, old plain GIF seems to be the
solution for this case. Just index your figure with as few colors as
possible. For this kind of situations GIF does a way better job than JPG.

On 5/18/07, Les Denham [EMAIL PROTECTED] wrote:


On Friday 18 May 2007 14:09, Steve Litt wrote:
  Anyone know of a way I can use a full sized 8.5x11 graphic without it
  taking over a megabyte of memory? One would think it would be very
  compressible. Over half the graphic is contiguous pure white, with
  another 10% contiguous pure black.

 I figured it out. With a really big graphic, you you must create the
 graphic as a .eps, and within LyX include that .eps. Whatever graphic
 conversion programs LyX uses blows converts from .jpg or .png to a HUGE
 .eps, much bigger than the .eps would be if you created it directly from
 Gimp.

Steve,

Probably the best way of getting a full page graphic with a reasonable
file
size is to use a vector graphic.  I haven't used them for covers, but I
have
used them for full page illustrations within a document.  Some vector
graphic
formats can be taken care of automatically with Lyx -- Grace .agr format,
for
example, which I use very often -- while others you might export as a .eps
file from the application that generates the graphic.
--
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html





--
-
Julio Rojas
[EMAIL PROTECTED]