Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AccessViolationException when trying to use PdfPage.GetBitmap #19

Open
GoogleCodeExporter opened this issue May 7, 2015 · 6 comments
Open

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.Load PDF using FileStream
2.Try to get a bitmap of a page using pdfPage.GetBitmap
3.

What is the expected output? What do you see instead?
It Returns a valid Bitmap

What version of the product are you using? On what operating system?
Revision r68. Windows 7. Visual Studio 2010 x64 Build

Please provide any additional information below.
AccessViolationException is thrown with the following message "Attempted to 
read or write protected memory. This is often an indication that other memory 
is corrupt."

Original issue reported on code.google.com by jdrozd on 12 Feb 2011 at 4:43

@GoogleCodeExporter
Copy link
Author

Same Problems with Visual Studio 2010 x32 (German) Windows XP. (German)

Original comment by [email protected] on 14 Apr 2011 at 3:30

@GoogleCodeExporter
Copy link
Author

AccessViolationException is thrown 

Visual Studio 2010 x32   Windows 2003(sp2)

Original comment by [email protected] on 17 May 2011 at 5:04

@GoogleCodeExporter
Copy link
Author

  Bitmap bmp = wrapper.Pages[PageNumber].GetBitmap((double)DPI, true);

AccessViolationException is thrown with the following message "Attempted to 
read or write protected memory. This is often an indication that other memory 
is corrupt."


Original comment by [email protected] on 17 May 2011 at 5:07

@GoogleCodeExporter
Copy link
Author

AccessViolationException is thrown with the following message "Attempted to 
read or write protected memory. This is often an indication that other memory 
is corrupt."

Visual Studio 2008 , Windows XP x32

Original comment by [email protected] on 6 Jun 2011 at 10:05

@GoogleCodeExporter
Copy link
Author

using (PDFLibNet.PDFWrapper pdf = new PDFLibNet.PDFWrapper())
{
    if (pdf.LoadPDF(path))
    {
        pdf.ExportJpg(pathJPG + "_1.jpg", 1, 1, 300, 100, -1);
        pdf.ExportJpg(pathJPG + "_2.jpg", 2, 2, 300, 100, -1);
    }
} <--- At this point AccessViolationException is thrown with the following 
message "Attempted to read or write protected memory ...."

Original comment by gmbarrera on 25 Aug 2011 at 2:19

@GoogleCodeExporter
Copy link
Author

I also getting this error , any help will be appreciated. 

Original comment by [email protected] on 7 Feb 2012 at 5:59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant