Got a little techonology problem that you need fixed pronto? Post it here and we'll see what we can do.
Topic locked

Converting Images to Hexidecimal - help please?

Fri Nov 18, 2005 8:34 pm

Does anybody here know how to convert an image into the hexidecimal code that represents it? This one stupid program I'm trying to change has an image in it, but in hexidecimal, and I am unsure how to change an image into that.

Sat Nov 19, 2005 10:06 pm

I think I'm confused. Or this could be because for the past hour I've been working nonstop with HTML that I haven't used in 2 years.

Hexadecimal is a type of colour, as far as I know. A hexadecimal colour is like...5B8149 or #5B8149. How can there be an image in hexadecimal?

Hey someone...can you kill two birds with one stone? Because I'm royally confused now. You know what...I'm going to NNV. o_o

Mon Nov 21, 2005 1:40 pm

Nah, hexadecimal is just a way to express numerical values with the base 16.
Instead of the decimal way we are used to, with the base 10.

0=0, 1=1, 2=2, 3=3, 4=4... 9=9, 10=A, 11=B, 12=C, 13=D, 14=E, 15=F

http://en.wikipedia.org/wiki/Hexadecimal

For changing that picture, if it's embedded in the program, I'd try ResHacker for changing it: http://www.angusj.com/resourcehacker/

Mon Nov 21, 2005 3:18 pm

Gir, do you mean those keyboard letter type pictures? Google for auto makers on google, they do it :D

Tue Nov 22, 2005 2:01 am

Shoyru_Lover wrote:Gir, do you mean those keyboard letter type pictures? Google for auto makers on google, they do it :D

Nope, I don't. Thanks for the help, though :) .

Ibis wrote:For changing that picture, if it's embedded in the program, I'd try ResHacker for changing it: http://www.angusj.com/resourcehacker/

That is how my friend and I found this out in the first place... it is in the program as hexidecimal code, coding for each individual pixel's color. I really don't feel like finding out the hexidecimal for each and every individual pixel and typing it in order, so I was wondering if there were any programs out there that would do it for me.

Tue Nov 22, 2005 4:12 am

If I remember correctly, you can do that straight from ResHacker.

Open the program you want to insert it to, (or just open a random one, such as MSN messenger. You don't have to save it.) and click Action -> Add a new resource.
Find the image in the Open File with New Resource. In the resource type box, enter the type of file. (Such as GIF or JPG or PNG. Whatever it is.) The resource name shouldn't matter, depending on what you're doing with the code.
Then for the language, type 1033. (1033 is hex.)

Then click "Add Resource", find the file in the resource tree to the left. Click on the "1033" file in the approprate folder, and there ya' go.

Hope this helped. Any questions, just post.
Topic locked