Img2pok


#21

me too :wink:


#22

Can you provide an hex example? Should width and height also be formatted in hex?

//[2] cell:2x0 
{
8,8,

0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x4,0x4,0x4,0x0,
0x0,0x0,0x0,0x0,0x4,0x4,0x4,0x0,
0x0,0x4,0x4,0x4,0x0,0x0,0x0,0x0,
0x4,0x4,0x4,0x4,0x4,0x0,0x0,0x0,
0x4,0x4,0x4,0x4,0x4,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
},
//[3] cell:3x0 
{
8,8,

0x4,0x4,0x0,0x4,0x4,0x4,0x4,0x4,
0x4,0x4,0x0,0x4,0x4,0x4,0x4,0x4,
0x4,0x4,0x0,0x4,0x4,0x4,0x4,0x4,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
0x4,0x4,0x4,0x4,0x4,0x0,0x4,0x4,
0x4,0x4,0x4,0x4,0x4,0x0,0x4,0x4,
0x4,0x4,0x4,0x4,0x4,0x0,0x4,0x4,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
},


#23

Probably dimensions in decimal and data in hex.
That tends to be easiest to work with.

The hex effectively forms an 8x8 grid, matching the dimensions and making it easier to hand-edit if need be.

{
	8, 8,

	0x0B, 0x0B, 0x0B, 0x0B, 0x0B, 0x0B, 0x0B, 0x0B,
	0x0B, 0x0B, 0x0B, 0x0B, 0x05, 0x0B, 0x0B, 0x0B,
	0x05, 0x05, 0x0B, 0x05, 0x05, 0x05, 0x05, 0x05,
	0x03, 0x05, 0x05, 0x05, 0x05, 0x03, 0x05, 0x03,
	0x0E, 0x03, 0x05, 0x05, 0x03, 0x01, 0x03, 0x04,
	0x0E, 0x09, 0x03, 0x03, 0x01, 0x04, 0x04, 0x04,
	0x0E, 0x09, 0x09, 0x09, 0x01, 0x04, 0x04, 0x04,
	0x09, 0x09, 0x09, 0x0E, 0x04, 0x04, 0x04, 0x01,
},

#24

Beta tester welcome:

DebugImg2Pok.zip (249.7 KB)


#25

looks good to me:-)


#26

Updated to V10

https://github.com/Effer/img2pok/blob/master/Binaries/Latest.zip