aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/ImageSize.hs
AgeCommit message (Expand)AuthorFilesLines
2020-12-14ImageSize: use exif width and height when available.John MacFarlane1-0/+13
2020-12-13ImageSize: use JuicyPixels to extract size...John MacFarlane1-305/+8
2020-12-13ImageSize: use JuicyPixels to determine png size.John MacFarlane1-31/+19
2020-11-23ImageSize: default to DPI 72 if the format specifies DPI of 0.John MacFarlane1-1/+7
2020-03-15Use implicit Prelude (#6187)Albert Krewinkel1-2/+0
2020-03-13Update copyright year (#6186)Albert Krewinkel1-1/+1
2020-02-07More in-depth refactoring and cleanup (#6123)Joseph C. Sible1-3/+1
2019-11-12Switch to new pandoc-types and use Text instead of String [API change].despresc1-37/+38
2019-03-21Improve pdfSize in ImageSize by ignoring all whitespace in /MediaBox command ...richarddavis1-1/+4
2019-03-20Improve pdfSize in ImageSize.John MacFarlane1-20/+25
2019-03-01Remove license boilerplate.John MacFarlane1-18/+0
2019-02-04Add missing copyright notices and remove license boilerplate (#5112)Albert Krewinkel1-2/+2
2018-08-10Avoid non-exhaustive pattern matches.John MacFarlane1-4/+6
2018-08-10Avoid non-exhaustive pattern match.John MacFarlane1-11/+12
2018-08-10Avoid non-exhaustive pattern match.John MacFarlane1-10/+12
2018-03-18Use NoImplicitPrelude and explicitly import Prelude.John MacFarlane1-0/+2
2018-03-17hlint fixes.John MacFarlane1-5/+5
2018-02-18EMF Image size support (#4375)Andrew Pritchard1-1/+37
2018-02-16Make image size detection for PDFs more robust.John MacFarlane1-2/+4
2018-02-03C -> c.John MacFarlane1-1/+1
2018-02-02Determine image size for PDFs.John MacFarlane1-1/+22
2018-01-17ImageSize: add derived Eq instance to DimensionJesse Rosenthal1-0/+1
2018-01-05Update copyright notices to include 2018Albert Krewinkel1-2/+2
2017-11-01hlintAlexander Krotov1-2/+2
2017-10-31Add Millimeter constructor to Dimension in ImageSize.John MacFarlane1-1/+6
2017-10-27hlint suggestions.John MacFarlane1-1/+0
2017-06-02hlint suggestions.John MacFarlane1-29/+28
2017-05-25Allow em for image height/width in HTML, LaTeX.John MacFarlane1-2/+18
2017-05-20Improve SVG image size code.Marc Schreiber1-1/+1
2017-05-13Update dates in copyright noticesAlbert Krewinkel1-2/+2
2017-04-16Read image size of Inkscape SVGs (#3580)schrieveslaach1-4/+4
2017-02-26ImageSize: export lengthToDim, new function scaleDimension.John MacFarlane1-0/+12
2017-02-22imageSize interface changemb211-6/+5
2017-02-22make imageSize recognize basic SVG dimensions, see #3462mb211-16/+48
2017-01-25Removed hush from Text.Pandoc.Shared.John MacFarlane1-3/+3
2016-09-02Remove Text.Pandoc.Compat.ExceptJesse Rosenthal1-2/+1
2016-03-22Updated copyright dates to include 2016.John MacFarlane1-2/+2
2015-11-21ImageSize: use safeRead instead of readMaybe.John MacFarlane1-2/+1
2015-11-19Merge branch 'new-image-attributes' of https://github.com/mb21/pandoc into mb...John MacFarlane1-15/+138
2015-11-09Revert "Use -XNoImplicitPrelude and 'import Prelude' explicitly."John MacFarlane1-1/+0
2015-11-08Use -XNoImplicitPrelude and 'import Prelude' explicitly.John MacFarlane1-0/+1
2015-10-14Use custom Prelude to avoid compiler warnings.John MacFarlane1-1/+0
2015-08-05ImageSize: Added functions for converting between image dimensions.John MacFarlane1-15/+138
2015-05-10ImageSize: fixed some exif parsing bugs.John MacFarlane1-22/+26
2015-05-09ImageSize: Use runGetOrFail with binary 0.7+.John MacFarlane1-2/+13
2015-05-09ImageSize: make jpeg header parsing routines return Either.John MacFarlane1-29/+34
2015-05-09ImageSize: make imageSize return an Either, not a Maybe.John MacFarlane1-9/+11
2015-04-26Updated copyright notices to -2015. Closes #2111.John MacFarlane1-2/+2
2015-02-18Move utility error functions to Text.Pandoc.SharedMatthew Pickering1-2/+1
2015-02-18Remove landmine from ImageSizeMatthew Pickering1-30/+37