Dr. Halo CUT

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
m (Sample files)
 
(20 intermediate revisions by 5 users not shown)
Line 2: Line 2:
 
|formattype=electronic
 
|formattype=electronic
 
|subcat=Graphics
 
|subcat=Graphics
|extensions={{ext|cut}}, {{ext|pal}}
+
|extensions={{ext|cut}}
 
|pronom={{PRONOM|x-fmt/316}}
 
|pronom={{PRONOM|x-fmt/316}}
 +
|wikidata={{wikidata|Q28205948}}
 +
|released=1984
 
}}
 
}}
'''Dr. Halo''' is a raster image file format associated with the ''Dr. Halo III'' paint program for MS-DOS. It uses [[Run-length encoding|RLE]] compression.
+
:''For other "CUT" formats, see [[CUT]].''
  
A Dr. Halo image is usually composed of two separate files: a ".CUT" file containing the bitmap, and a ".PAL" file containing the color palette.
+
'''Dr. Halo CUT''' is a clipping format associated with the Dr. Halo line of raster image editing software for DOS. For more information about the software and its other formats, refer to [[Dr. Halo PIC]].
 +
 
 +
== Discussion ==
 +
CUT is a raster image format with 8 bits per pixel, compressed with [[run-length encoding]].
 +
 
 +
To load a CUT file in Dr. Halo III (and presumably other versions):
 +
* Right-click the scissors icon. A dialog box will open.
 +
* Type the filename, or left-click the "?" icon to select it from a list.
 +
* Left-click the diskette icon with the arrow pointing up.
 +
* The dialog box will close. Move the mouse to choose where to paste the image. Left-click when ready.
 +
 
 +
Unlike [[Dr. Halo PIC|PIC]], CUT can be said to be "device independent", in that there's a universal way to decode the pixel values. Unfortunately, CUT does not contain information about what ''colors'' those values map to. Only bi-level or grayscale CUT files are reasonably portable. A CUT file ''could'' have a companion [[Dr. Halo PAL|PAL file]] to supply color information, though this "CUT+PAL" format is not handled automatically by the Dr. Halo software.
 +
 
 +
Assuming a PAL file is not present or not supported, it seems that the usual practice is to interpret the image as grayscale, with black=0. But different viewers use different logic for guessing the code that should be interpreted as white.
 +
 
 +
== Identification ==
 +
There's no easy way to identify a CUT file, from its contents. The bytes at offset 4 and 5 should be <code>0x00</code>, but that's not very helpful.
 +
 
 +
Checking that the width and height fields are sane could help screen out some files, but note that legitimate CUT files can be quite large. For one thing, up to 2400×3150 pixels is possible using the virtual page feature in Dr. Halo II (CGA modes).
 +
 
 +
== Specifications ==
 +
* {{EGFF|drhalo|Dr. Halo File Format Summary}}, from the [[Encyclopedia of Graphics File Formats]]
 +
* [http://www.textfiles.com/programming/FORMATS/pix_fmt.txt Picture format docs (of a number of formats including this one)]
  
 
== Software ==
 
== Software ==
* [[ImageMagick]] (format named "CUT"; read-only)
+
* [[ImageMagick]] (format named "CUT")
 
* [[Konvertor]]
 
* [[Konvertor]]
* [[XnView]] (read-only)
+
* [[XnView]]
 +
* [[Farbfeld Utilities]] (read/write)
 +
* [[Tom's Editor]]
 +
* [[Tom's Viewer]]
 +
* Dr. Halo: Refer to [[Dr. Halo PIC#Software]].
  
 
== Sample files ==
 
== Sample files ==
* http://cd.textfiles.com/fantaziasampler/CLIPART/CUT/
+
* {{CdTextfilesURL|fantaziasampler/CLIPART/CUT/}}
* http://cd.textfiles.com/gameempire/SOFT/NEW/PRO7/
+
* [https://archive.org/details/GamesEmp Game Empire Shareware Demo Disc] → SOFT/NEW/PRO7/*.CUT
 +
* {{CdTextfilesURL|librisbritannia/GRAPHICS/CLIPDRHA/}} ...
 +
* {{DexvertSamples|image/drHalo}}
  
== Resources ==
+
== Links ==
* {{EGFF|drhalo|Dr. Halo File Format Summary}}, from the [[Encyclopedia of Graphics File Formats]]
+
* https://web.archive.org/web/20191231015527/http://whatis.rest7.com/how-to-open-cut-file
* [http://www.textfiles.com/programming/FORMATS/pix_fmt.txt Picture format docs (of a number of formats including this one)]
+
 
 +
[[Category:Multi-file formats]]

Latest revision as of 15:41, 28 December 2023

File Format
Name Dr. Halo CUT
Ontology
Extension(s) .cut
PRONOM x-fmt/316
Wikidata ID Q28205948
Released 1984
For other "CUT" formats, see CUT.

Dr. Halo CUT is a clipping format associated with the Dr. Halo line of raster image editing software for DOS. For more information about the software and its other formats, refer to Dr. Halo PIC.

Contents

[edit] Discussion

CUT is a raster image format with 8 bits per pixel, compressed with run-length encoding.

To load a CUT file in Dr. Halo III (and presumably other versions):

  • Right-click the scissors icon. A dialog box will open.
  • Type the filename, or left-click the "?" icon to select it from a list.
  • Left-click the diskette icon with the arrow pointing up.
  • The dialog box will close. Move the mouse to choose where to paste the image. Left-click when ready.

Unlike PIC, CUT can be said to be "device independent", in that there's a universal way to decode the pixel values. Unfortunately, CUT does not contain information about what colors those values map to. Only bi-level or grayscale CUT files are reasonably portable. A CUT file could have a companion PAL file to supply color information, though this "CUT+PAL" format is not handled automatically by the Dr. Halo software.

Assuming a PAL file is not present or not supported, it seems that the usual practice is to interpret the image as grayscale, with black=0. But different viewers use different logic for guessing the code that should be interpreted as white.

[edit] Identification

There's no easy way to identify a CUT file, from its contents. The bytes at offset 4 and 5 should be 0x00, but that's not very helpful.

Checking that the width and height fields are sane could help screen out some files, but note that legitimate CUT files can be quite large. For one thing, up to 2400×3150 pixels is possible using the virtual page feature in Dr. Halo II (CGA modes).

[edit] Specifications

[edit] Software

[edit] Sample files

[edit] Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox