03-21-2002
Thanks fellas, I will do some tests. with the ones you guys
have mention.
/hex
5 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Where can i find editors for UNIX?
thanks (5 Replies)
Discussion started by: Inbal
5 Replies
2. UNIX for Dummies Questions & Answers
I was wondering what other mail utilities besides 'mutt, unix mail, PINE and elm' are available for unix.
Also, what other editors are around besides 'VI, pico, vim and emacs'... I've been searching the net looking for some answers, but nothing much has come up.. thanx! (1 Reply)
Discussion started by: Shonnie
1 Replies
3. Windows & DOS: Issues & Discussions
jEdit, Total Edit, EDXOR, all have one thing in common -- whatever they save in what they call "Unix" encoding and line endings inevitably shows up in a CLI text editor like pico or vim having garbage characters somewhere close to the beginning or, though this is more rare, somewhere in the body of... (0 Replies)
Discussion started by: SilversleevesX
0 Replies
4. UNIX and Linux Applications
What is everyones opinions on these video editors?
PiTiVi
Avidemux
Cinelerra
Kdenlive
Kino
Linux Video Editing: Top Five Linux Video Editors (0 Replies)
Discussion started by: cokedude
0 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
I have 3-4 years of experience working on unix environment. I am not a beginner, but unix is not my primary skill set. I am very good at awk programming and doing many of my tasks very well, really very weak on basics. I moved to a new job recently and the settings there are driving me... (5 Replies)
Discussion started by: ysvsr1
5 Replies
LEARN ABOUT OSX
generate_optimized_palette
generate_optimized_palette(3alleg4) Allegro manual generate_optimized_palette(3alleg4)
NAME
generate_optimized_palette - Generates an optimized palette for a bitmap. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int generate_optimized_palette(BITMAP *bmp, PALETTE pal, const char rsvd[PAL_SIZE]);
DESCRIPTION
Generates a 256-color palette suitable for making a reduced color version of the specified truecolor image. The rsvd parameter points to a
table indicating which colors it is allowed to modify: zero for free colors which may be set to whatever the optimiser likes, negative val-
ues for reserved colors which cannot be used, and positive values for fixed palette entries that must not be changed, but can be used in
the optimisation.
RETURN VALUE
Returns the number of different colors recognised in the provided bitmap, zero if the bitmap is not a truecolor image or there wasn't
enough memory to perform the operation, and negative if there was any internal error in the color reduction code.
SEE ALSO
generate_332_palette(3alleg4), set_color_depth(3alleg4)
Allegro version 4.4.2 generate_optimized_palette(3alleg4)