256 shades of grey

Red Squirrel

No Lifer
May 24, 2003
70,394
13,699
126
www.anyf.ca
ZYyh7ZV.png


Cliff notes:

Code:
rspng shadesofgray("shadesofgray.png");
	
int ss=30; //square size
	
shadesofgray.SetSize(ss*16,ss*16);
	
int gs=0;  //gray shade
	
	
	for(int y=0;y<16;y++)
	{
	  for(int x=0;x<16;x++)
	  {
	    shadesofgray.PlotRect((x*ss),(y*ss),(x*ss)+ss,(y*ss)+ss,gs,gs,gs,255);	    
	    
	    gs++;
	  }
	}
	
shadesofgray.WriteToFile();
 

momeNt

Diamond Member
Jan 26, 2011
9,290
352
126
In this thread - people who have shitty monitors complaining they can't see what the rest of us can.
 

disappoint

Lifer
Dec 7, 2009
10,132
382
126
In this thread - people who have shitty monitors complaining they can't see what the rest of us can.

hmmm prove it. Take a pic of your screen so I can see what you see on my shitty screen.

Also fax me some cash.

Insert other impossibilities here _______________________________
_________________________________________________________
_________________________________________________________
 

Red Squirrel

No Lifer
May 24, 2003
70,394
13,699
126
www.anyf.ca
It's really hard to see it but it's a matrix. 16x16 squares from 0 to 255.

Though I probably should have just made it a single gradient. :p

Oh and this probably does not work in IE, I did not even try it in IE, for all I know it's just a gray image. IE sucks at rendering PNGs.
 

ninaholic37

Golden Member
Apr 13, 2012
1,883
31
91
I see them. The RGB for each dot goes (0,0,0), (1,1,1), (2,2,2).... (255,255,255). If you can't see them your monitor/OS/browser might be resampling them to 65535 or 2 million shades of gray. D:
 

HamburgerBoy

Lifer
Apr 12, 2004
27,111
318
126
itt people are unfamiliar with color/light illusions. Obscure all rows but one and it's really obvious, unless you're viewing ATOT from a shitty Apple product.
 

Ichinisan

Lifer
Oct 9, 2002
28,298
1,235
136
itt people are unfamiliar with color/light illusions. Obscure all rows but one and it's really obvious, unless you're viewing ATOT from a shitty Apple product.

I still haven't seen the 256 shade version. Looking at it via remote desktop from Windows 8 Pro (server) to Win7 Pro (client). Either Chrome renders it that way or RDC reduces the color depth...

My RDC client says the connection settings are for 32-bit color. I'm guessing Chrome does this.
 

Ichinisan

Lifer
Oct 9, 2002
28,298
1,235
136
Copied the URL to the image and viewed in Chrome + IE on a Win7 system. Still only seeing horizontal bands.

Maybe my eyeballs are at fault :hmm:
 

IronWing

No Lifer
Jul 20, 2001
72,530
33,182
136
1) Copy image.
2) Paste image into editor
3) Paste image into a second instance of editor
4) move two images around to compare left end and right end of images
5) Be amazed
6) Come back and insist that there is no difference just to piss people off

I didn't see any differences.