Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Haskell library to load & save pictures
Haskell C Other

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
skeletons
src/Codec
test-src
tests
.gitignore
.travis.yml
JuicyPixels.cabal
LICENSE
Makefile
README.md
Setup.hs
changelog
clean_test.ps1
imageReporter.py
saferizer.ps1

README.md

Juicy logo

Build Status

Juicy.Pixels

This library provide 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'l 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 REPA, check-out JuicyPixels-repa on GitHub or Hackage

For the user of Gloss, check-out gloss-juicy on GitHub or Hackage

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)
  • Bitmap (.bmp) (mainly used as a debug output format)

    • Reading

      • 24bits (RGB) images
    • Writing

      • 32bits (RGBA) per pixel images
      • 24bits (RGB) per pixel images
      • 8 bits greyscale (with palette)
  • Jpeg (.jpg, .jpeg)

    • Reading normal and interlaced baseline DCT image
    • Writing non-interlaced JPG
  • Gif (.gif)

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

    • Reading
    • Writing
  • 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

I love juicy pixels

You can make donations on this page.

Something went wrong with that request. Please try again.