Blank Bitmap with SaveAsImage

Technical support for Spire.PDFViewer

Moderator: iceblue support

Blank Bitmap with SaveAsImage

Postby tomskon » Tue Mar 05, 2013 5:20 pm

Fo a specific pdf file loaded normaly with PdfDocumentviewer.LoadFromStream( Stream) (the SaveToFile produce a good but slicy different pdf) the method SaveAsImage( Pageindex) produce a white blank Bitmap image fo all pages of the file for default threshold value (spectrum is normal). The pdf (1.5) is build with one image per page and ExtractFiles works finely even if the image could be registered rotate. I cant upload the pdf file because it is too big.
tomskon
 
Posts: 1
Joined: Tue Jul 10, 2012 11:25 am

Re: Blank Bitmap with SaveAsImage

Postby amy.zhao » Wed Mar 06, 2013 8:56 am

Dear tomskon,

Thanks for your inquiry.
To solve the issue you met, we need your pdf file to reproduce the problem, and then work out a solution for you.
Please send your pdf file to support@e-iceblue.com. Thank you!

Best regards,
Amy
E-iceblue support team
User avatar
amy.zhao
 
Posts: 2195
Joined: Wed Jun 27, 2012 8:50 am

Re: Blank Bitmap with SaveAsImage

Postby abivelj » Wed Mar 01, 2017 4:51 am

I am also having the same issue. When I try to save in any format jpg, BMP, or tiff I get a blank page.
I, however, am able to save it to a PDF using doc.SaveAsFile and it is fine.
Please Help.
abivelj
 
Posts: 1
Joined: Wed Feb 22, 2017 6:49 am

Re: Blank Bitmap with SaveAsImage

Postby Betsy.jiang » Wed Mar 01, 2017 6:31 am

Dear abivelj,

Thanks for your inquiry.
I have tested the scenario you mentioned with the latest Spire.PDFViewer Pack(Hotfix) Version:2.11.25, didn't find any issue. Please try to use this version, if the issue still exists with the version, please provide us the input file and the code you were using so that we can figure out the issue quickly.

Sincerely,
Betsy
E-iceblue support team
User avatar
Betsy.jiang
 
Posts: 1320
Joined: Tue Sep 06, 2016 8:30 am


Return to Spire.PDFViewer

Who is online

Users browsing this forum: No registered users and 0 guests