Nuxeo ECM Projects 5.4.3-SNAPSHOT

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

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

public class ImageResizer
extends MagickExecutor

Unit command to extract a simplified view of a JPEG file using ImageMagick = extract the needed picture information to reach the target definition level

Author:
tiry

Constructor Summary
ImageResizer()
           
 
Method Summary
static ImageInfo resize(String inputFile, String outputFile, int targetWidth, int targetHeight, int targetDepth)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageResizer

public ImageResizer()
Method Detail

resize

public static ImageInfo resize(String inputFile,
                               String outputFile,
                               int targetWidth,
                               int targetHeight,
                               int targetDepth)
                        throws CommandNotAvailable
Throws:
CommandNotAvailable

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.