to.etc.domui.util.images.machines
Interface ImageHandler

All Known Implementing Classes:
ImageMagicImageHandler

public interface ImageHandler


Method Summary
 ImageInfo identify(java.io.File input)
           
 ImageSpec scale(ImageConverterHelper h, ImageSpec source, int page, int width, int height, java.lang.String targetMime)
           
 ImageSpec thumbnail(ImageConverterHelper h, ImageSpec source, int page, int width, int height, java.lang.String targetMime)
           
 

Method Detail

identify

ImageInfo identify(java.io.File input)
                   throws java.lang.Exception
Throws:
java.lang.Exception

scale

ImageSpec scale(ImageConverterHelper h,
                ImageSpec source,
                int page,
                int width,
                int height,
                java.lang.String targetMime)
                throws java.lang.Exception
Throws:
java.lang.Exception

thumbnail

ImageSpec thumbnail(ImageConverterHelper h,
                    ImageSpec source,
                    int page,
                    int width,
                    int height,
                    java.lang.String targetMime)
                    throws java.lang.Exception
Throws:
java.lang.Exception