PDFsharp & MigraDoc Foundation https://forum.pdfsharp.net/ |
|
Alpha map https://forum.pdfsharp.net/viewtopic.php?f=2&t=220 |
Page 1 of 1 |
Author: | Rus Almighty [ Thu Sep 06, 2007 10:06 am ] |
Post subject: | Alpha map |
Is there any way to draw a png with more then two transparency levels(1 bit) in pdf document with Pdfsharp:?: Thanks |
Author: | Thomas Hoevel [ Thu Sep 06, 2007 11:42 am ] |
Post subject: | |
This should work. AFAIK you need Adobe Reader 5.0 for this feature, so you have to set the PDF level in PDFsharp to 14. Code: PdfDocument document = new PdfDocument(filename);
document.Version = 14; It works for some PNG files with transparency. If you have a PNG file that is not supported, please mail us a sample so we can add that format to PDFsharp. See XGraphicsLab for some working examples. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |