Hi,
When we try to use Aspose.pdf.Image to create an image from web, we get the following error: “This stream does not support seek operations.” at pdf.Save().
Reference: http://www.aspose.com/Products/Aspose.Pdf/Guide/Image.html
This issue is replicable in all version of Aspose dll.
Second issue: If we use any other method (say, Image from Memory stream), the image is overlapping on the text.
PF the code sample below:
Pdf pdf1 = new Pdf();
Section sec1 = new Section(pdf1);
pdf1.Sections.Add(sec1);
Aspose.Pdf.Image image1 = new Aspose.Pdf.Image(sec1);
image1.ImageInfo.File = @"http://png-2.findicons.com/files/icons/1759/isabi4/128/adobe_acrobat_reader.png";
image1.ImageInfo.ImageFileType= ImageFileType.Png;
Text t1 = new Text("Aspose.Words for .NET is a class library that enables your applications to perform a great range of document processing tasks. Aspose.Words supports DOC, DOCX, RTF, HTML, OpenDocument, PDF, XPS, EPUB and other formats. With Aspose.Words you can generate, modify, convert, render and print documents without utilizing Microsoft Word.");
Text t2 = new Text("Aspose.Words for .NET is a class library that enables your applications to perform a great range of document processing tasks. Aspose.Words supports DOC, DOCX, RTF, HTML, OpenDocument, PDF, XPS, EPUB and other formats. With Aspose.Words you can generate, modify, convert, render and print documents without utilizing Microsoft Word.");
t1.ID = "para1";
sec1.Paragraphs.Add(t1);
sec1.Paragraphs.Add(image1);
sec1.Paragraphs.Add(t2);
pdf1.Save(@"C:\aspose.pdf");
Please help us resolving this issue.
Thanks