h*%5"      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\1.2.6.4  Safe-InferredbmpContains the XYZ coordinates of a specific color in a specified color space. Safe-InferredbmpThe Compression mode says how the image data is encoded in the file.  Safe-Inferred) bmp1Things that can go wrong when loading a BMP file. bmpMagic number was not at the start of the file, so this probably isn't a BMP file. bmp+File is too short to contain a file header. bmp-File is too short to contain an image header.bmp,File is too short to contain the image data.bmpReserved fields should be zero.bmpThe offset to the image data from the file header doesn't point anywhere sensible.bmpWe handle V3 V4 and V5 image headers, but the size of the header indicates it has some other format.bmp#We only handle single color planes.bmp$We only handle 24 and 32 bit images.bmp#We only handle uncompressed images.bmpMismatch between the image size stated in the header and that which is calculuated from the other fields.bmp$Something went wrong in the library.   Safe-Inferred |!bmp6Device Independent Bitmap (DIB) header for Windows V3.#bmp((+0) Size of the image header, in bytes.$bmp#(+4) Width of the image, in pixels.%bmp$(+8) Height of the image, in pixels.&bmpIf the height field in the file is negative then this is interpreted as an image with the rows flipped.'bmp(+12) Number of color planes.(bmp(+14) Number of bits per pixel.)bmp(+16) Image compression mode.*bmp(+20) Size of raw image data. Some encoders set this to zero, so we need to calculate it based on the overall file size.If it is non-zero then we check it matches the file size - header size.+bmp(+24) Prefered resolution in pixels per meter, along the X axis.,bmp(+28) Prefered resolution in pixels per meter, along the Y axis.-bmp,(+32) Number of color entries that are used..bmp#(+36) Number of significant colors.]bmpSize of ! header (in bytes)^bmpbmp Rendering intent for the bitmap.?bmpOffset (in bytes) from the beginning of the header to the start of the profile data.@bmp)Size (in bytes) of embedded profile data.AbmpReserved, should be zero.cbmpSize of ; header (in bytes)dbmpCheck headers for problems and unsupported features. The V5 header doesn't give us any more useful info than the V4 one.ebmp3Compute the size of the image data from the header. ;<=>?@Acde  Safe-Inferred3Bbmp-A wrapper for the various image header types.fbmpGet the common ! structure from a BBCDEf  Safe-Inferred FbmpBMP file header.Hbmp(+0) Magic numbers 0x42 0x4dIbmp (+2) Size of the file, in bytes.Jbmp(+6) Reserved, must be zero.Kbmp(+8) Reserved, must be zero.Lbmp5(+10) Offset in bytes to the start of the pixel data.gbmp!Size of a file header (in bytes).hbmp9Magic number that should come at the start of a BMP file.ibmp:Check a file header for problems and unsupported features. FGHIJKLhgi  Safe-Inferred+MbmpA BMP image. For an uncompressed image, the image data contains triples of BGR component values. Each line may also have zero pad values on the end, to bring them up to a multiple of 4 bytes in length.MNOPQ  Safe-InferredRbmp?Pack a string of RGBA component values into a 32-bit BMP image. Alias for S.Sbmp?Pack a string of RGBA component values into a 32-bit BMP image.:If the given dimensions don't match the input string then j.0If the width or height fields are negative then j.TbmpPack a string of RGBA component values into a 24-bit BMP image, discarding the alpha channel of the source data.:If the given dimensions don't match the input string then j.0If the width or height fields are negative then j.kbmp*Wrap pre-packed image data into BMP image.lbmp6Pack RGBA data into the format need by BMP image data.mbmpVbmpRead a BMP from a file. The file is checked for problems and unsupported features when read. If there is anything wrong this gives an   instead.Wbmp#Get a BMP image from a file handle.XbmpParse a BMP image from a lazy pYbmp Wrapper for ZZbmp!Put a BMP image to a file handle.[bmpRender a BMP image to a lazy p.\bmpGet the width and height of an image. It's better to use this function than to access the headers directly.MNOPQFGHIJKLBCDE!"#$%&'()*+,-./0123456789:;<=>?@A   VWXYZ[RSTU\MNOPQFGHIJKLBCDE!"#$%&'()*+,-./0123456789:;<=>?@A   VWXYZ[RSTU\ !"#$%&'()*+,-../0123456789:;;<=>?@ABCDEFFGHIJK L M N O P P Q R S T U V V W X Y Z [ \ ]^_`abcdefghijklm n o p qrst u v w x yz{|!bmp-1.2.6.4-EYyqgrFa80mVYh8GroO9K Codec.BMPbmpCodec.BMP.CIEXYZCodec.BMP.CompressionCodec.BMP.ErrorCodec.BMP.BitmapInfoV3Codec.BMP.BitmapInfoV4Codec.BMP.BitmapInfoV5Codec.BMP.BitmapInfoCodec.BMP.FileHeaderCodec.BMP.BaseCodec.BMP.PackCodec.BMP.UnpackCIEXYZ CompressionCompressionRGBCompressionRLE8CompressionRLE4CompressionBitFieldsCompressionJPEGCompressionPNGCompressionUnknownError ErrorBadMagicErrorFileHeaderTruncatedErrorImageHeaderTruncatedErrorImageDataTruncatedErrorReservedFieldNotZeroErrorDodgyFileHeaderFieldOffsetErrorUnhandledBitmapHeaderSizeErrorUnhandledPlanesCountErrorUnhandledColorDepthErrorUnhandledCompressionModeErrorImagePhysicalSizeMismatchErrorInternalErrorPleaseReport errorMagicerrorBytesNeedederrorBytesAvailableerrorFileHeaderOffseterrorBitmapHeaderSizeerrorPlanesCounterrorColorDeptherrorCompressionerrorImageSizeFromHeadererrorImageSizeOfBuffer BitmapInfoV3dib3Size dib3Width dib3Heightdib3HeightFlipped dib3Planes dib3BitCountdib3Compression dib3ImageSizedib3PelsPerMeterXdib3PelsPerMeterYdib3ColorsUseddib3ColorsImportant BitmapInfoV4 dib4InfoV3 dib4RedMask dib4GreenMask dib4BlueMask dib4AlphaMaskdib4ColorSpaceType dib4Endpoints dib4GammaReddib4GammaGreen dib4GammaBlue BitmapInfoV5 dib5InfoV4 dib5Intentdib5ProfileDatadib5ProfileSize dib5Reserved BitmapInfoInfoV3InfoV4InfoV5 FileHeaderfileHeaderTypefileHeaderFileSizefileHeaderReserved1fileHeaderReserved2fileHeaderOffsetBMP bmpFileHeader bmpBitmapInfobmpRawImageDatapackRGBA32ToBMPpackRGBA32ToBMP32packRGBA32ToBMP24unpackBMPToRGBA32readBMPhGetBMPparseBMPwriteBMPhPutBMP renderBMP bmpDimensionssizeOfBitmapInfoV3checkBitmapInfoV3imageSizeFromBitmapInfoV3sizeOfBitmapInfoV4checkBitmapInfoV4imageSizeFromBitmapInfoV4sizeOfBitmapInfoV5checkBitmapInfoV5imageSizeFromBitmapInfoV5getBitmapInfoV3sizeOfFileHeaderbmpMagiccheckFileHeaderbaseGHC.Errerror packDataToBMPpackRGBA32ToBGR24packRGBA32ToBGRA32packRGB24ToRGBA32packRGB32ToRGBA32bytestring-0.11.5.2Data.ByteString.Lazy.Internal ByteString