Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iop parsing: make the PictureObject data size check less restricitve
The standard says: "If the data are longer than expected after all of the rows and columns of pixels have been defined, then the VT shall ignore all extra data bytes." So the parsed raw data size does not need to be equal to the image dimension it could be bigger. I also came across an implement (Kverneland Andex1304) which contains a PictureGraphics with 0x0 actual size and 0 raw data size. Later it also contained it later with correct dimensions, but the parser bailed out on the first zero size.
- Loading branch information