Giter VIP home page Giter VIP logo

hsmagick's Introduction

This is an incomplete set of FFI bindings for the GraphicsMagick library. You will need to install GraphicsMagick first -- see:

http://www.graphicsmagick.org/

I have tested these bindings with GraphicsMagick 1.2, which is available as a "snapshot" from the above URL. The library will not build with GraphicsMagick 1.1.10 or 1.1.11 (the most recent released version as of this writing). If it's important to you to be able to use this library with a stable released version of GraphicsMagick, let me know.

The Haddock documentation only includes type signatures so far, and that's not good enough. However, the API calls should mostly map onto those documented at:

http://www.graphicsmagick.org/api/api.html

Tests can be found in: Graphics.Transform.Magick.Test However, right now all tests are commented out since I didn't have time to change them to use non-hard-wired file names. I hope it should be obvious what my intentions were. A less ad hoc test framework would be better yet.

Please submit bug reports, questions, feedback, complaints, praise, and especially patches (including documentation patches) to the maintainer at:

 vincent_AT_xenbox.fr

I did a lot of this work during the second Haskell Hackathon (Hac II '07) in Freiburg in September 2007. I'd like to thank all the attendees at Hac II for their moral support, particularly Duncan Coutts for help with the FFI, as well as: Mark Jones, the members of the Portland Functional Programming Study Group, and David MacIver, for their encouragement.

-- Tim Chevalier Portland, Oregon April 6, 2008

=== Contributors ===

Thanks to "nonowarn", "Steffen Siering", "ricree", "nek0", "Sean Hess" for contributing patches.

Installation

This package requires graphicsmagic, lcms, jasper, and libwmf

OSX Installation instructions (tested on 10.10)

brew install GraphicsMagick lcms jasper libwmf

cabal install hsmagick

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.