PDFRasterizer.NET 4.0 is now available. Supports .NET Core. Renders pixel-perfectly.

Pixel perfect rendering

Starting with version 4.0, PDFRasterizer.NET renders pixel perfect due to a complete overhaul of our render engine.

The following compares the rendering of PDFRasterizer.NET 3.0, 4.0 and Adobe PDF Reader.

Blending modes

PDFRasterizer.NET 4.0 has implemented all blending modes in contrast with version 3.0. It is possible to see differences in rendering on the next examples.

Luminosity blending mode

In the following example, a light blue colored rectangle is rendered in the background, an image partially overlaps this rectangle and luminosity blending mode is used for rendering image.

3.04.0Adobe Reader

The following examples show all blending modes. Each PDF has two images that overlap. Image with blue vertical strips with different opacity is rendered in the background. Most left strip is fully transparent most right strip is opaque. Rest strips are semitransparent with growing opacity from left to right. Foreground image is similar to previous one. It contains horizontal brown strips with different opacity growing from top to down.

Color

3.04.0Adobe Reader

Color Burn

3.04.0Adobe Reader

Color Dodge

3.04.0Adobe Reader

Darken

3.04.0Adobe Reader

Difference

3.04.0Adobe Reader

Exclusion

3.04.0Adobe Reader

Hard Light

3.04.0Adobe Reader

Hue

3.04.0Adobe Reader

Lighten

3.04.0Adobe Reader

Luminosity

3.04.0Adobe Reader

Multiply

3.04.0Adobe Reader

Normal

3.04.0Adobe Reader

Overlay

3.04.0Adobe Reader

Saturation

3.04.0Adobe Reader

Screen

3.04.0Adobe Reader

Soft Light

3.04.0Adobe Reader

Image rendering quality

The following examples show differences in image render quality.

Enlarged small image

This is example shows how small image is rendered on the page when it is enlarged. This PDF has image of the size 2x2 pixels (read, blue, green and white squares).

3.04.0Adobe Reader

Image sharpness

3.0
4.0
Adobe
Reader

1 bpc rgb image

When the 1 bpc (bits per component) image is renderd too small, Rasterizer4 renders in much better quality (look at small images of the butterfly).

3.0
4.0
Adobe
Reader

16 bpc Lab Color space

Correctly decoded image with 16 bpc in Lab color space from JPX stream.

3.0
4.0
Adobe
Reader

Image's soft mask

Decode parameters in the image's soft mask are accepted. It is possible to see soft mask is semitransparent.

3.0
4.0
Adobe
Reader

Image's soft mask matte color blending

Images's soft mask can have defined matte color which has to be used by rendered to blend soft mask before it's using for masking.

3.04.0Adobe Reader

Soft mask in the Graphics state

PDFRasterizer.NET 3.0 does not always apply a soft mask from graphics state during rendering images.

3.0
4.0
Adobe
Reader

Path rendering

Stroke and fill with semitransparent color or using blending mode

When stroke&fill operator is used for rendering paths and stroke color is semitransparent or other than normal blending mode is used fill color has not be visible through stroke color.

3.0
4.0
Adobe
Reader

Line Dash Pattern

Dash pattern has to be applied properly. It is possible to see differences in rendering dashed lines mostly on green, violet and pink lines.

3.0
4.0
Adobe
Reader

Shadings

All seven shading types are rendered correctly by PDFRasterizer.NET 4.0. Version 3.0 supports only a few of them.

Shading type 1

This shading is not supported by PDFRasterizer.NET 3.0.

3.0
4.0
Adobe
Reader

Shading type 2

Shading is not applied well for stroking color. Fill shading doesn't uses 'Background' attribute (in this example brown color) of shading definition in Rasterizer3.

3.0
4.0
Adobe
Reader

Shading type 3

3.0
4.0
Adobe
Reader

Shading type 4

This shading is not implemented in Rasterizer3.

3.0
4.0
Adobe
Reader

Shading type 5

This shading is not implemented in Rasterizer3.

3.0
4.0
Adobe
Reader

Shading type 6

This shading is not implemented in Rasterizer3.

3.0
4.0
Adobe
Reader

Shading type 7

Shading type 7 is not implemented properly in Ratserizer3.

3.0
4.0
Adobe
Reader

Shading & Text

Again shading doesn't uses 'Background' attribute (in this example brown color) of shading definition in Rasterizer3. Therefor some letters are not visible.

3.0
4.0
Adobe
Reader

Shading & Image as mask

1 bpc gray image (map of the sky) is used as mask for shading of type 2. Rasterizer3 is not able to apply mask on shadings. Blue rectangle is rendered in the background to demonstrate mask is rendered well.

3.0
4.0
Adobe
Reader

Transparency groups

Rasterizer3 doesn't implement transparency groups (next only TGs is used) in contrast with Rasterizer4. Rasterizer4 implements only isolated non-knockout TGs. It is possible to see differences in the next examples. Brown rectangle is rendered on the pages. Two blue triangles are rendered in the TG which is combined with background page (brown rectangle) by using different blending modes.

Isolated non-knockout transparency group & Darken blending

Darken blending mode and transparency 0.753 is used for rendering TG.

3.0
4.0
Adobe
Reader

Isolated non-knockout transparency group & Difference blending

Difference blending mode and transparency 0.753 is used for rendering TG.

3.0
4.0
Adobe
Reader

Isolated non-knockout transparency group & Multiply blending

Multiply blending mode and transparency 0.753 is used for rendering TG. In contrast with previous examples TG contains two rectangles with different colors. First one is blue second one is green. Difference blending mode and transparency 0.753 is used for rendering these triangles.

3.0
4.0
Adobe
Reader
Download PDFRasterizer.NET 4.0
We will send you a download link

  • This field is for validation purposes and should be left unchanged.
Why do we ask your email address?
We send tips that speed up your evaluation
We let you know about bug fixes
You can always unsubscribe with one click
We never share your address with a 3rd party
Thank you for your download

We have sent an email with a download link.