PDF4NET 11.0.x

Released: Aug 30, 2021

11.0.x での更新項目

11.0.3

Updated Nov 30, 2021

Features

  • PDF4NET.Render
    • Added support for nearest neighbor algorithm when upscaling images that do not require interpolation.
    • Improved scaling for 8bpp indexed images.

Fixes

  • PDF4NET
    • Text cannot be extracted from PDF file.
    • PDF file with invalid stream length cannot be loaded.
    • Page cannot be extracted from PDF file if it contains invalid circular references.
    • Cell draw events are not fired for cells in flow table headers.
    • Page content cannot be extracted if the page has no /Contents key.
    • Annotation cannot be flattened if the appearance matrix has less than 6 elements.
  • PDF4NET.Render
    • PDF file cannot be converted to multipage TIFF.
    • Image with stencil mask is not rendered.
    • Bilinear image scaling is not correct around edges.
    • Inline images with both abbreviated and full keys are not rendered correctly.
    • Document is not converted correctly to multipage TIFF.
    • Invalid gray color is rendered as random gray.
    • In some situations the Width/Height of rendering surfaces is set to 0.

11.0.2

Updated Oct 29, 2021

Features

  • PDF4NET.Render
    • Improved scaling for 1/2/4 bit images.
    • Improved CalGray to RGB conversion.
    • Fine tuned thin line rendering.
    • Fine tuned thin clip paths and pattern filling.

Fixes

  • PDF4NET
    • Text cannot be extracted from PDF files created with non-embedded Unicode TrueType fonts.
    • PDF file with circular resource references cannot be saved as PDF/A.
    • PDF file with invalid keys in /Resources dictionary is not saved correctly.
    • Zero length PDF files throw index out of range exception.
    • PDF file is not saved correctly in page-by-page mode in some situations.
  • PDF4NET.Render
    • Images with invalid length are not rendered.
    • Page cannot be rendered if it contains very large soft masks.
    • Non-isolated transparency groups are not rendered correctly with Multiply blend mode.
    • Text annotations with invalid rectangles and misspelled name are not rendered.
    • 2bpp indexed images with a softmask are not rendered correctly.
    • 4bpp indexed images with a softmask are not rendered correctly.
    • 1bpp separation images are not rendered correctly.
    • 16bpc RGB images are not rendered.
    • 16bpc Gray images are not rendered.
    • Very small images with large soft masks are not rendered.
    • Page is not rendered correctly if it contains CalRgb images with soft masks.
    • Bilinear image scaling is incorrect.
    • Images with DeviceN colorspace with more than 1 colorant are not displayed.
    • 4bpp Gray images are not rendered.
    • CMYK images are slightly off.
    • Clipped soft masks are not rendered correctly.
    • Transparency groups are not rendered correctly if the blend mode is not Normal.

11.0.1

Updated Sep 30, 2021

Features

  • PDF4NET
    • Added support for the character spacing property (PdfFont.CharacterSpacing).
  • PDF4NET.Render
    • Added extended error reporting for PDF rendering.

Fixes

  • Identity-H encoded text is not rendered if the cmap table is damaged.
  • Some form field values are rendered upside-down.
  • Some transparency groups are not rendered correctly.
  • Stroked paths are not rendered correctly if the current transformation matrix has different scaling values for x and y.
  • Some softmasks are not rendered correctly.
  • Transparency groups are not rendered correctly when alpha is les than 1.
  • Some stroked text is not rendered correctly.
  • Some clip paths cannot be rasterized.
  • Page cannot be rendered if it contains images with DeviceN colorspace and soft mask.
  • Page cannot be rendered if it contains images with Gray colorspace and soft mask.
  • 4bpc RGB images are not displayed.
  • Multiply blend mode does not work correctly when alpha is less than 1.
  • Lighten blend mode does not work correctly when alpha is less than 1.
  • Clip masks are not combined correctly in some situations.
  • Some softmasks are not rendered correctly.
  • Images with stencil masks are not rendered correctly if the stencil mask size is different from image size.
  • Dashed paths are not stroked correctly if the dash array has an number of elements.
  • Images with 1 pixel height are not rendered in some situations.
  • 4bpc indexed images with chroma key mask are not rendered correctly.

11.0.0

Updated Aug 30, 2021

Features

  • PDF Rendering (included in PDF4NET+Render):
    • Convert PDF pages to color, grayscale and black & white images.
    • Convert PDF pages to RAW, PNG and TIFF (single and multi-page).
    • Native RGBA, BGRA, ARGB, RGB, BGR and grayscale rendering.
    • Built-in graphic engine that produces pixel matched results across all supported platforms.
    • Selective content rendering: text and/or vector graphics and/or images and/or form fields and/or annotations.
    • Supported PDF features:
      • Stroked and filled vector graphics.
      • Clipping paths including text based clipping paths.
      • Text (all text rendering modes).
      • Fonts (standard PDF fonts, embedded fonts, TrueType, Type1, Type3).
      • Images (RAW, DCT/JPEG, CCITT, JPEG2000, JBIG2, inline) with associated masks if present.
      • Colorspaces (RGB, CMYK, Gray, CalRGB, CalGray, Lab, ICC, Separation, DeviceN, Indexed).
      • Graphics state soft masks.
      • Transparency groups.
      • Blend modes.
      • PDF patterns.
      • PDF shadings (gradients).