crazy compressed image format with efficient pixel lookup