GPC  v1.0.0-2516
Gorman Print Control
IJB::RecIJB Struct Reference

Structure that represents the IBJ bimaps. More...

Collaboration diagram for IJB::RecIJB:

Public Attributes

uint32_t unknown1
 0x00 - 0x03: seems to always be 0x01 More...
 
char short_name [14]
 0x04 - 0x11: "J01_000.bmp"; enough room to store full 8.3 + NULL More...
 
char long_filename [64]
 0x12 - 0x51: "J01_000_{9D284FFa-0FC3-4B47-9B8D-6651BDF5657E}" ...length unknown, 64 is just a guess More...
 
uint32_t width
 0x52 - 0x55: width of image in bytes, rounded up (meaning a 150px wide image shows up as "20", since 20 bytes * 8 bits = 160px) More...
 
uint32_t height
 0x56 - 0x59: height of image in bytes, rounded up More...
 
uint32_t len
 0x5a - 0x5d: number of data bytes in image (starting at 0x5e) More...
 
uint8_t data [0]
 0x5e - ....: raw pixel image data, 1 bit per pixel More...
 

Detailed Description

Structure that represents the IBJ bimaps.

There is a 94-byte header prior to the actual image data. The length at offset 0x5a should be the same as the file size minus the 94-byte header, and the image data begins immediately after lenght.

Member Data Documentation

◆ unknown1

uint32_t IJB::RecIJB::unknown1

0x00 - 0x03: seems to always be 0x01

◆ short_name

char IJB::RecIJB::short_name[14]

0x04 - 0x11: "J01_000.bmp"; enough room to store full 8.3 + NULL

Referenced by IJB::create_browseable_image(), SessionComponent::edit_description_field(), SessionComponent::paintCell(), IJB::set_new_image(), and IJB::summary().

◆ long_filename

char IJB::RecIJB::long_filename[64]

0x12 - 0x51: "J01_000_{9D284FFa-0FC3-4B47-9B8D-6651BDF5657E}" ...length unknown, 64 is just a guess

Warning
This is just the filename without the file extension!

Referenced by IJB::summary().

◆ width

uint32_t IJB::RecIJB::width

0x52 - 0x55: width of image in bytes, rounded up (meaning a 150px wide image shows up as "20", since 20 bytes * 8 bits = 160px)

Referenced by IJB::extract_image(), IJB::load(), IJB::set_new_image(), and IJB::summary().

◆ height

uint32_t IJB::RecIJB::height

0x56 - 0x59: height of image in bytes, rounded up

Referenced by IJB::extract_image(), IJB::load(), IJB::set_new_image(), and IJB::summary().

◆ len

uint32_t IJB::RecIJB::len

0x5a - 0x5d: number of data bytes in image (starting at 0x5e)

Referenced by IJB::load(), and IJB::summary().

◆ data

uint8_t IJB::RecIJB::data[0]

0x5e - ....: raw pixel image data, 1 bit per pixel

Referenced by IJB::extract_image().