MS-WMF.pdf
Hello, i think this code has some issue. According to the wmf format specification:
- For the record type META_STRETCHBLT and META_DIBSTRETCHBLT, no matter the record with bitmap data or not, the data member "SrcHeight" and "SrcWidth" should exist.
therefor, the file "WmfStretchBltRecord.cs" (line 76, 80) and "WmfDIBStretchBltRecord.cs" (line 76, 80) is wrong.
If without bitmap data, the record length should be 28, not 24. and at line 80, need not this condition "if (!isWithoutBitmap)".
2.For the record type META_STRETCHDIB, wmf format specification doesn't refer to "without bitmap data", so, i think line 82 in file "WmfDIBStretchBltRecord.cs" is unnecessary, this record type must be 28 bytes and some DIB data bytes.
MS-WMF.pdf
Hello, i think this code has some issue. According to the wmf format specification:
therefor, the file "WmfStretchBltRecord.cs" (line 76, 80) and "WmfDIBStretchBltRecord.cs" (line 76, 80) is wrong.
If without bitmap data, the record length should be 28, not 24. and at line 80, need not this condition "if (!isWithoutBitmap)".
2.For the record type META_STRETCHDIB, wmf format specification doesn't refer to "without bitmap data", so, i think line 82 in file "WmfDIBStretchBltRecord.cs" is unnecessary, this record type must be 28 bytes and some DIB data bytes.