Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

shp2pcx(1) [debian man page]

shp2pcx(1)						      General Commands Manual							shp2pcx(1)

NAME
shp2pcx - extract images from a Shape (SHP) file into PCX files SYNOPSIS
shp2pcx SHAPE PREFIX PALETTE DESCRIPTION
shp2pcx converts all frames contained in a Shape file into PCX-format image files. Shape files are used for storage of all visible elements (from UI buttons to terrain features) of the games Exult supports. SHAPE is the name of the Shape file acting as the source. Frames contained therein are saved as PCX files named PREFIXnn.pcx with nn replaced by the frame number (counting from zero). All PCX files get their palette from PALETTE. Before extraction the number of frames, and the Shape's origin coordinates are shown. Additionally, extraction progress is communicated by printing a message containing the resulting file's name for every processed frame. EXAMPLES
shp2pcx orc.shp orc std.pal Takes the frames contained in the Shape file orc.shp, and saves them with the palette from std.pal into PCX files orc00.pcx, orc01.pcx, orc02.pcx, etc. AUTHOR
This manpage was written by Robert Bihlmeyer. It may be freely redistributed and modified under the terms of the GNU General Public License version 2 or higher. SEE ALSO
exult(6), pcxtoppm(1), splitshp(1) Exult 2002-03-24 shp2pcx(1)

Check Out this Related Man Page

load_bitmap(3alleg4)						  Allegro manual					      load_bitmap(3alleg4)

NAME
load_bitmap - Loads any supported bitmap from a file. Allegro game programming library. SYNOPSIS
#include <allegro.h> BITMAP *load_bitmap(const char *filename, RGB *pal); DESCRIPTION
Loads a bitmap from a file. The palette data will be stored in the second parameter, which should be an array of 256 RGB structures. At present this function supports BMP, LBM, PCX, and TGA files, determining the type from the file extension. If the file contains a truecolor image, you must set the video mode or call set_color_conversion() before loading it. In this case, if the destination color depth is 8-bit, the palette will be generated by calling generate_optimized_palette() on the bitmap; otherwise, the returned palette will be generated by calling generate_332_palette(). The pal argument may be NULL. In this case, the palette data are simply not returned. Additionally, if the file is a truecolor image and the destination color depth is 8-bit, the color conversion process will use the current palette instead of generating an optimized one. Example: BITMAP *bmp; PALETTE palette; ... bmp = load_bitmap("image.pcx", palette); if (!bmp) abort_on_error("Couldn't load image.pcx!"); ... destroy_bitmap(bmp); RETURN VALUE
Returns a pointer to the bitmap or NULL on error. Remember that you are responsible for destroying the bitmap when you are finished with it to avoid memory leaks. SEE ALSO
load_bmp(3alleg4), load_lbm(3alleg4), load_pcx(3alleg4), load_tga(3alleg4), destroy_bitmap(3alleg4), save_bitmap(3alleg4), register_bit- map_file_type(3alleg4), set_color_depth(3alleg4), set_color_conversion(3alleg4), generate_optimized_palette(3alleg4), generate_332_pal- ette(3alleg4) Allegro version 4.4.2 load_bitmap(3alleg4)
Man Page

2 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Need help for data extraction if files

Hello all, I want to extract some particular data from a files and than add all the values . but i m not able to cut the particular word(USU-INOCT and USU-OUTOCT) as it is coming not in column. and than able to add values coming in it . can anyone help me Please cat <file name> ... (7 Replies)
Discussion started by: anamdev
7 Replies

2. Shell Programming and Scripting

Unique extraction of rows

I do have a tab delimited file of the following format: 431 kat1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 432 kat2 2 NA NA NA NA NA NA NA NA NA NA NA NA NA 433 KATe NA 3 NA NA 6 NA NA NA 10 11 NA NA NA NA 542 Kaed 2 NA NA NA NA NA NA NA NA NA NA NA NA NA 543 hkwuy NA NA NA NA 6 NA NA NA NA 11 NA NA... (11 Replies)
Discussion started by: Kanja
11 Replies