Package | Description |
---|---|
org.onehippo.forge.gallerymagick.core | |
org.onehippo.forge.gallerymagick.core.command |
Modifier and Type | Method and Description |
---|---|
static ImageDimension |
ImageDimension.from(int width,
int height) |
static ImageDimension |
ImageDimension.from(String dimension) |
Modifier and Type | Method and Description |
---|---|
static ImageDimension |
ImageMagickCommandUtils.identifyDimension(File sourceFile)
Execute
identify sub-command and return an ImageDimension instance from the output. |
static ImageDimension |
ScalrProcessorUtils.identifyDimension(File sourceFile)
Detects the
sourceFile and returns the size dimension from it. |
static ImageDimension |
GraphicsMagickCommandUtils.identifyDimension(File sourceFile)
Execute
identify sub-command and return an ImageDimension instance from the output. |
Modifier and Type | Method and Description |
---|---|
static void |
ImageMagickCommandUtils.resizeImage(File sourceFile,
File targetFile,
ImageDimension dimension)
Resize the given image
sourceFile with resizing it to width and height
and store the resized image to targetFile . |
static void |
ScalrProcessorUtils.resizeImage(File sourceFile,
File targetFile,
ImageDimension dimension)
Resize the given image
sourceFile with resizing it to width and height
and store the resized image to targetFile . |
static void |
GraphicsMagickCommandUtils.resizeImage(File sourceFile,
File targetFile,
ImageDimension dimension)
Resize the given image
sourceFile with resizing it to width and height
and store the resized image to targetFile . |
static void |
ImageMagickCommandUtils.resizeImage(File sourceFile,
File targetFile,
ImageDimension dimension,
String... extraOptions)
Resize the given image
sourceFile with resizing it to width and height
and store the resized image to targetFile , with appending extraOptions in the command line if provided. |
static void |
ScalrProcessorUtils.resizeImage(File sourceFile,
File targetFile,
ImageDimension dimension,
String... extraOptions)
Resize the given image
sourceFile with resizing it to width and height
and store the resized image to targetFile , with appending extraOptions in the command line if provided. |
static void |
GraphicsMagickCommandUtils.resizeImage(File sourceFile,
File targetFile,
ImageDimension dimension,
String... extraOptions)
Resize the given image
sourceFile with resizing it to width and height
and store the resized image to targetFile , with appending extraOptions in the command line if provided. |
Copyright © 2019. All rights reserved.