Image File Formats

[ Main ]
 

Standard Viewer Readable Formats

Type
Extension
Description
FP Image 
 IMG
32 bit Floating Point, 16 bit Integer and 8 bit Byte
Microsoft Bitmaps
 BMP
8 bit Palette and 24 bit RGB
JPEG
 JPG
8 bit Gray Scale and 24 bit Color
Portable Gray Map
 PGM
8 bit Gray Scale - (Raw P5)
Portable Pixel Map
PPM
24 bit Color - (Raw P6)
DICOM 
(ANY)
Most DICOM Types (including Lossless Jpeg Frames)
User Defined 
(ANY)
As defined by the user FMT files 

 
 

Standard Image Processor Readable Formats

Type
Extension
Description
FP Image 
 IMG
32 bit Floating Point, 16 bit Integer and 8 bit Byte
DICOM 
(ANY)
Most DICOM Types (including Lossless Jpeg Frames)
User Defined 
(ANY)
As defined by the user FMT files 

Note: All 8 bit images (above) are converted to 8 bit IMG format when read from the viewer by the Image Processor.  Other formats may be read by use of additional scripting instructions.


IMG Format

The  IMG  format is the native format used by FP Image.  The byte ordering is in little endian format.  The minimum header requires 5 entries as described below:
 

Offset Size
Description
0
4
Format ID (“IMP\0”)
4
4
Pixel Data Type
8
4
Width (in pixels)
 12 
4
Height (in pixels)
16
4
Offset to Pixel Data (in bytes)
20
4
(OPTIONAL)  DICOM TAGS to Follow (0x00007F7F)
80
9
(OPTIONAL)  Embedded Script Commands (“AUTOSCRIPT”)

Note: Other variations include Compressed Integer images.