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.
What is the Best Image Format to Store in a PDF file
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi qcrnd,
PDFFormat generates a PDF file. You could try saving it to disk and openning it with notepad and with a PDF reader. You'll see exactly what it contains.
PDFFormat generates a PDF file. You could try saving it to disk and openning it with notepad and with a PDF reader. You'll see exactly what it contains.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |