Dekoh platform API

dekoh.portal.fwk.image
Class NativePhotoResizer

java.lang.Object
  extended by dekoh.portal.fwk.image.NativePhotoResizer
All Implemented Interfaces:
PhotoResizer

public class NativePhotoResizer
extends Object
implements PhotoResizer

Since:
Feb 27, 2008

Field Summary
static String DEFAULT_EXE_PATH
           
 
Constructor Summary
NativePhotoResizer(String exePath)
           
 
Method Summary
 void destroy()
           
static void main(String[] args)
           
 void resize(File orig, File med, File small, File sq)
           
 void resize(File orig, File med, File small, File sq, EXIFOrientation orientation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_EXE_PATH

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

NativePhotoResizer

public NativePhotoResizer(String exePath)
                   throws IOException
Throws:
IOException
Method Detail

resize

public void resize(File orig,
                   File med,
                   File small,
                   File sq,
                   EXIFOrientation orientation)
            throws IOException
Specified by:
resize in interface PhotoResizer
Throws:
IOException

resize

public void resize(File orig,
                   File med,
                   File small,
                   File sq)
            throws IOException
Specified by:
resize in interface PhotoResizer
Throws:
IOException

destroy

public void destroy()
             throws IOException
Specified by:
destroy in interface PhotoResizer
Throws:
IOException

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

Dekoh platform API

© 2009 Pramati Technologies - Dekoh - Portal for Developers