03-28-2001
On windows we can save the screen in a .bmp file format. I sit possible to do the same thing in Unix?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
what filesystem does unix use? i have a server what had windows loaded on it and when i tried to load a unix image it gives me the error message:
mit_hard0 failed
Fatal error: a critical disk initialization utility has failed on the primary disk
error: /mitram/lib/mit_hd has failed, exiting... (1 Reply)
Discussion started by: ahaurek
1 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I am running Sco Openserver 5.0.5. I need to be able to print images from this server. When I try to print the file it prints out a bunch of garbage(source).
Is there a viewer available so that I can print these image files??
Or is there anther way to print images.
Thanks (1 Reply)
Discussion started by: stufine
1 Replies
3. UNIX for Dummies Questions & Answers
I am using a counter on Comcast and I have it working OK. What I need to do is to add the width and height of 'counter.gif'. Below is the statement I am using:
&richportal is the counter name on the Comcast Server. EX: w=10px h=10px
<img src="/cgi-bin/counter.gif?&richportal">
Thanks: Barry (0 Replies)
Discussion started by: barrie
0 Replies
4. Windows & DOS: Issues & Discussions
I would like to insert a .gif image into a text file that is generated by a Unix-based database application.
Can anyone please tell me how I can achieve this? (7 Replies)
Discussion started by: sunita_rao
7 Replies
5. UNIX for Advanced & Expert Users
Hi, (HP-UX 11.11)
I need to create a tape image of an igniteUX image created on our igniteUX server.
That is to say. I have a "Online" image of the igniteUX of the targeted system but I now need to copy it to a useable TAPE (igniteUX) image so i can build an other server from it that is not... (3 Replies)
Discussion started by: Andrek
3 Replies
6. Web Development
Hi All,
I have an image stored in my solaris server path /usr/Apps/TEMP directory.
I have created this image at runtime.
I have my web application dployed in my webserver path /usr/Apps/tomcat/jakarta-tomcat-5.5.7/webapps/DispReports
From a jsp file available under my DispReports folder, I... (1 Reply)
Discussion started by: nsurendiran
1 Replies
7. UNIX for Advanced & Expert Users
Hi,
Is there any inbuild tool or software through which we can take system image of any unix system?
Please suggest.
Regards,
Ravi D (9 Replies)
Discussion started by: dwiravi
9 Replies
8. Shell Programming and Scripting
Hi, I have two sets of image files. Both sets have names A to Z but set 1 ends with .cdt.png and set 2 ends with .matrix.png. I want set 1 to match with set 2 if the names match (i.e. A.cdt.png will match with A.matrix.png) and with the convert image tool (program for images), it will merge the... (6 Replies)
Discussion started by: kylle345
6 Replies
9. UNIX for Dummies Questions & Answers
Hello, I've got an Ultrix 4.2 ISO file (gxemul doesn't recognize it when I type gxemul -X -e 3max -d rootdisk.img -d Ultrix4_2.iso)
So I read some other posts which show that this can be done via a UFS CDROM image. But I don't know how to create one. Anyway, I think the ISO file could be in... (0 Replies)
Discussion started by: lucky7456969
0 Replies
LEARN ABOUT PHP
save_bitmap
save_bitmap(3alleg4) Allegro manual save_bitmap(3alleg4)
NAME
save_bitmap - Saves a bitmap into any supported file format. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int save_bitmap(const char *filename, BITMAP *bmp, const RGB *pal);
DESCRIPTION
Writes a bitmap into a file, using the specified palette, which should be an array of 256 RGB structures. The output format is determined
from the filename extension: at present this function supports BMP, PCX and TGA formats.
Two things to watch out for: on some video cards it may be faster to copy the screen to a memory bitmap and save the latter, and if you use
this to dump the screen into a file you may end up with an image much larger than you were expecting, because Allegro often creates virtual
screens larger than the visible screen. You can get around this by using a sub-bitmap to specify which part of the screen to save, eg:
BITMAP *bmp;
PALETTE pal;
...
get_palette(pal);
bmp = create_sub_bitmap(screen, 0, 0, SCREEN_W, SCREEN_H);
save_bitmap("dump.pcx", bmp, pal);
destroy_bitmap(bmp);
RETURN VALUE
Returns non-zero on error.
SEE ALSO
save_bmp(3alleg4), save_pcx(3alleg4), save_tga(3alleg4), load_bitmap(3alleg4), register_bitmap_file_type(3alleg4)
Allegro version 4.4.2 save_bitmap(3alleg4)