We purchased Aspose.PDF.Kit to extract images from PDF files, and we are using the sample code from the web site to extract images. We get an error returned from the line of code 'extractor.ExtractImage();' on several PDF files. The error is "Wrong image extracting, please check your pdf." I searched the forum for that error and found a reference saying it occurs when Aspose.PDF.Kit is used on a computer running 64-bit Windows. The reference was written in April 2008, and said that it was hoped that the problem would be fixed within two months. I'm getting the error from Aspose.PDF.Kit 3.2, which appears to be the latest version available. Does the product still not work on 64-bit Windows?
The second problem I encountered, which may be related, is that my program's memory usage kept getting larger and larger. The program runs in batch mode and processes several hundred PDF files at a time. My program finally failed when it got to about 1.5 gigabytes. Its memory usage is usually about 30 megabytes. I'll test my program on 32-bit Windows and see if I have the same problem if I'm not getting that error message. I may have to determine somehow in code if I'm running on 64-bit Windows and avoid calling ExtractImage if I am, so I don't have the memory problem.