|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
BufferedImageOps to
a given BufferedImage and return the result.
Scalr for the purpose of efficiently handling large amounts of image
operations via a select number of processing threads asynchronously.ThreadFactory used by the internal
ExecutorService to creates execution Threads for image
scaling.AsyncScalr.DefaultThreadFactory class that makes two
changes to the execution Threads it generations:
Threads are set to be daemon threads instead of user threads.
Threads execute with a priority of Thread.MIN_PRIORITY to
make them more compatible with server environment deployments.
This class is provided as a convenience for subclasses to use if they
want this (common) customization to the Threads used internally
by AsyncScalr to process images, but don't want to have to write
the implementation.service points at an
active ExecutorService instance that can be used by this class.
BufferedImage from a non-optimal type into a new
BufferedImage instance of an optimal type (RGB or ARGB).
BufferedImage with the most optimal RGB TYPE (
BufferedImage.TYPE_INT_RGB or BufferedImage.TYPE_INT_ARGB
) capable of being rendered into from the given src.
BufferedImage with the given dimensions and the
most optimal RGB TYPE ( BufferedImage.TYPE_INT_RGB or
BufferedImage.TYPE_INT_ARGB ) capable of being rendered into from
the given src.
src image from the top-left corner
and applying any optional BufferedImageOps to the result before
returning it.
src image and apply any optional
BufferedImageOps to it before returning the result.
imgscalr.debug" system property to true.
Scalr.Method that is best suited for
scaling the image to the targeted dimensions.
ExecutorService used by this
class to process scale operations.
Thread capable of executing the given
Runnable.
daemon property to true
and decrease the priority of the new thread to
Thread.MIN_PRIORITY before returning it.
ConvolveOp using a very light "blur" kernel that acts like an
anti-aliasing filter (softens the image a bit) when applied to an image.
RescaleOp used to make any input image 10% brighter.
RescaleOp used to make any input image 10% darker.
ColorConvertOp used to convert any image to a grayscale color
palette.
Color.BLACK to fill the extra padded space and then return the
result.
targetSize and apply the given
BufferedImageOps (if any) to the result before returning it.
targetSize using the given scaling
method and apply the given BufferedImageOps (if any) to the
result before returning it.
targetSize (or fitting the image to
the given WIDTH or HEIGHT explicitly, depending on the Scalr.Mode
specified) and apply the given BufferedImageOps (if any) to the
result before returning it.
targetSize (or fitting the image to
the given WIDTH or HEIGHT explicitly, depending on the Scalr.Mode
specified) using the given scaling method and apply the given
BufferedImageOps (if any) to the result before returning it.
BufferedImageOps (if any) to
the result before returning it.
BufferedImageOps (if any) to the result before returning it.
Scalr.Mode specified) and apply the given
BufferedImageOps (if any) to the result before returning it.
Scalr.Mode specified) using the given
scaling method and apply the given BufferedImageOps (if any) to
the result before returning it.
Scalr.Rotation and then 0 or more
BufferedImageOps to a given image and return the result.
ExecutorService will use to
simultaneously execute scale requests.
ExecutorService will use to process async image
operations.
Scalr.Method.AUTOMATIC method will decide if a Scalr.Method.BALANCED
method will be used (if smaller than or equal to threshold) or a
Scalr.Method.SPEED method will be used (if larger than threshold).
Scalr.Method.AUTOMATIC method will decide if a Scalr.Method.QUALITY
method will be used (if smaller than or equal to threshold) or a
Scalr.Method.BALANCED method will be used (if larger than threshold).
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||