ImageSize: Use strict, not lazy bytestrings.

This commit is contained in:
John MacFarlane 2013-01-11 12:11:37 -08:00
parent 77d9ead1b2
commit 2685ebff0f

View file

@ -30,8 +30,8 @@ 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
import Data.ByteString (ByteString, unpack)
import qualified Data.ByteString.Char8 as B
import Control.Monad
import Data.Bits