MegaPaint BLD

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
Line 14: Line 14:
 
* .VEK - MegaPaint vector format
 
* .VEK - MegaPaint vector format
 
* .LIB - MegaPaint symbols library
 
* .LIB - MegaPaint symbols library
 +
* .VLB - MegaPaint vector symbols library
 
* .FNT - MegaPaint font
 
* .FNT - MegaPaint font
  
Line 21: Line 22:
 
! Offset !! Type !! Details
 
! Offset !! Type !! Details
 
|-
 
|-
|0 || signed int16 BE || Code for the image width and compression scheme. Actual width is 1 + the absolute value of this field. If negative, image is compressed.
+
|0 || signed int16 [[Endianness|BE]] || Code for the image width and compression scheme. Actual width is 1 + the absolute value of this field. If negative, image is compressed.
 
|-
 
|-
 
|2 || signed(?) int16 BE || Code for the image height. Actual height is 1 + the value of this field.
 
|2 || signed(?) int16 BE || Code for the image height. Actual height is 1 + the value of this field.

Revision as of 18:06, 2 September 2018

File Format
Name MegaPaint BLD
Ontology
Extension(s) .bld
Released ≤1990

MegaPaint BLD is the main native raster graphics format of MegaPaint, a graphics editor developed by TommySoftware. There were editions of MegaPaint for Atari ST, MS-DOS, and Windows. Some were released as shareware. The best information about MegaPaint might be in German.

In addition to raster graphics, MegaPaint apparently has some sort of support for vector graphics.

Contents

Related formats

Other MegaPaint formats include:

  • .PAT - MegaPaint pattern
  • .VEK - MegaPaint vector format
  • .LIB - MegaPaint symbols library
  • .VLB - MegaPaint vector symbols library
  • .FNT - MegaPaint font

Format details

BLD format:

Offset Type Details
0 signed int16 BE Code for the image width and compression scheme. Actual width is 1 + the absolute value of this field. If negative, image is compressed.
2 signed(?) int16 BE Code for the image height. Actual height is 1 + the value of this field.
4 bytes The pixel data. After decompression if necessary (see below), the format is 1 bit/pixel, white-is-zero. Rows are padded to the next byte boundary.

Decompression algorithm

Read the next byte, follow the instructions below, repeat.

Code byte (N) Instructions
N=0 or N=255 Read the next byte (C). Emit C+1 bytes of value N.
Any other Emit 1 byte of value N.

Software

Sample files

Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox