palletizing: return width & height

Please merge and release new package to npmjs ;)
Reason: Being able to create a matching 2d canvas without looping over the result again.

thx for this awesome module!