Debenu Quick PDF Library 11.15 has been released onto the Debenu website and you can download the latest versions of the Windows, Mac, iOS and Android version from the product updates page.
We also have new versions of the next generation Windows versions of the ActiveX, DLL and LIB editions of the library. The primary difference between the ActiveX, DLL and LIB editions available from the product updates page and the editions available from here is that the current editions are produced from Delphi source code whereas the next generation editions are generated from C++ source code. In the future we will continue to support and update the Delphi edition of the library from the Delphi source code and support and update the DLL, ActiveX and LIB editions, as well as the Mac, iOS and Android versions from the C++ source code.
||LIB (Visual Studio 2010)
||LIB (Visual Studio 2012)
||LIB (Visual Studio 2013)
Please note: EMF and printing functionality is not currently supported in the next generation versions of the DLL, ActiveX and LIB editions.
To help us to further improve the new cross-platform version of the library we need your feedback. Leave comments on this blog with general comments and if you discover a bug, performance issue or some other issue that you think should be reported to us please fill out the bug report form and send it to us. Select “Debenu Quick PDF Library Cross-Platform Beta” as the Product when you submit the report and be sure to accurately update the Edition and Operating System fields.
We look forward to your feedback!
Thanks to everyone who participated in the first phase of Debenu Labs. We kicked Debenu Labs off with two exciting new projects which have long been sought after by our customers.
The new rendering and printing engine is now distributed as part of Debenu Quick PDF Library 10.13 and the new PDF viewer control, officially known as Debenu PDF Viewer SDK, is now available as a commercial add-on to Debenu Quick PDF Library.
You can expect lots more improvements to the rendering and printing engine as well as the viewer control over the coming months.
Of course we’ve got other exciting projects coming up as well, so stay tuned and as always send us your feedback!
Please note that the information and files shared in this blog post are private and confidential and should not be discussed on any public forums until otherwise stated by Debenu.
We’re really excited to share with you a new rendering engine that we’ve been working on for Debenu Quick PDF Library. This new rendering engine no longer relies on GDI+ and has major improvements in the following areas:
- Full transparency support (transparency groups, soft masks, including all supported blend modes)
- Shading patterns support (function-based shadings, axial shadings, radial shadings, triangle meshes, coons patch meshes, tensor-product patch meshes)
- Tiling patterns support (colored, uncolored)
- Line dash pattern support
- Image handling improvements (images can now be passed to DPLR as a pure data, new image transformation tool)
- Additional image rendering filters (bilinear, bicubic) to improve image antialiasing
- PDF functions bug fixes
This new rendering engine will be part of the standard Debenu Quick PDF Library although it will be a separate DLL which will need to be called from within the main library binary file.
The steps for installing and using this new rendering engine are provided below.
- Download and install Debenu Quick PDF Library 10.12 from the product updates page (if you haven’t already got it installed. You will need version 10.12 in order to use the new rendering engine.
- Download the new Debenu PDF Renderer (DebenuPDFRendererDLL1012.dll is 32-bit and DebenuPDFRenderer64DLL1012.dll is 64-bit) binaries.
- In your code call the SetDPLRFileName function to specify the location of the DebenuPDFRenderer.dll binary file on your machine. Then call the SelectRenderer function and specify 3 as the value for the RendererID parameter to select the new Debenu PDF Renderer.
- Now call either the RenderPageToDC or DARenderPageToDC functions to see the results of the new rendering engine. Currently only rendering to DC (device context) is supported but support will also be added for functions such as RenderPageToFile shortly.
Here’s some sample code in C# which demonstrates how to choose the new rendering engine and then render each page as an image.
double pw, ph;
double scale, sx, sy;
if ((DPL.PageRotation() % 180) == 0)
pw = DPL.GetPageBox(2, 2); // Width
ph = DPL.GetPageBox(2, 3); // Height
pw = DPL.GetPageBox(2, 3); // Rotated Height
ph = DPL.GetPageBox(2, 2); // Rotated Width
sx = pictureBox1.Width / pw;
sy = pictureBox1.Height / ph;
scale = Math.Min(sx, sy);
int page = 1;
Bitmap b = new Bitmap((int)pictureBox1.Width, (int)pictureBox1.Height, PixelFormat.Format32bppArgb);
using (Graphics g = Graphics.FromImage(b))
IntPtr dc = g.GetHdc();
// Point to the new DPLR DLL
int SetDPLRVal = DPL.SetDPLRFileName(@"C:\Temp\RenderAGG\DebenuPDFRendererDLL1012.dll");
// Select the new DPLR engine
int SelectRendVal = DPL.SelectRenderer(3);
// Render to DC
DPL.RenderPageToDC(72 * scale, page, (int)dc);
pictureBox1.Image = b;
Do you like what you see with the new rendering engine? Leave a comment either way, we’d love to hear from you.
On behalf of the development team at Debenu I would like to introduce you to Debenu Labs.
What is Debenu Labs, I hear you ask? Debenu Labs is where software engineers at Debenu can share prerelease software with Debenu customers and also share prototypes of potential new products and technology with customers as well. Read our mission statement for more details on how we intend to use this site.
The success of Debenu Labs will depend on its usefulness to Debenu’s customers, so as a customer, we would really like to hear your feedback on our beta releases and prototypes. Leave a comment, make a suggestion and get involved.