JuicyPixels: Picture loading/serialization (in png, jpeg, bitmap, gif, tga, tiff and radiance)

[ bsd3, codec, graphics, image, library ] [ Propose Tags ]

This library can load and store images in PNG,Bitmap, Jpeg, Radiance, Tiff and Gif images.


[Skip to Readme]

Flags

Automatic Flags
NameDescriptionDefault
mmap

Enable the file loading via mmap (memory map)

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

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'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.0, 1.1, 1.2, 1.2.1, 1.3, 2.0, 2.0.1, 2.0.2, 3.0, 3.1, 3.1.1, 3.1.1.1, 3.1.2, 3.1.3, 3.1.3.1, 3.1.3.2, 3.1.3.3, 3.1.4, 3.1.4.1, 3.1.5, 3.1.5.1, 3.1.5.2, 3.1.6, 3.1.6.1, 3.1.7, 3.1.7.1, 3.2, 3.2.1, 3.2.2, 3.2.3, 3.2.3.1, 3.2.3.2, 3.2.4, 3.2.5, 3.2.5.1, 3.2.5.2, 3.2.5.3, 3.2.6, 3.2.6.1, 3.2.6.2, 3.2.6.3, 3.2.6.4, 3.2.7, 3.2.7.1, 3.2.7.2, 3.2.8, 3.2.8.1, 3.2.8.2, 3.2.8.3, 3.2.9, 3.2.9.1, 3.2.9.2, 3.2.9.3, 3.2.9.4, 3.2.9.5, 3.3, 3.3.1, 3.3.2, 3.3.3, 3.3.3.1, 3.3.4, 3.3.5, 3.3.6, 3.3.7, 3.3.8
Change log changelog
Dependencies base (>=4.5 && <4.11), binary (>=0.5 && <0.9), bytestring (>=0.9 && <0.11), containers (>=0.4.2 && <0.6), deepseq (>=1.1 && <1.5), mmap, mtl (>=1.1 && <2.3), primitive (>=0.4 && <0.7), transformers (>=0.2), vector (>=0.10 && <0.13), zlib (>=0.5.3.1 && <0.7) [details]
License BSD-3-Clause
Author Vincent Berthoux
Maintainer vincent.berthoux@gmail.com
Revised Revision 1 made by HerbertValerioRiedel at 2018-10-01T21:09:44Z
Category Codec, Graphics, Image
Home page https://github.com/Twinside/Juicy.Pixels
Source repo head: git clone git://github.com/Twinside/Juicy.Pixels.git
this: git clone git://github.com/Twinside/Juicy.Pixels.git(tag v3.2.8.3)
Uploaded by VincentBerthoux at 2017-08-19T07:11:04Z
Distributions Arch:3.3.8, Debian:3.3.5, Fedora:3.3.8, FreeBSD:3.2.6, LTSHaskell:3.3.8, NixOS:3.3.8, Stackage:3.3.8, openSUSE:3.3.8
Reverse Dependencies 113 direct, 270 indirect [details]
Downloads 144596 total (373 in the last 30 days)
Rating 2.75 (votes: 12) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-08-19 [all 1 reports]

Readme for JuicyPixels-3.2.8.3

[back to package description]

Juicy logo

Build Status 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)
    • 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) (mainly used as a debug output format)

    • Reading

      • 32bits (RGBA) images
      • 24bits (RGB) images
      • 8bits (greyscale & paletted) images
    • 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 EXIF metadata.
  • 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 bit depth reading (planar and contiguous for each)
      • 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.