Package org.javlo.service.remote.imagga
Class ImaggaService
- java.lang.Object
-
- org.javlo.service.remote.imagga.ImaggaService
-
public class ImaggaService extends Object
-
-
Constructor Summary
Constructors Constructor Description ImaggaService()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Point
getImageFacesPoint(ImaggaConfig config, File file)
static Map<String,List<String>>
getImageTags(String apiKey, String apiSecret, File file, Collection<String> langs)
static Map<String,List<String>>
getImageTags(ImaggaConfig config, File file, Collection<String> langs)
static void
main(String[] args)
-
-
-
Method Detail
-
getImageTags
public static Map<String,List<String>> getImageTags(ImaggaConfig config, File file, Collection<String> langs) throws IOException
- Throws:
IOException
-
getImageTags
public static Map<String,List<String>> getImageTags(String apiKey, String apiSecret, File file, Collection<String> langs) throws IOException
- Throws:
IOException
-
getImageFacesPoint
public static Point getImageFacesPoint(ImaggaConfig config, File file) throws IOException
- Throws:
IOException
-
main
public static void main(String[] args) throws IOException
- Throws:
IOException
-
-