You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Georges-Emile Bihr f64d7e4e01 forgot some variable names, fixed! 1 year ago
.gitignore ajout du dossier imgs et des fichiers de swap (vim) 3 years ago
LICENSE changed licence to WTFPL and readme to english 1 year ago
README.md translated to french! 1 year ago
codinglib.py forgot some variable names, fixed! 1 year ago

README.md

Ministeg


BMP header

Total : 432 bits = 54 Bytes

File header

  • Signature: 2B = 16b
  • File size (file header + image header + palette + image): 4B = 32b
  • ID: 4B = 32b
  • Address of the beginning of image info: 4B = 32b

Image header

  • Image header size: 4B = 32b
  • Width: 4B = 32b
  • Height: 4B = 32b
  • Layers: 2B = 16b
  • Bits per pixel for color encoding: 2B = 16b
  • Compression algorithm: 4B = 32b
  • Image size in Bytes: 4B = 32b
  • Horizontal PPM: 4B = 32b
  • Vertical PPM: 4B = 32b
  • Amount of colors per palette: 4B = 32b
  • Amount of important colors per palette: 4B = 32b

Ministeg index

Total : 84b = 10.5B = 28 px if using 1 bit per color

  • data size: 41b
  • file extension: 5 x 8b (40b)
  • bits used per color: 3b