Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.picture.magick.utils
Class ImageCropper

java.lang.Object
  extended by org.nuxeo.ecm.platform.picture.magick.MagickExecutor
      extended by org.nuxeo.ecm.platform.picture.magick.utils.ImageCropper

public class ImageCropper
extends MagickExecutor

Unit command to crop a picture using ImageMagick.

Author:
tiry

Constructor Summary
ImageCropper()
           
 
Method Summary
static void crop(String inputFilePath, String outputFilePath, int tileWidth, int tileHeight, int offsetX, int offsetY)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageCropper

public ImageCropper()
Method Detail

crop

public static void crop(String inputFilePath,
                        String outputFilePath,
                        int tileWidth,
                        int tileHeight,
                        int offsetX,
                        int offsetY)
                 throws CommandNotAvailable
Throws:
CommandNotAvailable

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.