added test cases
removed logging
added support for GraphicsMagick