This worked perfectly, thank you. However I ran into problem number 2. This does not work with InlineImages. I found this link: https://www.pdftron.com/documentation/samples/dotnetcore/cs/ElementReaderAdvTest so I was able to turn the Inline Image into a byte array, which seems to look like what I am expecting, but when I try to load that byte array into a standard Windows GDI Bitmap I am getting errors. Do I need to do anything else to the array in order for it to become a Bitmap object in C#?
I saw in the above link there is a section of code which makes it appear an Element can turn into a bitmap, however I was unable to find this function/method in the actual intellisense API when using the SDK:
Message from poster (attached file has been omitted)
I am happy to replace the code with anything, all I care about is ending up with a System.Drawing.Bitmap or png or tiff or anything I can load and view as an image.
Image2RGBA img_conv = new Image2RGBA(element, true);
FilterReader fr = new FilterReader(img_conv);
byte[] buff = new byte[img_conv.Size()];
fr.Read(buff);
imageStrings.Add(System.Convert.ToBase64String(buff)); //You can ignore this for the most part. I am just getting a Base64 string to send it to another function
fr.Dispose();
img_conv.Dispose();