i want to know some details about extracting images from a pdf document. I use the following code:
if (element.GetType() != Element.Type.e_image && element.GetType() != Element.Type.e_inline_image) continue; var ctm = element.GetCTM(); double x2 = 1, y2 = 1; ctm.Mult(ref x2, ref y2); var result = (new pdftron.PDF.Image(element.GetXObject())).GetBitmap();
I found a topic in the group that element.GetXObject() is not the right way for inline images. So i used this: Link The problem is that the export image is rotated. In the page it is normal but extracted it is backflip. So how is the best practices to extract images in
unrotated original form.