Skip to content

HiltonRoscoe/BMP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DFDL BMP

DFDL Schema for Windows and OS/2 BMP Image File Format.

Build and Test

This project uses Maven and plain Java (JDK 17+ recommended).

mvn clean test

The TDML-driven tests cover the "good" BMP Suite 2.8 files that the schema is expected to support.

Layout

  • src/main/resources/com/hiltonroscoe/bmp/xsd/bmp.dfdl.xsd — schema
  • src/test/resources/com/hiltonroscoe/bmp/Bmpsuite.tdml — TDML test suite
  • src/test/resources/com/hiltonroscoe/bmp/bmpsuite-2.8/... — vendored test data + infosets
  • src/test/java/com/hiltonroscoe/bmp/TestBmpsuite.java — JUnit runner
  • pom.xml — Maven build (Daffodil TDML + JUnit 4)

Status

  • 24/24 must-pass good BMP Suite files parse and round-trip as expected.
  • Schema handles OS/2 1.x (12-byte), Windows 3.x (40-byte), OS/2 2.x (64-byte) DIB headers.

License

See the LICENSE file for licensing terms.

Test Data

The TDML tests include a subset of the "good" BMP image files from the BMP Suite 2.8. These BMP image files are in the public domain.

About

DFDL Schema for parsing Bitmap (BMP) files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages