fulltime68
Technical User
Hi all,
I am a array of hex codes, a portion of which is shown below.
each "0x00" represents one byte and every 24 bytes represent a character which is a 12*16 image. My question is how can i take this array n generate its equivalent character into seperate JPG files? i.e take 1st 24bytes, convert, then save as a jpeg file, then take the 2nd 24bytes, convert n save as 2nd jpeg file and etc..
i need to achieve the above using VBA..Can anyone help me pls?
Thks
FT
I am a array of hex codes, a portion of which is shown below.
Code:
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0x04, 0x00, 0x04, 0x7F, 0xE0,
0x40, 0x04, 0x00, 0x48, 0x3F, 0xC0, 0x40, 0x04, 0x00, 0x40, 0x04, 0x00, 0x42, 0xFF, 0xF0, 0x00,
0x00, 0x01, 0x10, 0xFF, 0xE1, 0x10, 0x07, 0x87, 0x80, 0x48, 0xC2, 0x50, 0x12, 0x4F, 0xFE, 0x04,
0x03, 0x58, 0x44, 0x48, 0xC2, 0x04, 0x00, 0x00, 0x00, 0x01, 0x18, 0x0A, 0x07, 0xFC, 0x44, 0x44,
0x44, 0x7F, 0xC4, 0x44, 0x44, 0x47, 0xFC, 0x04, 0x0F, 0xFF, 0x04, 0x00, 0x40, 0x04, 0x00, 0x00,
0x00, 0x00, 0x04, 0x7F, 0xE0, 0x08, 0x3F, 0xCA, 0x4A, 0xA4, 0xAB, 0xFA, 0xA4, 0xAA, 0x4A, 0xBF,
each "0x00" represents one byte and every 24 bytes represent a character which is a 12*16 image. My question is how can i take this array n generate its equivalent character into seperate JPG files? i.e take 1st 24bytes, convert, then save as a jpeg file, then take the 2nd 24bytes, convert n save as 2nd jpeg file and etc..
i need to achieve the above using VBA..Can anyone help me pls?
Thks
FT