Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?
You are not logged in.
I have used a method before and copied the color from the minimap. But that doesnt work anymore.
So I use the block and get a color from x 8 y 8. Anyone with a better idea? post it here.
pic of my tool:
Download: http://www.mediafire.com/download/hgcef … rching.zip
Offline
Well, to get the minimap colors, you need the source:
-First, some minimap colors are hard coded: if the color = 0, then it do not affect the minimap. It > 0, it's the color (might be transparent).
-For the one that do not have a hard coded color:
*If the layer is 'ItemLayer.Above', the color is simply 0.
*Else, the color is the mean of the pixels: R is the mean of the 16x16 pixels' red channel, etc...
Otherwise, I already extracted them, and you can find them in the resources of my "bot" here.
Offline
I used your colors. Thanks. I Added them to my site.
Offline
No problem. I've been using your website for a long time, so I'm happy I could help you
Offline
i think atilla mentioned this once, but what if u resize the 16x16 block into a 1x1 pixel.
if you can read this....good for you
Offline
i think atilla mentioned this once, but what if u resize the 16x16 block into a 1x1 pixel.
EE still has hard-coded colors for older blocks that wouldn't be accurate that way. There's also special blocks that have transparency which wouldn't work through that method.
Offline
ewoke wrote:i think atilla mentioned this once, but what if u resize the 16x16 block into a 1x1 pixel.
EE still has hard-coded colors for older blocks that wouldn't be accurate that way. There's also special blocks that have transparency which wouldn't work through that method.
yes figured that out but seems to work pretty accurate on full blocks with no transparency
Last edited by ewoke (Jan 11 2015 3:17:03 pm)
if you can read this....good for you
Offline
lrussell wrote:ewoke wrote:i think atilla mentioned this once, but what if u resize the 16x16 block into a 1x1 pixel.
EE still has hard-coded colors for older blocks that wouldn't be accurate that way. There's also special blocks that have transparency which wouldn't work through that method.
yes figured that out but seems to work pretty accurate on full blocks with no transparency
Well depending on your software, I guess resizing to a 1x1 is the same as a mean.
Offline
Originally I tried doing 8x8 to get the nearest accurate colour for new blocks, but resizing a block image into a 1x1 pixel seems to be more accurate. And judging by the client source, that seems to be the way it is calculated.
You'll need a hardcoded list of the old block colours, since artists complained that their art wasn't the same anymore once Chris had used the new algorithm on every block, an implementation he should have done in the first place.
*u stinky*
Offline
[ Started around 1743859865.305 - Generated in 0.046 seconds, 12 queries executed - Memory usage: 1.49 MiB (Peak: 1.62 MiB) ]