We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39cc916 commit 1e2dbf9Copy full SHA for 1e2dbf9
src/Text/Pandoc/Image.hs
@@ -52,7 +52,7 @@ svgToPngIO dpi widthPt heightPt bs = do
52
createPngFallback :: (PandocMonad m) => Int -> (Double, Double) -> FilePath -> ByteString -> m (Maybe MediaItem)
53
createPngFallback dpi (xPt, yPt) fp bs = do
54
-- create fallback pngs for svgs
55
- res <- svgToPng (dpi, Just xPt, Just yPt, bs)
+ res <- svgToPng dpi (Just xPt) (Just yPt) bs
56
case res of
57
Right bs' -> do
58
insertMedia fp (Just "image/png") bs'
0 commit comments