JuicyPixels

This library can load and store images in PNG,Bitmap, Jpeg, Radiance, Tiff and Gif images. [Index] [Quick Jump] Enable the file loading via mmap (memory map) Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'. Package maintainers For package maintainers and hackage trustees Candidates This library provides saving & loading of different picture formats for the Haskell language. The aim of the library is to be as lightweight as possible, you ask it to load an image, and it'll dump you a big Vector full of juicy pixels. Or squared pixels, or whatever, as long as they're unboxed. The library documentation can be accessed on Hackage For the user of: REPA, check-out JuicyPixels-repa on GitHub or Hackage Gloss, check-out gloss-juicy on GitHub or Hackage PNG (.png) Reading Writing Metadata (reading/writing) Bitmap (.bmp) Reading Writing Metadata (reading/writing): DPI information Jpeg (.jpg, .jpeg) Reading normal and interlaced baseline DCT image Writing non-interlaced JPG Metadata: Gif (.gif) Radiance (.pic, .hdr) Tga Tiff Reading 2, 4, 8, 16 int bit depth reading (planar and contiguous for each) 32 bit floating point reading CMYK, YCbCr, RGB, RGBA, Paletted, Greyscale Uncompressed, PackBits, LZW Writing Metadata: reading DpiX, DpiY and EXIF informations. I love juicy pixels You can make donations on this page.


Keywords
codec, graphics, image, library, Propose Tags, Skip to Readme, , Index, Quick Jump, Codec.Picture, Codec.Picture.Bitmap, Codec.Picture.ColorQuant, Codec.Picture.Gif, Codec.Picture.Gif.Internal.LZW, Codec.Picture.Gif.Internal.LZWEncoding, Codec.Picture.HDR, Codec.Picture.Jpg, Codec.Picture.Jpg.Internal.Common, Codec.Picture.Jpg.Internal.DefaultTable, Codec.Picture.Jpg.Internal.FastDct, Codec.Picture.Jpg.Internal.FastIdct, Codec.Picture.Jpg.Internal.Metadata, Codec.Picture.Jpg.Internal.Progressive, Codec.Picture.Jpg.Internal.Types, Codec.Picture.Metadata, Codec.Picture.Metadata.Exif, Codec.Picture.Png, Codec.Picture.Png.Internal.Export, Codec.Picture.Png.Internal.Metadata, Codec.Picture.Png.Internal.Type, Codec.Picture.Saving, Codec.Picture.Tga, Codec.Picture.Tiff, Codec.Picture.Tiff.Internal.Metadata, Codec.Picture.Tiff.Internal.Types, Codec.Picture.Types, More info, JuicyPixels-3.3.8.tar.gz, browse, Package description, revised, metadata revisions, Package maintainers, VincentBerthoux, edit package information , Hackage, REPA, GitHub, Gloss, donations on this page
License
BSD-3-Clause
Install
cabal install JuicyPixels-3.3.8

Documentation

Juicy logo

Hackage

Juicy.Pixels

This library provides saving & loading of different picture formats for the Haskell language. The aim of the library is to be as lightweight as possible, you ask it to load an image, and it'll dump you a big Vector full of juicy pixels. Or squared pixels, or whatever, as long as they're unboxed.

Documentation

The library documentation can be accessed on Hackage

Wrappers

For the user of:

Status

  • PNG (.png)

    • Reading

      • 1,2,4,8 bits loading, Grayscale, 24bits, 24 bits with alpha, interleaved & filtered (fully compliant with the standard, tested against png suite).
    • Writing

      • 8bits RGB (non interleaved)
      • 8bits RGBA (non interleaved)
      • 8bits greyscale (non interleaved)
      • 16bits greyscale (non interleaved)
      • 16bits RGB (non interleaved)
      • 16bits RGBA (non interleaved)
      • 8bits RGB paletted image
      • 8bits RGBA paletted image
    • Metadata (reading/writing)

      • in a tEXT chunk: 'Title', 'Description', 'Author', 'Copyright', 'Software', 'Comment', 'Disclaimer', 'Source', 'Warning'
      • any other tEXT chunk.
      • in a gAMA field : 'Gamma'
      • DPI information in a pHYs chunk.
  • Bitmap (.bmp)

    • Reading

      • 16 or 32 bit RGBA images
      • 16, 24, 32 bit RGB images
      • 1, 4, or 8 bit (greyscale & paletted) images
      • RLE encoded or uncompressed
      • Windows 2.0/3.1/95/98 style bitmaps all supported
    • Writing

      • 32bits (RGBA) per pixel images
      • 24bits (RGB) per pixel images
      • 8 bits greyscale (with palette)
    • Metadata (reading/writing): DPI information

  • Jpeg (.jpg, .jpeg)

    • Reading normal and interlaced baseline DCT image

      • YCbCr (default) CMYK/YCbCrK/RGB colorspaces
    • Writing non-interlaced JPG

      • YCbCr (favored), Y, RGB & CMYK colorspaces
    • Metadata:

      • Reading and writing DpiX & DpiY from JFIF header.
      • Reading & writing EXIF metadata. No GPS information can be written now.
  • Gif (.gif)

    • Reading single image & animated Gif image, handles interlaced images.
    • Writing single & animated Gif images.
    • No metadata.
  • Radiance (.pic, .hdr)

    • Reading
    • Writing
    • No metadata.
  • Tga

    • Reading
      • 8, 16, 24 & 32 bits
      • paletted and unpaletted
      • RLE encoded or uncompressed
    • Writing
      • uncompressed 8bits (Pixel8)
      • uncompressed 24bits (PixelRGB8)
      • uncompressed 32bits (PixelRGBA8)
    • No metadata
  • Tiff

    • Reading

      • 2, 4, 8, 16 int bit depth reading (planar and contiguous for each)

      • 32 bit floating point reading

      • CMYK, YCbCr, RGB, RGBA, Paletted, Greyscale

      • Uncompressed, PackBits, LZW

    • Writing

      • 8 and 16 bits
      • CMYK, YCbCr, RGB, RGBA, Greyscale
      • Uncompressed
    • Metadata: reading DpiX, DpiY and EXIF informations.

I love juicy pixels

You can make donations on this page.