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>ceg2tga</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
CEG2TGA

Converts Edsun CEG images to 16- or 24-bit Targa images


Syntax

CEG2TGA [/16] <cINFILE.CEG> <cOUTFILE.TGA>


Switch

/16
Convert to a 16-bit Targa image (default is to 24-bit Targa).


Arguments

<cINFILE.CEG>
The Edsun CEG - DPL or CEG - Flash image to be converted.

<cOUTFILE.TGA>
The file to save the Targa image to after conversion.


Remarks

Since the CEG (Continuous Edge Graphics) image is an array of active image 
information that is coordinate specific, you may not scale, clip, or 
otherwise modify a CEG image. You must process the image while as a Targa 
image prior to conversion or use CEG2TGA to convert CEGs back to Targa for 
modification. After modification, you may convert the image back to CEG with 
CEGFlash or TGA2CEG.

There are two types of advanced 8 Edsun CEG files:

CEG DPL - conversion requires that the current SVGA card have an Edsun 
CEG/DAC chip installed for the conversion from Targa and for display, as it 
uses the CEG/DAC services and video memory to create the best CEG quality. 
It creates an optimum CEG palette from the 24-bit image data, using an array 
of dynamic palette locations (DPL) and mix codes for a combination of 
additional colors and anti-aliasing according to seven processing rules. 
Conversion is slow due to the extensive calculations and is best done in a 
batch mode, at a non-critical time. This is the method to use for DOS 
presentation quality. Upon display, CEG - DPL images produces harmless 
flashing in conflict with a graphic mouse. This is distracting, and should 
not be used within Microsoft Windows. It happens when a graphic mouse cursor 
passes over active DPLs or mix code locations. The palette of the mouse 
cursor is not the correct palette for that location in the image. Since DPLs 
and mix codes are dynamic and active, they process the mouse colors as if a 
part of the image, causing the "psychedelic" display.

CEG Flash - Conversion from 16- or 24-bit Targa uses a fixed, predetermined, 
default CEG palette that does not require DPLs for processing to CEG. It 
does create an array of mix codes. It is a file-to-file conversion method 
that does not require the services of an Edsun CEG/DAC to be installed for 
conversion. The CEG/DAC is only required for display. This conversion method 
is very fast and produces very good quality but not quite as good as 
CEG - DPL. This is the recommended method for display under Microsoft 
Windows. Unusual effects caused by a graphic mouse cursor are minimal.


Example

To convert a CEG image, teacup.ceg, to 16-bit Targa file:

CEG2TGA /16 TEACUP.CEG TEACUP.TGA



See Also: CEGFlash CEGInfo NoCEG IsCEG ShowCEG TGA2CEG

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