Color Meter

sjoemelfreek
Posts: 15
Joined: Sun Sep 14, 2008 4:49 pm

Color Meter

Post by sjoemelfreek »

Hi there,

I am enjoying the challenges. The Didactic RGB is bothering me because my color meter is inconsistent.
I got a color meter that comes with my mac and it is possible to read the 24-bit integer from that program. Only it differs between computers and all my attempts where wrong anyway. I downloaded the file and converted the ASCII string to binary, but this gave me far to many bytes for a 24-bit integer.

Is my approach wrong or are my tools wrong?

Thanks
MerickOWA
Posts: 182
Joined: Mon Apr 07, 2008 5:54 pm
Location: HkRkoz al KuwaiT 2019 HaCkEr 101

Re: Color Meter

Post by MerickOWA »

sjoemelfreek wrote:Hi there,

I am enjoying the challenges. The Didactic RGB is bothering me because my color meter is inconsistent.
I got a color meter that comes with my mac and it is possible to read the 24-bit integer from that program. Only it differs between computers and all my attempts where wrong anyway. I downloaded the file and converted the ASCII string to binary, but this gave me far to many bytes for a 24-bit integer.

Is my approach wrong or are my tools wrong?

Thanks
The raw binary of the image will have more bytes in it than the 3 you need to solve the problem. All you need is to figure out the 24-bit integer of the single pixel you see.
sjoemelfreek
Posts: 15
Joined: Sun Sep 14, 2008 4:49 pm

Post by sjoemelfreek »

Yes, but the tools I use that give me a 24-bit integer of the RGB apparently give me the wrong code.
If I can't trust the tools then I must find a way to uncover the color from the data I have: the file itself.
tails
Posts: 191
Joined: Tue Jun 10, 2008 7:51 pm
Location: Tokyo

Post by tails »

Analysing the PNG binary is too tough. At least you had better convert it into more simple and plain format such as TGA and BMP when you need to look into it.

And, to solve this challenge with tools, you had better avoid capturing the screen to pick the color, because the color on the screen is the result of color correction. Also you should avoid using the meters which shows the color on the screen, because of the same reason. You need a tool which shows the raw color value of a pixel in an image.

Good luck!
canine
Posts: 190
Joined: Sun Sep 14, 2008 5:38 am

Post by canine »

sjoemelfreek wrote:Yes, but the tools I use that give me a 24-bit integer of the RGB apparently give me the wrong code.
Depending on what you choose to use, it won't be so hard. I had the same problem you did, until tails' post here revealed the way.
sjoemelfreek wrote:If I can't trust the tools then I must find a way to uncover the color from the data I have: the file itself.
Hot damn, I like the way you think. It's like being on top of a tall building and, instead of just finding the stairs to the roof to go down, you rappel down the side while being chased by a fiery explosion.

A real man doesn't use an image editor for this; he uses a hex editor and reads the png binary.
sjoemelfreek
Posts: 15
Joined: Sun Sep 14, 2008 4:49 pm

Post by sjoemelfreek »

problems is the PNG binary isn't that complicated only the image has a color type 2 or 4, otherwise it would be easy to retrieve...

Anyhow, I tried like 6 image editors and they all give a different data, so I am fed up now..
canine
Posts: 190
Joined: Sun Sep 14, 2008 5:38 am

Post by canine »

sjoemelfreek wrote:problems is the PNG binary isn't that complicated only the image has a color type 2 or 4, otherwise it would be easy to retrieve...

Anyhow, I tried like 6 image editors and they all give a different data, so I am fed up now..
The Gimp gave me the correct value.
sjoemelfreek
Posts: 15
Joined: Sun Sep 14, 2008 4:49 pm

Post by sjoemelfreek »

With the gimp you use color picker?

Because the color picker gives me the wrong info again (with GIMP as well)
canine
Posts: 190
Joined: Sun Sep 14, 2008 5:38 am

Post by canine »

sjoemelfreek wrote:With the gimp you use color picker?

Because the color picker gives me the wrong info again (with GIMP as well)
What is the hex value it gives you?

Behold, my hex value near the bottom right hand corner.
sjoemelfreek
Posts: 15
Joined: Sun Sep 14, 2008 4:49 pm

Post by sjoemelfreek »

Mmm, yeah, this is what it gives me too. I made a reading mistake :shock:

Anyhow, still I needed to try several editors (why GIMP?) before it gave me the right value.
Isn't there a more pure way to retrieve the value of an Image?

Thank you for your patience, though, to bad it ends with green (where is blue?)
canine
Posts: 190
Joined: Sun Sep 14, 2008 5:38 am

Post by canine »

sjoemelfreek wrote:Mmm, yeah, this is what it gives me too. I made a reading mistake :shock:

Anyhow, still I needed to try several editors (why GIMP?) before it gave me the right value.
Isn't there a more pure way to retrieve the value of an Image?

Thank you for your patience, though, to bad it ends with green (where is blue?)
Wat
sjoemelfreek
Posts: 15
Joined: Sun Sep 14, 2008 4:49 pm

Post by sjoemelfreek »

didactic red, didactic green, where's didactic blue :wink:
vielinko
Posts: 5
Joined: Fri Jan 09, 2009 10:48 pm

Post by vielinko »

canine wrote:
sjoemelfreek wrote:With the gimp you use color picker?

Because the color picker gives me the wrong info again (with GIMP as well)
What is the hex value it gives you?

Behold, my hex value near the bottom right hand corner.
Hey!

Well, i tried to solved this on a mac, without GIMP. Inicial i got a distinct value (hex/dec/bin) for the RGB color ...

I got those values:

982ABF

holy s... this didnt the real value .... sigh ...

instead

9C54C6

Then i Tried on GIMP and i got the same value than you canine ... and well .. that was my problem ... now is solved :P

rgds
________
sc2 replay
Last edited by vielinko on Mon Jan 31, 2011 9:18 pm, edited 1 time in total.
zero0cripton
Posts: 6
Joined: Thu Jan 21, 2010 11:22 pm
Location: Portugal

Post by zero0cripton »

apparently windows' paint tell's you a different set of RGB for that colour.
Damn you Bill Gates! :twisted:
Sex is like hacking, you get in, you get out and you hope you didn't leave anything behind that can be traced back to you.
thewino
Posts: 5
Joined: Wed Apr 06, 2011 6:27 am

Post by thewino »

i got different values from gimp as well. and i didn't read them wrong. i was only able to solve it thanks to the proper hex posted above. now im stuck on the didactic red challenge with improper hex values as well. this is the only trouble ive expressed and ive branched out further in all other directions in the challeneges.

if someone could please provide the 6digit hex values for each red value. that would be awesome. thanks.
Post Reply