Main Window - Options | File Loading - Raw - Edit Raw Type

 

 

Use this dialog box to add a new raw file type, or to modify an existing raw type.

 

Name. Select a name for the format.

 

Width. The width of the image, in pixels.

 

Height. The height of the image, in pixels.

 

Replicate scan rows. Some raw types (notably some files generated by ocular cameras) store only every other scan line (i.e., the pixel shape is rectangular). This option will cause ThumbsPlus to write each scan line twice, restoring the proper aspect ratio.

 

Pixel format. Select the style of pixels in the raw image. ThumbsPlus can handle several pixel formats directly:

 

       Gris de 8 bits. Each pixel of the image is represented by a single byte which represents the level of gray. Pixel values range from 0 (black) to 255 (white).

       Gris de 16 bits. Each pixel is represented by two bytes, with the least significant byte first (Intel byte order). Pixel values range from 0 (black) to 65535 (white).

       Gris de 16 bits (permutados). Each pixel is represented by two bytes, with the most significant byte first (Motorola format). Pixel values range from 0 (black) to 65535 (white).

       RGB de 24 bits. Each pixel is represented by three bytes: one byte each for red, green and blue, in that order.

       BGR de 24 bits. Each pixel is represented by three bytes: one byte each for blue, green and red, in that order.

       RGB de 32 bits. Similar to 24-bit RGB, except that each pixel is represented by four bytes. The fourth byte is usually an alpha channel, which is ignored by ThumbsPlus.

       BGR de 32 bits. Like 24-bit BGR, except that a fourth byte is present (usually an alpha channel) which is ignored by ThumbsPlus.

       RGB de 48 bits. Each pixel is represented by six bytes: two byte each for red, green and blue, in that order.

       BGR de 48 bits. Each pixel is represented by six bytes: two byte each for blue, green and red, in that order.

 

Note: By default, the alpha channel (ignored by ThumbsPlus) is assumed to be the fourth byte in 32-bit RGB or BGR formats. However, if your files are stored in ARGB or ABGR order, you can set the Bytes to Skip at start to one (1), and the Bytes to Skip at end to minus one (-1). This will cause ThumbsPlus to ignore the first byte in each four-byte pixel, rather than the last.

 

Bytes to skip. Some raw formats contain extra data at the beginning or end of the file, or both. Use these fields to enter the amount of data to skip at the start or end of the file.

 

Signed pixels. If the pixels in the raw file are stored as signed numbers, check this box. You can also decide to ignore negative pixels using the option below.

 

Auto adjust range. If you select this option, ThumbsPlus will first calculate the entire range of used pixel values, then scale each pixel accordingly (for contrast stretching).

 

Clip negative pixels. Select this item to ignore negative pixels (set to zero).

 

Separated planes. For RGB, RGBA, BGR, BGRA inputs, selecting this option indicates that the information is stored in separate planes (i.e., all red pixels, then all green pixels, then all blue pixels for RGB).

 

Expected file size. Using the entries in the other fields, ThumbsPlus computes the expected size on disk of the defined type and displays it here. For ThumbsPlus to recognize the file, its size must match this value.