What is the Best Image Format to Store in a PDF file
Posted: Tue Dec 02, 2008 2:25 pm
Hi
I Create a PDF file and I import TChart images into the PDF file e.g.
Steema.TeeChart.Export.JPEGFormat img = tChart1.Export.Image.JPEG;
img.Save(stream)
Bitmap bmp = new Bitmap(stream)
And I add the bmp to my PDF.
I found that the images dont look so nice inside the PDF , A little blurred
I tried JPEG , Bitmap TIFF.
What do you recommend to get the best results for a chart to be inserted into a PDF file.
I saw that PDFFormat creates very good PDF image files but I dont know how to use it in my code since my PDF SW knows how to add System.Drawing.Image objects.
How can use the Data in PDFFormat , the stream or anything else to make it a System.Drawing.Image. I get an exception when I try
System.Drawing.Image image = System.Drawing.Image.FromStream(stream); ?? EXCEPTION !!!!???
What exactly is the PDFFormat.
Thanks.
Thanks.
I Create a PDF file and I import TChart images into the PDF file e.g.
Steema.TeeChart.Export.JPEGFormat img = tChart1.Export.Image.JPEG;
img.Save(stream)
Bitmap bmp = new Bitmap(stream)
And I add the bmp to my PDF.
I found that the images dont look so nice inside the PDF , A little blurred
I tried JPEG , Bitmap TIFF.
What do you recommend to get the best results for a chart to be inserted into a PDF file.
I saw that PDFFormat creates very good PDF image files but I dont know how to use it in my code since my PDF SW knows how to add System.Drawing.Image objects.
How can use the Data in PDFFormat , the stream or anything else to make it a System.Drawing.Image. I get an exception when I try
System.Drawing.Image image = System.Drawing.Image.FromStream(stream); ?? EXCEPTION !!!!???
What exactly is the PDFFormat.
Thanks.
Thanks.