Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.automation.core.operations.services
Class PictureResize

java.lang.Object
  extended by org.nuxeo.ecm.automation.core.operations.services.PictureResize

public class PictureResize
extends Object

Simple Operation to convert the size of a picture blob

Author:
Tiry (tdelprat@nuxeo.com)

Field Summary
static String ID
           
 
Constructor Summary
PictureResize()
           
 
Method Summary
 Blob run(Blob blob)
           
 Blob run(DocumentModel doc)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final String ID
See Also:
Constant Field Values
Constructor Detail

PictureResize

public PictureResize()
Method Detail

run

public Blob run(DocumentModel doc)
         throws Exception
Throws:
Exception

run

public Blob run(Blob blob)
         throws Exception
Throws:
Exception

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.