org.silverpeas.image
Interface ImageTool

All Known Implementing Classes:
AbstractImageTool, Im4javaImageTool

public interface ImageTool

Author:
Yohann Chastagnier

Method Summary
 void convert(File source, File destination, AbstractImageToolOption option, ImageToolDirective... directives)
          Converts and resizes an image with dimensions and directives
 void convert(File source, File destination, ImageToolDirective... directives)
          Converts an image with some directives
 void convert(File source, File destination, Set<AbstractImageToolOption> options, ImageToolDirective... directives)
          Converts and resizes an image with dimensions and directives
 boolean isActivated()
          Indicates if image tools are available
 

Method Detail

isActivated

boolean isActivated()
Indicates if image tools are available

Returns:

convert

void convert(File source,
             File destination,
             ImageToolDirective... directives)
Converts an image with some directives

Parameters:
source -
destination -
directives -

convert

void convert(File source,
             File destination,
             AbstractImageToolOption option,
             ImageToolDirective... directives)
Converts and resizes an image with dimensions and directives

Parameters:
source -
destination -
option -
directives -

convert

void convert(File source,
             File destination,
             Set<AbstractImageToolOption> options,
             ImageToolDirective... directives)
Converts and resizes an image with dimensions and directives

Parameters:
source -
destination -
options -
directives -


Copyright © 2016 Silverpeas. All Rights Reserved.