Re: 24bit tga

2000-08-06 Thread Ingo Ruhnke

James Smaby [EMAIL PROTECTED] writes:

 24bit = RGB
 flatten an alpha that might be there.
 Just save in tga format.

Flatting the alpha channel is a bad idea when the image should be used
in a game. Since you probably want a clean-outline for the object in
the image and that will be lost when you flatten the image.

If the game can't handle the alpha channel then you have to flatten it
*after* you removed all the anti-aliasing and blending on the outline
of the object. To get this done make:

* Add alpha channel
* Select the alpha channel
* Play with the Colors-Levels tool until all blending into
  transparent is gone and the layer mask contains only black and white
* Then apply the layermask and flatten the image to an extreme color
  (for example bright pink) which is not used in your image

-- 
ICQ: 59461927  http://www.pingus.cx | 
Ingo Ruhnke [EMAIL PROTECTED] http://home.pages.de/~grumbel/ |
'



Re: converting to indexed and loss of quality

2000-08-06 Thread dave

Thanks for everyone's replys. The solution works fine, although it's a
shame you need to know your background for a transparent gif )-;

I was wondering, is there a script-fu that would do this, i.e.

add a layer
fill with colour (parameter)
merge visible layers
select by colour (same parameter)
remove selection

If not, is that easy to do? Maybe I'll learn scripts.

thanks
Dave

dave wrote:
 
 I've been using gimp for a short while now, and the one problem that
 keeps
 coming up is when I convert an RGB image to indexed, to save as a gif
 with a transparent background.
 
 I (think I) understand the issues with converting RGB colour to
 indexed, but what I don't understand is that I always seem to lose
 quality too (I guess that's somehow also a colour problem?)
 
 Even if I do nice simple fonts, in black, on a transparent background,
 I lose quality of the fonts on converting to indexed. I either lose
 nice smooth edges, or pixels within narrow parts of small fonts, or
 both.
 
 Why is this, and is there anything I can do about it? I need to do a
 lot of simple colour fonts with transparent backgrounds, so this is a
 real problem for me.
 
 many thanks
 Dave



Re: GIMP v1.1.24 RPM Take 2

2000-08-06 Thread James Smaby

Uninstall the other programs first, or do
rpm -ivh foo-bar.rpm --force



??? (??)

2000-08-06 Thread clemensF

many of you will not like to read this, as it is a set of newbie questions
of the most repelling sort.

some will hope to read the answers later...

1.  what is an alpha [channel]?
2.  what's the difference between layers, channels and paths?
3.  is there a reasonable functional complement regarding vectors?
reasonable is available on freebsd or some other unix, and functional
complement means:  if i want to specify objects and motion using
vectors, can i make and render pretty surfaces in a jiffy with the
gimp?  or have it cooperate in 2d?

(4. how do i make use of histograms?
 5. is there anything one can /not/ do with adequately defined brushes?
i'd like a broad, but memorable overview over defining and using brushes)

thanks in advance, and i really mean it.

clemens



Re: GIMP v1.1.24 RPM Take 2

2000-08-06 Thread clemensF

 Andrew J Fortune:

 Following up on a previous posting, I am still trying to install GIMP
 approach of installing an RPM.
 
 gimp-1.1.24-2.i686.rpm), I got the following errors :
 "error: failed dependencies:
 follows (rpm -Uvh gtk-1.2.8-24.i386.rpm), but got a long string of errors
 (rpm -Uvh perl-5.005_03-172.i386.rpm), and got errors like the following :
 dependency errors when installing GIMP ?

you lucky devil you!  rpm is soo smart!!!  think of all the errors
you might have done right!  no wait!  all the right things errornouous

 Thanks in advance,

yeah me too!

clemens



Re: converting to indexed and loss of quality

2000-08-06 Thread Chetan Dhavse



On Sat, 5 Aug 2000, dave wrote:

 I've been using gimp for a short while now, and the one problem that
 keeps
 coming up is when I convert an RGB image to indexed, to save as a gif
 with a transparent background.
 
 I (think I) understand the issues with converting RGB colour to
 indexed, but what I don't understand is that I always seem to lose
 quality too (I guess that's somehow also a colour problem?)
 
 Even if I do nice simple fonts, in black, on a transparent background,
 I lose quality of the fonts on converting to indexed. I either lose
 nice smooth edges, or pixels within narrow parts of small fonts, or
 both.
 
 Why is this, and is there anything I can do about it? I need to do a
 lot of simple colour fonts with transparent backgrounds, so this is a
 real problem for me.
 
 many thanks
 Dave
 
 

Since we are on topic of transperencyI use gimp-perl for scripting to
draw several types of charts my main problem was to add a gif comment
which is not possible by using gimp-1.1 so I came across Giftrans
which allows me to add a comment as well as make the Image transperent
with out the loss to the quality of the image.

Any comments


Chetan