diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2012-01-15 15:43:52 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2012-01-15 15:43:52 -0800 |
commit | b4e2d69cda504b6d312cad98b82e7c88e757ed20 (patch) | |
tree | 08736e8f90482af97d9fec9e7c6fc7f4bb2d6fde /src/Text/Pandoc/ImageSize.hs | |
parent | 691b7bdc66acdd5c9ac1f1b1800593995f117a71 (diff) | |
download | pandoc-b4e2d69cda504b6d312cad98b82e7c88e757ed20.tar.gz |
Fixed whitespace bug in comments.
Diffstat (limited to 'src/Text/Pandoc/ImageSize.hs')
-rw-r--r-- | src/Text/Pandoc/ImageSize.hs | 35 |
1 files changed, 16 insertions, 19 deletions
diff --git a/src/Text/Pandoc/ImageSize.hs b/src/Text/Pandoc/ImageSize.hs index 23bb2f739..1b6e9b0ab 100644 --- a/src/Text/Pandoc/ImageSize.hs +++ b/src/Text/Pandoc/ImageSize.hs @@ -7,31 +7,28 @@ the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -} + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., 59 + Temple Place, Suite 330, Boston, MA 02111-1307 USA +-} {- | Module : Text.Pandoc.ImageSize - Copyright : Copyright (C) 2011 John MacFarlane - License : GNU GPL, version 2 or above +Copyright : Copyright (C) 2011 John MacFarlane +License : GNU GPL, version 2 or above - Maintainer : John MacFarlane <jgm@berkeley.edu> - Stability : alpha - Portability : portable +Maintainer : John MacFarlane <jgm@berkeley.edu> +Stability : alpha +Portability : portable - Functions for determining the size of a PNG, JPEG, or GIF image. - - Algorithms borrowwed from wwwis.pl (c) 2005 Alex K, released - under the GPL. - -} - module Text.Pandoc.ImageSize ( ImageType(..), imageType, imageSize, +Functions for determining the size of a PNG, JPEG, or GIF image. +-} +module Text.Pandoc.ImageSize ( ImageType(..), imageType, imageSize, sizeInPixels, sizeInPoints, readImageSize ) where import Data.ByteString.Lazy (ByteString, unpack) import qualified Data.ByteString.Lazy.Char8 as B |