Sorry. I found solution myself. I forgot to call pdfOut.Close(); before dispose the stream. Without that stream does not flush a data.
Oleg
Search found 3 matches
- Tue Dec 15, 2009 3:52 pm
- Forum: PDF
- Topic: How to convert Tiff to PDF from Stream to Stream?
- Replies: 2
- Views: 2059
- Mon Dec 14, 2009 11:50 pm
- Forum: PDF
- Topic: How to convert Tiff to PDF from Stream to Stream?
- Replies: 2
- Views: 2059
How to convert Tiff to PDF from Stream to Stream?
Hi, I need to convert TIFF to PDF. The source is Stream and PDF should be saved to Stream. I am using code below. When I finally save the PDF the file size is 0. When I am using CreateGdPictureImageFromFile and SaveAsPDF everithing works fine. What is wrong? Stream tiffIn = ... Stream pdfOut= new Me...
- Fri Oct 30, 2009 9:13 pm
- Forum: PDF
- Topic: Convert multi page Tiff to PDF
- Replies: 1
- Views: 1690
Convert multi page Tiff to PDF
Hi, I am using follow code to convert multi-page TIFF to PDF but as result I got one page PDF. What is wrong in my code? GdPictureImaging oGdPictureImaging = new GdPictureImaging(); imageId = oGdPictureImaging.TiffCreateMultiPageFromFile("Rendition-641442_0.tif"); oGdPictureImaging.SaveAsP...