In EasyBadge the images, when stored in a database, are JPEG files with a 30-byte header. The format of the header is:
private struct DigitalIdImageHeader
{
public int Magic; // 0x05082011
public int Length; // size of header plus image data
public short Width; // in pixels
public short Height;
public short Shades;
public short ImageType;
public short CompressionType; // must be 4
public int Crc;
public int Info2;
public int Info3;
}
The image data, directly taken from a JPEG file follows the header.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article