#1
Posted 08 October 2013 - 10:52 AM
Basically it samples pixels data from a skin and quantize colors to fit in terminal/monitor color space.
There's already a working proof of concept available online, for now it's coded using javascript to take avantage of easy image manipulation functions.
In the demo you can tweak hue, saluration and lightness to adjust color values of your image.
It seems that simplest skins works best, when there's a lot of colors the output is a bit weird.
I would like to port most of the code to lua maybe using a custom web service to get image pixel data.
I've heard on IRC that something like this has allready been done, if so please share.
Are there people who knows about the different methods of color quantization?
#2
Posted 09 October 2013 - 11:55 AM
#3
Posted 09 October 2013 - 06:37 PM
#4
Posted 09 October 2013 - 11:23 PM
#5
Posted 10 October 2013 - 11:36 AM
I keep working on ccface and made a rest api to access skin pixel data from http:
GET http://api-shefla.rhcloud.com/ccface/YourMinecraftNamereturns a JSON encoded array of rgba values.
From that i can port the converter to lua and start the fun part.
Currently colors are quantized using closest euclidian distance and i would like to add more methods but don't understand how they works.
#6
Posted 11 October 2013 - 08:01 AM
Keep in mind that this program requires http api enabled to work.
Installation:
pastebin get iUaDzANQ ccface
Usage:
ccface <CharacterName>
Screenshot:
#7
Posted 11 October 2013 - 10:15 AM
#8
Posted 12 October 2013 - 01:25 AM
#9
Posted 14 October 2013 - 09:45 AM
All skins are saved in /.ccface folder so you allways can modify it using paint.
#10
Posted 15 October 2013 - 05:59 AM
#11
Posted 17 October 2013 - 07:27 PM
HTTP is enabled.
edit: lol nvm apparently cap count.
#12
Posted 22 October 2013 - 06:45 AM
Maybe a moderator can move this topic to the program section?
#14
Posted 05 November 2013 - 08:50 PM
I have done something similar with this: http://www.computerc...ge__pid__126974
I would only need to modify it a bit. To accomplished the same thing.
#15
Posted 07 November 2013 - 04:24 AM
#16
Posted 07 December 2013 - 02:25 PM

EDIT: Sorry for bump. Thought I read 7 December, not 7 November.
Edited by awsmazinggenius, 26 December 2013 - 09:30 AM.
#17
Posted 18 December 2013 - 01:23 PM
Edited by Trey2.k, 18 December 2013 - 03:07 PM.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












