aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-08-27 16:35:58 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-08-27 16:35:58 -0700
commiteb7ed27f3f30ef954fe22c8b194f39f8ac8d0029 (patch)
treeb095d770c396dc4cfabadaa790b3a4fe1be9490f
parent7d0db790032bddd29db1eaeb36c9c25929431748 (diff)
downloadpandoc-eb7ed27f3f30ef954fe22c8b194f39f8ac8d0029.tar.gz
Add haddock for dpi parameter.
-rw-r--r--src/Text/Pandoc/Image.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Image.hs b/src/Text/Pandoc/Image.hs
index ce3c0e41d..468edf2c2 100644
--- a/src/Text/Pandoc/Image.hs
+++ b/src/Text/Pandoc/Image.hs
@@ -21,7 +21,7 @@ import qualified Control.Exception as E
-- | Convert svg image to png. rsvg-convert
-- is used and must be available on the path.
-svgToPng :: Int
+svgToPng :: Int -- ^ DPI
-> L.ByteString -- ^ Input image as bytestring
-> IO (Either Text L.ByteString)
svgToPng dpi bs = do