In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Changes

Jump to navigation Jump to search
m
did i really forget to comment the width and height? damn
Line 12: Line 12:  
     u32 size; // Size of the whole file
 
     u32 size; // Size of the whole file
 
     u32 crc32; // CRC32 of the file (it does the checksumming after the CRC32)
 
     u32 crc32; // CRC32 of the file (it does the checksumming after the CRC32)
     u32 width;
+
     u32 width; // Width of the image
     u32 height;
+
     u32 height; // Height of the image
 
     u32 unk; // This is always 0x10000000
 
     u32 unk; // This is always 0x10000000
 
     u8 pad[8];
 
     u8 pad[8];
 
  } photo_file;
 
  } photo_file;
Then after the header, it contains image data that is in RGB565 format.
+
Then after the header, it contains texture data that is in RGB565 format.
    
[[Category:File formats]]
 
[[Category:File formats]]

Navigation menu