Non palette support (tri-channel), info size calculation on server side

- server side info size calc is for later jpeg support