implement HDR2 chunk reader