Class ImageUtil

java.lang.Object
com.github.weisj.jsvg.util.ImageUtil

public final class ImageUtil extends Object
  • Constructor Details

    • ImageUtil

      private ImageUtil()
  • Method Details

    • createCompatibleTransparentImage

      @NotNull public static @NotNull BufferedImage createCompatibleTransparentImage(@NotNull @NotNull Output output, double width, double height)
    • createCompatibleTransparentImage

      @NotNull public static @NotNull BufferedImage createCompatibleTransparentImage(int width, int height)
    • createCompatibleTransparentImage

      @NotNull public static @NotNull BufferedImage createCompatibleTransparentImage(int width, int height, ImageUtil.Premultiplied preMultiplied)
    • createCompatibleTransparentImage

      @NotNull public static @NotNull BufferedImage createCompatibleTransparentImage(@Nullable @Nullable AffineTransform at, double width, double height)
    • createLuminosityBuffer

      @NotNull public static @NotNull BufferedImage createLuminosityBuffer(@Nullable @Nullable AffineTransform at, double width, double height)
    • is_INT_PACK_Data

      public static boolean is_INT_PACK_Data(@NotNull @NotNull SampleModel sm, boolean requireAlpha)
    • getINT_RGBA_DataBank

      public static int[] getINT_RGBA_DataBank(@NotNull @NotNull Raster raster)
    • getINT_RGBA_DataOffset

      public static int getINT_RGBA_DataOffset(@NotNull @NotNull Raster raster)
    • getINT_RGBA_DataAdjust

      public static int getINT_RGBA_DataAdjust(@NotNull @NotNull Raster raster)
    • getINT_RGBA_ScanlineStride

      public static int getINT_RGBA_ScanlineStride(@NotNull @NotNull Raster raster)
    • copy

      @NotNull public static @NotNull BufferedImage copy(@NotNull @NotNull RenderContext context, @NotNull @NotNull ImageProducer producer, ImageUtil.Premultiplied premultiplied)
    • toBufferedImage

      @NotNull public static @NotNull BufferedImage toBufferedImage(@NotNull @NotNull Image img)
    • toBufferedImage

      @NotNull public static @NotNull BufferedImage toBufferedImage(@NotNull @NotNull Image img, ImageUtil.Premultiplied premultiplied)
    • coerceData

      @NotNull public static @NotNull ColorModel coerceData(@NotNull @NotNull WritableRaster wr, @NotNull @NotNull ColorModel cm, boolean newAlphaPreMultiplied)