diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2022-05-28 04:05:12 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-28 04:05:12 -0600 |
| commit | b3d6ca814bcd5c0dc0a4d5c8c699fb6d0ea81a7d (patch) | |
| tree | 851e4f4891ec23f85de92fb7ab1a35fc334c2bd2 /docs | |
| parent | 610833132feac326c177784dac8f62604e411179 (diff) | |
resolves #2216 patch prawn-gmagick to reread bit depth of a PNG image if it extracts the wrong value (PR #2217)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/modules/ROOT/pages/image-paths-and-formats.adoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/modules/ROOT/pages/image-paths-and-formats.adoc b/docs/modules/ROOT/pages/image-paths-and-formats.adoc index aeed8d6b..c8d42af1 100644 --- a/docs/modules/ROOT/pages/image-paths-and-formats.adoc +++ b/docs/modules/ROOT/pages/image-paths-and-formats.adoc @@ -69,7 +69,7 @@ We highly recommend using this gem with Asciidoctor PDF if you're able to instal ==== Unregister prawn-gmagick -One downside of delegating to GraphicsMagick is that it can misinterpret certain PNG images. +In rare cases, GraphicsMagick (the backend library for prawn-gmagick) can misread the bit depth of certain PNG images. If this happens, you can instruct Asciidoctor PDF to not delegate to GraphicsMagick. You can configure Asciidoctor PDF to not delegate to GraphicsMagick when loading PNG images by requiring `asciidoctor/pdf/nopngmagick` when calling Asciidoctor PDF, as follows: |
