panelnax.blogg.se

Insufficient data pdf
Insufficient data pdf








insufficient data pdf
  1. Insufficient data pdf pdf#
  2. Insufficient data pdf windows#

Insufficient data pdf windows#

In addition, when the images are read in Windows XP, the flags property on the image object is set to 77888.

insufficient data pdf

This is supported by the comment from PDFsharpTeam. Can anyone confirm this or offer a workaround?Īs stated in my update, after reviewing this connect issue ( ) and the community comment on this MSDN page ( ), it appears the issue is related to an operating system level bug in Windows 7.

Insufficient data pdf pdf#

If I run the same code over the same TIFF files, then the PDF files that were corrupt before are now OK, and ones that were OK before are now corrupt.Īfter reviewing this connect issue ( ) and the community comment on this MSDN page ( ), it appears the issue is related to an operating system level bug in Windows 7. Img.SelectActiveFrame(FrameDimension.Page, pageNumber) Public Shared Function GetPage(ByVal img As Image, ByVal pageNumber As Integer) As Image Return img.GetFrameCount(FrameDimension.Page) Public Shared Function GetPageCount(ByVal img As Image) As Integer Using xgr = XGraphics.FromPdfPage(pdf.Pages(index)) Using pageImage = XImage.FromGdiPlusImage(sourceImage) What could be causing this? Is there anything I'm missing in the code that could prevent this? Public Shared Function ConvertImageToPDF(ByVal img As Image) As Byte() When I open the resulting PDF files in Acrobat Reader, I receive an error message for certain ones stating "Insufficient Data for Image." Others are fine. The following code performs the actual conversion. I have a utility that converts batches of TIFF images to PDFs using the PDFSharp library.










Insufficient data pdf