Submission for the PixelMap compression competition

Internally this uses a true lossless algorthem as uses 8 bit colors. 

In using PixelMap I found it frustrating that it looses color. 
So my motivation was to find a solution that can keep the orginal intent of the art.

In this submission I convert between the 4bit format so that it uses the reference 'star'
I think there maybe a bug in your 4bit conversion algo as it makes no sense that you divide by 17.


requires:
npm install sharp
npm install node-base91

expected output:

node app.js
--end sync code 
--star len:128 UaRz$(AAv(*wpBQPT?gwKAAAn`+>BAuAmBi@1u:%rBfZ0:_ewR4F%H8c$Z#J8RqK0P;T3sP:qy{H,^O;U6xWB54FVwq$}s5l4;zZ~l=[a=`a1ue+dLTEmw}xMmTji8{A
true
--zero len:41 UaRzrSAAv(*wpBQPT?>+BAAAn`+>BAQ"AYWLAY[~B
true
--inky len:231 UaRz*kBAv(*wpBQPT?K]UAAAn`+>BACEk+Vz@u3)T4$X[l3L4ZK}DfOVhhluvTI$&d9}$h`.,Lx[$tB"*t(n+^Gu2tTa>|]vkX1BIBB%=MIz>)5%#E{*3}BrxEAY@9PlctM,e}v+3`$+$P12zJY=Y:y_k17UNs*gfe=gjC=M49[Zo5YUKY|b$cmy=Kot]FnS0FNm]q$/l@MnoI55D0Tz,?W9q1Ykfu#M@#cInAA
true
--pinky len:233 UaRzPmBAv(*wpBQPT?2OVAAAn`+>BA=Dm+lz"O_.lOr0mPKGrJm+lz"OVFW[P$2L@EwmS{0nykq({EPW4F~~M5aiLRtB#FzlsreK@u>>[(6(dM,mlCxBDD;VX~>;>:|L{sZb7N&=AWH%:joIb@<f4A<)CUcmgYd1(Du6u_MGaz~OY0X,gw{{ON;]u}1u)igBmFOev.%D,P^G)m>+:r6}}TV[c3*SW!2YqH}%TenAA
true