Uses of Class
com.bristle.javalib.awt.ImgUtil.ScaleAlgorithm

Packages that use ImgUtil.ScaleAlgorithm
com.bristle.javalib.awt   
 

Uses of ImgUtil.ScaleAlgorithm in com.bristle.javalib.awt
 

Fields in com.bristle.javalib.awt declared as ImgUtil.ScaleAlgorithm
static ImgUtil.ScaleAlgorithm ImgUtil.ScaleAlgorithm.FAST
           
static ImgUtil.ScaleAlgorithm ImgUtil.ScaleAlgorithm.SMOOTH
           
 

Methods in com.bristle.javalib.awt with parameters of type ImgUtil.ScaleAlgorithm
static Image ImgUtil.getScaledImage(Image img, int intWidth, int intHeight, ImgUtil.ScaleAlgorithm algorithm)
          Returns a scaled copy of the specified Image.
static void ImgUtil.scaleImageToFileAsJPEG(String strFilenameIn, String strFilenameOut, int intScalePercent, ImgUtil.ScaleAlgorithm algorithm)
          Copy an image from the specified filename to the specified filename, converting it to a JPEG, and scaling it by the specified percent.
static void ImgUtil.scaleImageToFileAsJPEG(String strFilenameIn, String strFilenameOut, int intWidth, int intHeight, boolean blnPreserveAspectRatio, int intMaxScalePercent, ImgUtil.ScaleAlgorithm algorithm)
          Copy an image from the specified filename to the specified filename, converting it to a JPEG, and scaling it to the specified size.
static void ImgUtil.scaleImageToOutputStreamAsJPEG(Image img, OutputStream out, int intScalePercent, ImgUtil.ScaleAlgorithm algorithm)
          Write the specified Image to the specified OutputStream, converting it to a JPEG, and scaling it by the specified percent.
static void ImgUtil.scaleImageToOutputStreamAsJPEG(Image img, OutputStream out, int intWidth, int intHeight, boolean blnPreserveAspectRatio, int intMaxScalePercent, ImgUtil.ScaleAlgorithm algorithm)
          Write the specified Image to the specified OutputStream, converting it to a JPEG, and scaling it to the specified size.
static void ImgUtil.scaleImageToOutputStreamAsJPEG(InputStream in, OutputStream out, int intScalePercent, ImgUtil.ScaleAlgorithm algorithm)
          Copy an image from the specified InputStream to the specified OutputStream, converting it to a JPEG, and scaling it by the specified percent.
static void ImgUtil.scaleImageToOutputStreamAsJPEG(InputStream in, OutputStream out, int intWidth, int intHeight, boolean blnPreserveAspectRatio, int intMaxScalePercent, ImgUtil.ScaleAlgorithm algorithm)
          Copy an image from the specified InputStream to the specified OutputStream, converting it to a JPEG, and scaling it to the specified size.
static void ImgUtil.scaleImageToOutputStreamAsJPEG(String strFilename, OutputStream out, int intScalePercent, ImgUtil.ScaleAlgorithm algorithm)
          Copy an image from the specified filename to the specified OutputStream, converting it to a JPEG, and scaling it by the specified percent.
static void ImgUtil.scaleImageToOutputStreamAsJPEG(String strFilename, OutputStream out, int intWidth, int intHeight, boolean blnPreserveAspectRatio, int intMaxScalePercent, ImgUtil.ScaleAlgorithm algorithm)
          Copy an image from the specified filename to the specified OutputStream, converting it to a JPEG, and scaling it to the specified size.