09-03-2002
I'm not sure if bmp will work... I know jpgs and gifs work.
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi i'm logged on to my schools unix machine via putty. how do i open/view a jpg picture file that is there on my root catalog? (2 Replies)
Discussion started by: javatutor
2 Replies
2. Shell Programming and Scripting
Can someone give me a script in php to:
Connect to Mysql: DB= content TABLE = message
Enter text , about 3000 characters, and put a image either left or right, top or bottom or the text.
Please someone make me this script, ive spent several hours trying to figure it out. (1 Reply)
Discussion started by: perleo
1 Replies
3. What is on Your Mind?
found a picture that discribe the rules!!! hehe (2 Replies)
Discussion started by: pressy
2 Replies
4. UNIX for Dummies Questions & Answers
On my Ultra 60, when booting and at the banner screen, on the top left is a picture of a globe. On another machine (Ultra 60) its a picture of a Sun. Is this something on the graphics card, or is this picture located somewhere else and able to be changed? (0 Replies)
Discussion started by: ridgeback00
0 Replies
5. UNIX for Dummies Questions & Answers
I would like to ask if I have already plot a graph using gnuplot, the setting(made by others) is in "gnuplot.defaults":
gnuplot> load '<ParadisDir>/inputs/gnuplot.defaults'
gnuplot> splot 'box.in' with lines, '0t0001' w lines
How to transform it to bmp file? (or other types of pictures?)
... (2 Replies)
Discussion started by: kelvin490
2 Replies
6. Shell Programming and Scripting
Hi -
The below code works perfectly for e-mailing HTML embeded with JPG picture
sendmail -t <<EOT
TO: ABC.TO@abc.com
FROM: ABC.FROM@abc.com
SUBJECT: Embed image test
MIME-Version: 1.0
Content-Type: multipart/related;boundary="XYZ"
--XYZ
Content-Type: text/html; charset=ISO-8859-15... (5 Replies)
Discussion started by: sivakumar121
5 Replies
7. Programming
Dear all,
I am working on writing the script which can read a file (having the html path for some pictures) and download those picture in the given local directory. Please find my iniatitve here, however I am still not able to figure out the 'download' command.
Any help is appreciated.
... (1 Reply)
Discussion started by: emily
1 Replies
LEARN ABOUT PLAN9
bitmap_mask_color
bitmap_mask_color(3alleg4) Allegro manual bitmap_mask_color(3alleg4)
NAME
bitmap_mask_color - Returns the mask color of the specified bitmap. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int bitmap_mask_color(BITMAP *bmp);
DESCRIPTION
Returns the mask color for the specified bitmap (the value which is skipped when drawing sprites). For 256-color bitmaps this is zero, and
for truecolor bitmaps it is bright pink (maximum red and blue, zero green). A frequent use of this function is to clear a bitmap with the
mask color so you can later use this bitmap with masked_blit() or draw_sprite() after drawing other stuff on it. Example:
/* Replace mask color with another color. */
for (y = 0; y h; y++)
for (x = 0; x w; x++)
if (getpixel(bmp, x, y) == bitmap_mask_color(bmp))
putpixel(bmp, x, y, another_color);
SEE ALSO
MASK_COLOR_8(3alleg4), set_color_depth(3alleg4), bitmap_color_depth(3alleg4), ex3d(3alleg4), exmouse(3alleg4), expat(3alleg4)
Allegro version 4.4.2 bitmap_mask_color(3alleg4)