🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.amiga.graphics
4 messages
4 total messages Started by Andrew Bruno Fri, 12 Apr 1996 08:35
colour numbers in pictures.
#9170
Author: Andrew Bruno
Date: Fri, 12 Apr 1996 08:35
19 lines
716 bytes
Hello....

In an iff piccie the colour numbers are:

2, 4, 8, 16, 32, 64, 128 and 256.

But the number used MAY be less.

Is there a program that allows "me" to reduce the number of used colours from 
say 32 to 24?

I have AdPro, but it seems to lack that "feature"....  To call it that.

Any ideas?

Pleaes reply direct to me.

TIA
Andrew
Re: colour numbers in pictures.
#9178
Author: barnhoorn
Date: Fri, 12 Apr 1996 13:02
30 lines
1782 bytes
In article <316E9640.3C0B@ptfe12.hro.nl>, Wooly Mittens <0201367@ptfe12.hro.nl> writes:
>Andrew Bruno wrote:
>> 
>> Is there a program that allows "me" to reduce the number of used colours from
>> say 32 to 24?
>
>It' wouldn't do you any good: the way it works is as follows
> ...
>and since half a bit does not exist reducing colors from 32 to 24 would
>not decrease the size of the bitmap (though maybe the pallete but it is small
>anyway) and thus be nogood in particular to anybody.
>

Reducing colors from 32 to 24 means you have 8 palette-entries left for
colors you may use for yourself, e.g. your GUI or whatever.
IPR can reduce your image from 32 to 24 or whatever number of colors
you like, leaving a number of empty palette-entries, which you may
modify to whatever you wish. IPR also allows you to sort the palette,
so that the unused palette-entries will be placed in front or in the
back of the palette. Check out aminet, there is a demo of it in
gfx/conv.

-- 
---------------------------------------------------------------------------
Jaco Barnhoorn               barnie@xs4all.nl
Software Test Engineer       barnhoorn%nlev00@btmv56.se.bel.alcatel.be
Alcatel Telecom Systems
Rijswijk, The Netherlands
---------------------------------------------------------------------------
Re: colour numbers in pictures.
#9175
Author: Wooly Mittens
Date: Fri, 12 Apr 1996 17:43
36 lines
1787 bytes
Andrew Bruno wrote:
> 
> Hello....
> 
> In an iff piccie the colour numbers are:
> 
> 2, 4, 8, 16, 32, 64, 128 and 256.
> 
> But the number used MAY be less.
> 
> Is there a program that allows "me" to reduce the number of used colours from
> say 32 to 24?

It' wouldn't do you any good: the way it works is as follows
you get a bitmap that you can put pixels on and are displayed on screen
                    00000000
                    00011000
                    00100100
                    00011000 black square with small white circle)
                    00000000 
but with one layer of 1's and zero's you'd get only 2 posibilities(colors) for
each pixel.
So we overlay another bitmap on top of it this doubles the posibilities
from 2 colors to 4 every pixel could have either 00,01,10 or 11

adding another bit per pixel would double the fun again from 4 to 8 colors
000,001,010,011,100,101,110,111

You could continue doing this from 2,4,8,16,32,64,128,256 colors with
                                   1,2,3, 4, 5, 6,  7,  8 bit per pixel

and since half a bit does not exist reducing colors from 32 to 24 would
not decrease the size of the bitmap (though maybe the pallete but it is small
anyway) and thus be nogood in particular to anybody.

Wooly Mittens
Re: colour numbers in pictures.
#9203
Author: Herbert Klackl
Date: Sat, 13 Apr 1996 20:23
52 lines
2149 bytes
In a message from 12-Apr-96 09:35:34, Andrew Bruno wrote:

>In an iff piccie the colour numbers are:

>2, 4, 8, 16, 32, 64, 128 and 256.

If we forget about HAM(6/8) for the moment then yes.

>But the number used MAY be less.

Of course.

>Is there a program that allows "me" to reduce the number of used colours from
> say 32 to 24?

There are some programs for this job e.g. PPaint, AdPRO etc.

>I have AdPro, but it seems to lack that "feature"....  To call it that.

What do I have to hear young man! Look two lines above and see what I've
written! ;-)

You control this feature by use of the palette (Menu Display/Palette
(RAmiga+T).

If you are in the "Palette Control" window activate "Custom Palette" and then
you can choose how many of the actual colors you want to use.

If for example you want to leave the first 8 colors of a 256 color picture
free then set "Colors (Used)" to 248 and "Offset Color Zero" to 8.

If you want to leave the last 16 colors of a 256 color picture free then set
"Colors (Used)" to 240 and "Offset Color Zero" to 0.

If you want to leave the first 6 colors and the last 2 colors of a 256 picture
free then set "Color (Used)" to 248 and "Offset Color Zero" to 6.

The easiest way to control your settings is to select the "Edit..." gadget in
the "Palette Control" window and set all colors to e.g. black on the "Palette
Editor" screen. Then activate your changes, render your picture and check the
"Palette Editor" screen again to see which colors have been used.

Hope I could help.

Replied also by email.



By Herby
--
 EMail: hak@vip.at | A4000/030 + 2 MB Chip + 16 MB Fast | Millergasse 3/2
 IRC:   HAK        |  + 1032 MB HD + 6x CD-ROM + CV 64  | A-1060  WIEN
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads