Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Sunshow Pro V3.0 - <b>convert2</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Convert2

Convert one image file format to another (abbreviated version)


Syntax

CONVERT2 [/i] [/tif42] [/16] [/24] [/32] <cSOURCE.EXT> <cDEST.EXT> [<nVMode>]


Switch

/i
Make destination interlaced (GIF only).

/16
Save as a 16-bit RGB image (Targa only).

/24
Save as a 24-bit RGB image (Targa only).

/32
Save as a 32-bit RGB image (Targa only).


Arguments

<cSOURCE.EXT>
The source image file.

<cDEST.EXT>
The destination image file.

[<nVMode>]
The video mode required for Halo PIC images.


Remarks

Convert2 is a lean-and-mean, mini-converter that supports the most popular 
formats only and is used where conventional memory may be limited.  It may 
be shelled-to from within many applications without swapping out your 
application. It will run in 130K conventional memory.

Note: Another file converter, Convert, is part of Sunshow, standard edition 
and documented in the Sunshow User Guide. Convert supports a wider variety 
of file formats but requires more memory than Convert2.

Convert2 supports the popular raster image formats, is quick and easy to 
use, it reliably supports the formats listed below to the designers 
specifications, and uses video memory for the conversions. The Convert2 
program converts one image file format to another by displaying then 
grabbing the image. Image file extensions for input file and output file are 
required. Valid extensions are the following:

GIF     CompuServe GIF 87A

PCX     ZSoft PCX 3.0

PIC     Dr. Halo, Media Cybernetics PIC (requires <nVMode> parameter)

RAW     Perfect Vision (read only)

TGA     Truevision Targa 1.0/2.0 Compressed and Uncompressed 
        8, 16, 24, 32-bit

TIF     Tag Image File Format, Versions 4.2/5.0 B&W, Color Mapped, RGB


Example

To convert a PCX image, IMAGE1.PCX, to an interlaced GIF image, IMAGE1.GIF:

CONVERT2 /I IMAGE1.PCX IMAGE1.GIF

To convert a GIF image, IMAGE2.GIF to a 16-bit Targa image, IMAGE2.TGA:

CONVERT /16 MOUNT.GIF RANIER.TGA

To convert a GIF image, FORMAT.GIF, to a TIFF 5.0 Color-Mapped image, 
FORMAT.TIF:

CONVERT FORMAT.GIF FORMAT.TIF



See Also: TGA2CEG CEGFlash TGA2JPEG CEG2TGA JPEG2TGA

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson