Happy !

StefanReichhart / Smagick

Project infos

License MIT
Tags
Creation date 2014-02-16
Website

Monticello registration

About Smagick

Smagick is a small, simple and OO interface to interact with Image Magick from within a Smalltalk environment via OSProcess.

This is a copy from

  • http://www.squeaksource.com/SqueakAddOns.html
  • http://www.squeaksource.com/PharoAddOns.html

Features

  • Image conversion and manipulation
  • Applying various effects and photo enhancements
  • Image comparison (basics)
  • Query Image for properties (default & exif)
  • Drawing shapes and text on images
  • Gathering information of the underlaying installation
  • ...

Setup

SmagickEnvironment setup: '/usr/bin'.

Examples

(SmagickImage on: '/tmp/in.jpg') convertTo: '/tmp/out.jpg' with: [ :converter | converter rotate: 90; antialias; enhance ]

(SmagickImage on: '/tmp/in.jpg') loadProperties

Status

  • Development Status: Production
  • Tested platforms: Squeak 3.9, Pharo 1.0-1.3

Requirements

  • VB-Regex
  • OSProcess
  • OSProcessIO
  • Image Magick (external)