Does DocumentBuilder.InsertImage do a compression in case of .bmp images ?
I have different behavior than working with OpenXml.
With .jpg files everything is OK, I mean I have same behavior on both OpenXml and Aspose processing.
The problem is with unit testing. In case when image was added over Aspose, when I am validating document byte array by reading the stream from ImagePart(s) I see that the size is pretty less.
// Image insertation
DocumentBuilder builder = new DocumentBuilder(document);
builder.InsertImage(imageStream);
Thanks