Albert Krewinkel
8fdbef841d
Update copyright notices for 2014, add missing notices
2014-05-09 00:46:08 +02:00
John MacFarlane
a333d9788e
ImageSize: Avoid use of lookAhead, which is not in binary >= 0.6.
...
Closes #1124 .
2014-01-24 16:00:53 -08:00
John MacFarlane
a1abb3eeea
Allow binary 0.5. Version bump to 1.12.3.1.
2014-01-14 10:13:08 -08:00
John MacFarlane
b4b16d5786
Minor improvement to exif parser.
2014-01-09 22:51:23 -08:00
John MacFarlane
5c8c380a79
Better exif parsing, including image resolution.
...
This introduces a dependency on binary >= 0.6, but we depend
on binary >= 0.5 via zip-archive anyway.
Closes #976 .
2014-01-09 11:16:55 -08:00
John MacFarlane
3bf8012bf6
Text.Pandoc.ImageSize: Parse EXIF format JPGs.
...
Note: For now we just assign them all 72 dpi. It wasn't
clear to me how to extract the resolution information.
At least the aspect ratio will be right, and 72 dpi is
the most common setting.
Closes #976 .
2014-01-08 19:33:14 -08:00
John MacFarlane
b2385d0e9b
Text.Pandoc.ImageSize: Handle EPS.
...
Closes #903 . This change will make EPS images properly sized
on conversion to Word.
2013-07-16 22:04:59 -07:00
John MacFarlane
588a49acf9
ImageSize: Added Pdf to ImageType.
...
So far we have no function to determine PDF's size.
2013-02-23 23:03:56 -08:00
John MacFarlane
1cc4e7db52
ImageSize: Remove no longer exported readImageSize.
2013-01-11 15:44:16 -08:00
John MacFarlane
2685ebff0f
ImageSize: Use strict, not lazy bytestrings.
2013-01-11 12:11:37 -08:00
John MacFarlane
9ce3e2bf85
ImageSize: Fixed implementation of sizeInPoints.
2012-01-15 16:01:46 -08:00
John MacFarlane
b4e2d69cda
Fixed whitespace bug in comments.
2012-01-15 15:43:52 -08:00
John MacFarlane
691b7bdc66
ImageSize: extract dpi information from PNG and JPEG.
...
* ImageSize record now includes dpiX, dpiY, pxX, pxY.
* New functions sizeInPixels and sizeInPoints.
2012-01-15 15:40:26 -08:00
John MacFarlane
0d1740ea08
Export ImageType(..) from ImageSize.
2012-01-14 11:46:41 -08:00
John MacFarlane
51365b3b36
Added Text.Pandoc.ImageSize.
...
This is intened for use in docx and odt writers, so the size
of image boxes can be calculated.
2012-01-14 11:42:35 -08:00