MyNixOS website logo
Description

Converts between the Friday and JuicyPixels image types.

friday-juicypixels

This library facilitates conversion between friday (an all-Haskell image manipulation library) and JuicyPixels (an all-Haskell encoder/decoder library for many image formats). Combining these two libraries is useful for adding basic image manipulation capabilities of many image formats to a Haskell application without requiring any C libraries/headers to be installed.

NOTE: Expect this library's API to break, as it is still very young.

Compared to friday-devil

The friday-devil package provides a storage backend to friday by calling the DevIL library. It is much more mature, and probably a lot faster (though benchmarks have yet to prove this).

This package is not in the spirit of friday-devil which is a more native bridge than conversion . As such, it should probabably be called something different like juicy-friday.

TODO

  • Make it into a storage backend that automatically converts all formats and color spaces supported by JuicyPixels to the internal representations supported by friday.
  • Add some benchmarks. Include friday-devil and ImageMagik.
  • Add more specs.

Done:

  • Conversion between JP and Friday for cheap using coerce and unsafeCoerce, yay!
  • Basic test suite.

License

Released under a 3-clause BSD license.

Metadata

Version

0.1.2.4

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows