Contents > Editor Modes > RawGfx Mode > Graphics Format Presets > Auto Detection
Previous | Next

2.3.4.1 Auto Detection

When the RawGfx mode is activated for the first time on a file, it tries to auto-detect the file format from the file extension, and then to guess all graphics format settings. Auto detection can also be triggered from the RawGfx|View|Preset|AutoDetect menu item, or the button on the Format Panel.

For Bitmap and Sprite files, format settings and color palette are read from the file contents.

For raw YUV formats, format settings are guessed from the filename. If an image resolution keyword is recognized, it will be used to specify the frame size. Otherwise the first two numbers in the filename are taken as width and height. The YUV byte order is guessed from keywords in the filename (YUV, 422), and by statistical analysis of the pixel data.

List of Recognized File Formats

List of Recognized Image Resolution Keywords

CIF352x288
QCIF176x144
4CIF704x576
PAL352x288
NTSC352x240
CGA320x200
EGA640x350
VGA640x480
SVGA800x600
QVGA320x240
QQVGA160x120
XGA1024x768
UXGA1600x1200
QXGA2048x1536
SXGA1280x1024
QSXGA2560x2048
HSXGA5120x4096
WVGA852x480
WXGA1366x768
WSXGA1600x1024
WUXGA1920x1200
WOXGA2560x1600
WQSXGA3200x2048
WQUXGA3840x2400
WHSXGA6400x4096
WHUXGA7680x4800
HD480852x480
HD7201280x720
HD10801920x1080

See also: RawGfx|View|Preset|AutoDetect


http://datahammer.de
Previous | Next