Converting Images to Hexidecimal - help please?

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

Moderator: Moderators

Locked
Message
Author
GIR
PPT Toddler
PPT Toddler
Posts: 202
Joined: Tue Jun 01, 2004 6:37 am

Converting Images to Hexidecimal - help please?

#1 Post by GIR »

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.
Image
IDB Staff
DM was on fire!
Way Beyond Godly
Way Beyond Godly
Posts: 8715
Joined: Sat Jun 05, 2004 9:10 pm
Location: Cleveland, Georgia
Contact:

#2 Post by DM was on fire! »

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
Image
Ibis
PPT Toddler
PPT Toddler
Posts: 162
Joined: Sun Aug 01, 2004 11:14 pm
Location: Sweden
Contact:

#3 Post by Ibis »

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/
http://ibisaeg.mine.nu
<silja rox my sox>... somewhat :P
User avatar
Shoyru_Lover
Administrator
Administrator
Posts: 7245
Joined: Mon May 31, 2004 3:56 am
Location: Faster than a speeding IM! Stronger than an ox on steroids! Pinker than a bottle of Pepto-Bismol!
Contact:

#4 Post by Shoyru_Lover »

Gir, do you mean those keyboard letter type pictures? Google for auto makers on google, they do it :D
Image
GIR
PPT Toddler
PPT Toddler
Posts: 202
Joined: Tue Jun 01, 2004 6:37 am

#5 Post by GIR »

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.
Image
IDB Staff
cat1205123
PPT Trainee
PPT Trainee
Posts: 500
Joined: Fri Oct 22, 2004 1:02 pm
Location: The Internet
Contact:

#6 Post by cat1205123 »

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.
Image
Locked