TOOL PROBLEMS:
When loading creating a PDF from a GDI+ image, the conversion is not working correctly. The picture only has some of the text drawn, but most is solid black in color. See the code below:
System.IO.MemoryStream mstream = new System.IO.MemoryStream();
System.Drawing.Bitmap myBMP = new Bitmap(500, 1000);
System.Drawing.Image image = myBMP;
Graphics gr = Graphics.FromImage(image);
// use gr to draw on surface
myBMP.Save(mstream,System.Drawing.Imaging.ImageFormat.Bmp);
Pdf pdf1 = new Pdf();
Section sec1 = new Section(pdf1);
pdf1.Sections.Add(sec1);
Aspose.Pdf.Image image1 = new Aspose.Pdf.Image(sec1);
sec1.Paragraphs.Add(image1);
image1.ImageInfo.ImageFileType = ImageFileType.MemoryBmp;
image1.ImageInfo.OpenType = ImageOpenType.Memory;
image1.ImageScale = 1F; [//0.5F](https://0.5f/);
System.IO.BinaryReader reader = new System.IO.BinaryReader(mstream);
mstream.Position = 0;
image1.ImageInfo.MemoryData = reader.ReadBytes((int)mstream.Length);
myBMP.Dispose();
byte[] buf = new byte[1];
MemoryStream st = new MemoryStream();
pdf1.Save(st);
buf = st.GetBuffer();
SendPDFToBrowser(buf);
WEBSITE PROBLEMS:
PROBLEM #1
The paging mechanism on the Aspose.Pdf Forums is broken. When you click on a page number, it stays on the first page.
PROBLEM #2
This is the message I get whenever I try to search for specific text in the Aspose.Pdf forum.
“We are unable to serve your request”. This problem only happens on the Aspose.Pdf forum.