Sponsored Content
Full Discussion: picture
Contact Us Post Here to Contact Site Administrators and Moderators picture Post 27520 by Neo on Tuesday 3rd of September 2002 08:21:02 AM
Old 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

open a picture file in unix (putty)

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

PHP: display text and picture

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!!

found a picture that discribe the rules!!! hehe (2 Replies)
Discussion started by: pressy
2 Replies

4. UNIX for Dummies Questions & Answers

Changing picture at banner?

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

Need help! How to gnuplot a picture??

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

Email with jpg picture embedded - inline

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

Download http picture using C++

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
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)
All times are GMT -4. The time now is 05:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy