Package | Description |
---|---|
ar.com.hjg.pngj |
PNGJ main package
|
Modifier and Type | Method and Description |
---|---|
ImageLineInt |
PngReaderInt.readRowInt()
Utility method that casts the IImageLine to a ImageLineInt
This only make sense for this concrete class
|
Modifier and Type | Method and Description |
---|---|
static IImageLineFactory<ImageLineInt> |
ImageLineInt.getFactory()
Helper method, returns a default factory for this object
|
static IImageLineSetFactory<ImageLineInt> |
ImageLineSetDefault.getFactoryInt()
utility function, returns default factory for
ImageLineInt |
Modifier and Type | Method and Description |
---|---|
static int |
ImageLineHelper.double2int(ImageLineInt line,
double d) |
static int |
ImageLineHelper.double2intClamped(ImageLineInt line,
double d) |
static String |
ImageLineHelper.infoFirstLastPixels(ImageLineInt line)
Just for basic info or debugging.
|
static double |
ImageLineHelper.int2double(ImageLineInt line,
int p) |
static double |
ImageLineHelper.int2doubleClamped(ImageLineInt line,
int p) |
static int[] |
ImageLineHelper.palette2rgb(ImageLineInt line,
PngChunkPLTE pal,
int[] buf) |
static int[] |
ImageLineHelper.palette2rgb(ImageLineInt line,
PngChunkPLTE pal,
PngChunkTRNS trns,
int[] buf)
Given an indexed line with a palette, unpacks as a RGB array, or RGBA if a non nul PngChunkTRNS chunk is passed
|
static int[] |
ImageLineHelper.palette2rgba(ImageLineInt line,
PngChunkPLTE pal,
PngChunkTRNS trns,
int[] buf)
Same as palette2rgbx , but returns rgba always, even if trns is null
|
static void |
ImageLineHelper.setPixelRGB8(ImageLineInt line,
int col,
int rgb) |
static void |
ImageLineHelper.setPixelRGB8(ImageLineInt line,
int col,
int r,
int g,
int b) |
static void |
ImageLineHelper.setPixelRGBA8(ImageLineInt line,
int col,
int rgb) |
static void |
ImageLineHelper.setPixelRGBA8(ImageLineInt line,
int col,
int r,
int g,
int b,
int a) |
static void |
ImageLineHelper.setPixelsRGB8(ImageLineInt line,
int[] rgb) |
static void |
ImageLineHelper.setPixelsRGBA8(ImageLineInt line,
int[] rgb) |
static void |
ImageLineHelper.setValD(ImageLineInt line,
int i,
double d) |
Copyright © 2014. All rights reserved.