Code Monkey home page Code Monkey logo

juicy.pixels's Introduction

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.

juicy.pixels's People

Contributors

twinside avatar iger avatar jeffreyrosenbluth avatar nh2 avatar ornedan avatar ppelleti avatar clowcay avatar phadej avatar lehins avatar dagit avatar traviswhitaker avatar mtolly avatar ekmett avatar chobbes avatar alexanderkjeldaas avatar wyager avatar phischu avatar william42 avatar lightandlight avatar ggreif avatar bodigrim avatar jesskay avatar andreasabel avatar samvher avatar rishabhjain avatar mrkkrp avatar davean avatar thepperson avatar trofi avatar nafanya avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.