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

Reads a JPEG file header and displays image information


Syntax

JPEGInfo <cFILENAME.JPG>


Arguments

<cFILENAME.JPG>
Name of the JPEG image file, and optional drive and path.


DOS Error Messages

Cannot open <cFILENAME.JPG>
This is not a valid JPG image file


Remarks

JPEGInfo reads the header of an JPEG image file and displays information 
about <cFILENAME.JPG>. The header information is displayed in 6 rows, 
starting at column 0: field name, colon delimiter, and at column 18, 
information contained in the field. The header information displays as 
shown in the following example and is pipable to a file.

Header           Information

<nLeftOffset>    Horizontal starting left coordinate of the image.

<nTopOffset>     Vertical starting top coordinate of the image.

<nImageWidth>    Horizontal width of the image.

<nImageHeight>   Vertical height of the image.

<nNumChannels>   Number of color channels contained in the image.


Example

JPEGINFO D:\QMODEM\DOWNLOAD\CFILENAME.JPG

If successful, returns:

File          :  D:\QMODEM\DOWNLOAD\TEACUP.JPG
Left offset   :  0
Top offset    :  0
Image width   :  512
Image height  :  384
Colors        :  24-bit



See Also: ShowJPEG JPEG2TGA TGA2JPEG

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