Index

Project

Screenshot

 Linux - MacOSX - Win32
Docs / FileRawPredefLoad

Path

[File|Raw Predef Load] or [File|Raw Predef Save]

Usage

After reading a raw file successfully, the user can now save these properties to a template, which is from here on called a Raw Predef Input or RPI file for short. A default path for saving or loading RPI files can be set in the $XMEDCONRPI environment variable.

RPI v0.1 - File Syntax

A raw predef input file is written in plain ASCII with all entries line by line, ordered exactly as how you would answer the sequence of questions asked from the command-line --interactive option. This way, the predef files can be used as a direct input on the command line. This comes in handy for the batch processing of unsupported formats.

  • The very first line must begin with the "# RPI v0.1" signature.
  • Any other line beginning with '#' is treated as a comment.
  • The maximum length allowed of a line is 80 chars (= regular terminal width).
  • Just files with identical image properties are supported.
 # RPI v0.1 - BEGIN #
 #
 # Total number of images?
 1
 # General header offset (bytes)?
 2
 # Image header offset (bytes)?
 3
 # Repeated image header?
 yes
 # Swap pixel bytes?
 yes
 # Identical images? (no = unsupported)
 yes
 # Absolute offset in bytes?
 4
 # Image columns?
 5
 # Image rows?
 6
 # Pixel data type?
 7
 # Redo input for next file?
 no
 #
 # RPI v0.1 - END #

This way specific unsupported images can be read directly with the [File|Open Raw|Predefined] menu.

<< Open Raw | MenuWindow | Raw Predef Save >>

Page last modified on November 03, 2012, at 09:34 PM