packages feed

bmp 1.2.0.2 → 1.2.1.1

raw patch · 5 files changed

+6/−6 lines, 5 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Codec.BMP: errorMagic :: Error -> Word16

Files

Codec/BMP.hs view
@@ -159,7 +159,7 @@ 		$ Right $ BMP  		{ bmpFileHeader 	= fileHeader 		, bmpBitmapInfo		= imageHeader-		, bmpRawImageData	= BS.pack $ BSL.unpack bufImage }+		, bmpRawImageData	= BS.concat $ BSL.toChunks bufImage }   -- Writing ----------------------------------------------------------------------------------------
Codec/BMP/Error.hs view
@@ -10,7 +10,8 @@          -- | Magic number was not at the start of the file,          --   so this probably isn't a BMP file.-        = ErrorBadMagic                         Word16+        = ErrorBadMagic+        { errorMagic            :: Word16 }          -- | File is too short to contain a file header. 	| ErrorFileHeaderTruncated
Codec/BMP/FileHeader.hs view
@@ -10,7 +10,8 @@ import Data.Binary import Data.Binary.Get	 import Data.Binary.Put-	++ -- File Headers ----------------------------------------------------------------------------------- -- | BMP file header. data FileHeader
Codec/BMP/Unpack.hs view
@@ -128,5 +128,3 @@ 		 		go (posX + 1) posY (oSrc + 4) (oDest + 4) --		
bmp.cabal view
@@ -1,5 +1,5 @@ Name:                bmp-Version:             1.2.0.2+Version:             1.2.1.1 License:             MIT License-file:        LICENSE Author:              Ben Lippmeier