Package org.lwjgl.util.spng
Class SPNG
java.lang.Object
org.lwjgl.util.spng.SPNG
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final byte
static final byte
static final byte
static final byte
static final byte
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final byte
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final byte
static final byte
static final byte
static final byte
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final byte
static final byte
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
nspng_ctx_free
(long ctx) void spng_ctx_free(spng_ctx * ctx)
static long
nspng_ctx_new2
(long alloc, int flags) spng_ctx * spng_ctx_new2(struct spng_alloc * alloc, int flags)
static int
nspng_decode_chunks
(long ctx) int spng_decode_chunks(spng_ctx * ctx)
static int
nspng_decode_image
(long ctx, long out, long len, int fmt, int flags) int spng_decode_image(spng_ctx * ctx, void * out, size_t len, int fmt, int flags)
static int
nspng_decode_row
(long ctx, long out, long len) int spng_decode_row(spng_ctx * ctx, void * out, size_t len)
static int
nspng_decode_scanline
(long ctx, long out, long len) int spng_decode_scanline(spng_ctx * ctx, void * out, size_t len)
static int
nspng_decoded_image_size
(long ctx, int fmt, long len) int spng_decoded_image_size(spng_ctx * ctx, int fmt, size_t * len)
static int
nspng_encode_chunks
(long ctx) int spng_encode_chunks(spng_ctx * ctx)
static int
nspng_encode_image
(long ctx, long img, long len, int fmt, int flags) int spng_encode_image(spng_ctx * ctx, void const * img, size_t len, int fmt, int flags)
static int
nspng_encode_row
(long ctx, long row, long len) int spng_encode_row(spng_ctx * ctx, void const * row, size_t len)
static int
nspng_encode_scanline
(long ctx, long scanline, long len) int spng_encode_scanline(spng_ctx * ctx, void const * scanline, size_t len)
static int
nspng_get_bkgd
(long ctx, long bkgd) int spng_get_bkgd(spng_ctx * ctx, struct spng_bkgd * bkgd)
static int
nspng_get_chrm
(long ctx, long chrm) int spng_get_chrm(spng_ctx * ctx, struct spng_chrm * chrm)
static int
nspng_get_chrm_int
(long ctx, long chrm_int) int spng_get_chrm_int(spng_ctx * ctx, struct spng_chrm_int * chrm_int)
static int
nspng_get_chunk_limits
(long ctx, long chunk_size, long cache_size) int spng_get_chunk_limits(spng_ctx * ctx, size_t * chunk_size, size_t * cache_size)
static int
nspng_get_exif
(long ctx, long exif) int spng_get_exif(spng_ctx * ctx, struct spng_exif * exif)
static int
nspng_get_gama
(long ctx, long gamma) int spng_get_gama(spng_ctx * ctx, double * gamma)
static int
nspng_get_gama_int
(long ctx, long gama_int) int spng_get_gama_int(spng_ctx * ctx, uint32_t * gama_int)
static int
nspng_get_hist
(long ctx, long hist) int spng_get_hist(spng_ctx * ctx, struct spng_hist * hist)
static int
nspng_get_iccp
(long ctx, long iccp) int spng_get_iccp(spng_ctx * ctx, struct spng_iccp * iccp)
static int
nspng_get_ihdr
(long ctx, long ihdr) int spng_get_ihdr(spng_ctx * ctx, struct spng_ihdr * ihdr)
static int
nspng_get_image_limits
(long ctx, long width, long height) int spng_get_image_limits(spng_ctx * ctx, uint32_t * width, uint32_t * height)
static int
nspng_get_offs
(long ctx, long offs) int spng_get_offs(spng_ctx * ctx, struct spng_offs * offs)
static int
nspng_get_option
(long ctx, int option, long value) int spng_get_option(spng_ctx * ctx, enum spng_option option, int * value)
static int
nspng_get_phys
(long ctx, long phys) int spng_get_phys(spng_ctx * ctx, struct spng_phys * phys)
static int
nspng_get_plte
(long ctx, long plte) int spng_get_plte(spng_ctx * ctx, struct spng_plte * plte)
static long
nspng_get_png_buffer
(long ctx, long len, long error) void * spng_get_png_buffer(spng_ctx * ctx, size_t * len, int * error)
static int
nspng_get_row_info
(long ctx, long row_info) int spng_get_row_info(spng_ctx * ctx, struct spng_row_info * row_info)
static int
nspng_get_sbit
(long ctx, long sbit) int spng_get_sbit(spng_ctx * ctx, struct spng_sbit * sbit)
static int
nspng_get_splt
(long ctx, long splt, long n_splt) int spng_get_splt(spng_ctx * ctx, struct spng_splt * splt, uint32_t * n_splt)
static int
nspng_get_srgb
(long ctx, long rendering_intent) int spng_get_srgb(spng_ctx * ctx, uint8_t * rendering_intent)
static int
nspng_get_text
(long ctx, long text, long n_text) int spng_get_text(spng_ctx * ctx, struct spng_text * text, uint32_t * n_text)
static int
nspng_get_time
(long ctx, long time) int spng_get_time(spng_ctx * ctx, struct spng_time * time)
static int
nspng_get_trns
(long ctx, long trns) int spng_get_trns(spng_ctx * ctx, struct spng_trns * trns)
static int
nspng_get_unknown_chunks
(long ctx, long chunks, long n_chunks) int spng_get_unknown_chunks(spng_ctx * ctx, struct spng_unknown_chunk * chunks, uint32_t * n_chunks)
static int
nspng_set_bkgd
(long ctx, long bkgd) int spng_set_bkgd(spng_ctx * ctx, struct spng_bkgd * bkgd)
static int
nspng_set_chrm
(long ctx, long chrm) int spng_set_chrm(spng_ctx * ctx, struct spng_chrm * chrm)
static int
nspng_set_chrm_int
(long ctx, long chrm_int) int spng_set_chrm_int(spng_ctx * ctx, struct spng_chrm_int * chrm_int)
static int
nspng_set_chunk_limits
(long ctx, long chunk_size, long cache_size) int spng_set_chunk_limits(spng_ctx * ctx, size_t chunk_size, size_t cache_size)
static int
nspng_set_crc_action
(long ctx, int critical, int ancillary) int spng_set_crc_action(spng_ctx * ctx, int critical, int ancillary)
static int
nspng_set_exif
(long ctx, long exif) int spng_set_exif(spng_ctx * ctx, struct spng_exif * exif)
static int
nspng_set_gama
(long ctx, double gamma) int spng_set_gama(spng_ctx * ctx, double gamma)
static int
nspng_set_gama_int
(long ctx, int gamma) int spng_set_gama_int(spng_ctx * ctx, uint32_t gamma)
static int
nspng_set_hist
(long ctx, long hist) int spng_set_hist(spng_ctx * ctx, struct spng_hist * hist)
static int
nspng_set_iccp
(long ctx, long iccp) int spng_set_iccp(spng_ctx * ctx, struct spng_iccp * iccp)
static int
nspng_set_ihdr
(long ctx, long ihdr) int spng_set_ihdr(spng_ctx * ctx, struct spng_ihdr * ihdr)
static int
nspng_set_image_limits
(long ctx, int width, int height) int spng_set_image_limits(spng_ctx * ctx, uint32_t width, uint32_t height)
static int
nspng_set_offs
(long ctx, long offs) int spng_set_offs(spng_ctx * ctx, struct spng_offs * offs)
static int
nspng_set_option
(long ctx, int option, int value) int spng_set_option(spng_ctx * ctx, enum spng_option option, int value)
static int
nspng_set_phys
(long ctx, long phys) int spng_set_phys(spng_ctx * ctx, struct spng_phys * phys)
static int
nspng_set_plte
(long ctx, long plte) int spng_set_plte(spng_ctx * ctx, struct spng_plte * plte)
static int
nspng_set_png_buffer
(long ctx, long buf, long size) int spng_set_png_buffer(spng_ctx * ctx, void const * buf, size_t size)
static int
nspng_set_png_stream
(long ctx, long rw_func, long user) int spng_set_png_stream(spng_ctx * ctx, spng_rw_fn * rw_func, void * user)
static int
nspng_set_sbit
(long ctx, long sbit) int spng_set_sbit(spng_ctx * ctx, struct spng_sbit * sbit)
static int
nspng_set_splt
(long ctx, long splt, int n_splt) int spng_set_splt(spng_ctx * ctx, struct spng_splt * splt, uint32_t n_splt)
static int
nspng_set_srgb
(long ctx, byte rendering_intent) int spng_set_srgb(spng_ctx * ctx, uint8_t rendering_intent)
static int
nspng_set_text
(long ctx, long text, int n_text) int spng_set_text(spng_ctx * ctx, struct spng_text * text, uint32_t n_text)
static int
nspng_set_time
(long ctx, long time) int spng_set_time(spng_ctx * ctx, struct spng_time * time)
static int
nspng_set_trns
(long ctx, long trns) int spng_set_trns(spng_ctx * ctx, struct spng_trns * trns)
static int
nspng_set_unknown_chunks
(long ctx, long chunks, int n_chunks) int spng_set_unknown_chunks(spng_ctx * ctx, struct spng_unknown_chunk * chunks, uint32_t n_chunks)
static long
nspng_strerror
(int err) char const * spng_strerror(int err)
static long
char const * spng_version_string(void)
static void
spng_ctx_free
(long ctx) void spng_ctx_free(spng_ctx * ctx)
static long
spng_ctx_new
(int flags) spng_ctx * spng_ctx_new(int flags)
static long
spng_ctx_new2
(spng_alloc alloc, int flags) spng_ctx * spng_ctx_new2(struct spng_alloc * alloc, int flags)
static int
spng_decode_chunks
(long ctx) int spng_decode_chunks(spng_ctx * ctx)
static int
spng_decode_image
(long ctx, ByteBuffer out, int fmt, int flags) int spng_decode_image(spng_ctx * ctx, void * out, size_t len, int fmt, int flags)
static int
spng_decode_row
(long ctx, ByteBuffer out) int spng_decode_row(spng_ctx * ctx, void * out, size_t len)
static int
spng_decode_scanline
(long ctx, ByteBuffer out) int spng_decode_scanline(spng_ctx * ctx, void * out, size_t len)
static int
spng_decoded_image_size
(long ctx, int fmt, PointerBuffer len) int spng_decoded_image_size(spng_ctx * ctx, int fmt, size_t * len)
static int
spng_encode_chunks
(long ctx) int spng_encode_chunks(spng_ctx * ctx)
static int
spng_encode_image
(long ctx, ByteBuffer img, int fmt, int flags) int spng_encode_image(spng_ctx * ctx, void const * img, size_t len, int fmt, int flags)
static int
spng_encode_row
(long ctx, ByteBuffer row) int spng_encode_row(spng_ctx * ctx, void const * row, size_t len)
static int
spng_encode_scanline
(long ctx, ByteBuffer scanline) int spng_encode_scanline(spng_ctx * ctx, void const * scanline, size_t len)
static int
spng_get_bkgd
(long ctx, spng_bkgd bkgd) int spng_get_bkgd(spng_ctx * ctx, struct spng_bkgd * bkgd)
static int
spng_get_chrm
(long ctx, spng_chrm chrm) int spng_get_chrm(spng_ctx * ctx, struct spng_chrm * chrm)
static int
spng_get_chrm_int
(long ctx, spng_chrm_int chrm_int) int spng_get_chrm_int(spng_ctx * ctx, struct spng_chrm_int * chrm_int)
static int
spng_get_chunk_limits
(long ctx, PointerBuffer chunk_size, PointerBuffer cache_size) int spng_get_chunk_limits(spng_ctx * ctx, size_t * chunk_size, size_t * cache_size)
static int
spng_get_exif
(long ctx, spng_exif exif) int spng_get_exif(spng_ctx * ctx, struct spng_exif * exif)
static int
spng_get_gama
(long ctx, DoubleBuffer gamma) int spng_get_gama(spng_ctx * ctx, double * gamma)
static int
spng_get_gama_int
(long ctx, IntBuffer gama_int) int spng_get_gama_int(spng_ctx * ctx, uint32_t * gama_int)
static int
spng_get_hist
(long ctx, spng_hist hist) int spng_get_hist(spng_ctx * ctx, struct spng_hist * hist)
static int
spng_get_iccp
(long ctx, spng_iccp iccp) int spng_get_iccp(spng_ctx * ctx, struct spng_iccp * iccp)
static int
spng_get_ihdr
(long ctx, spng_ihdr ihdr) int spng_get_ihdr(spng_ctx * ctx, struct spng_ihdr * ihdr)
static int
spng_get_image_limits
(long ctx, IntBuffer width, IntBuffer height) int spng_get_image_limits(spng_ctx * ctx, uint32_t * width, uint32_t * height)
static int
spng_get_offs
(long ctx, spng_offs offs) int spng_get_offs(spng_ctx * ctx, struct spng_offs * offs)
static int
spng_get_option
(long ctx, int option, IntBuffer value) int spng_get_option(spng_ctx * ctx, enum spng_option option, int * value)
static int
spng_get_phys
(long ctx, spng_phys phys) int spng_get_phys(spng_ctx * ctx, struct spng_phys * phys)
static int
spng_get_plte
(long ctx, spng_plte plte) int spng_get_plte(spng_ctx * ctx, struct spng_plte * plte)
static @Nullable ByteBuffer
spng_get_png_buffer
(long ctx, IntBuffer error) void * spng_get_png_buffer(spng_ctx * ctx, size_t * len, int * error)
static int
spng_get_row_info
(long ctx, spng_row_info row_info) int spng_get_row_info(spng_ctx * ctx, struct spng_row_info * row_info)
static int
spng_get_sbit
(long ctx, spng_sbit sbit) int spng_get_sbit(spng_ctx * ctx, struct spng_sbit * sbit)
static int
spng_get_splt
(long ctx, spng_splt splt, IntBuffer n_splt) int spng_get_splt(spng_ctx * ctx, struct spng_splt * splt, uint32_t * n_splt)
static int
spng_get_srgb
(long ctx, ByteBuffer rendering_intent) int spng_get_srgb(spng_ctx * ctx, uint8_t * rendering_intent)
static int
spng_get_text
(long ctx, spng_text text, IntBuffer n_text) int spng_get_text(spng_ctx * ctx, struct spng_text * text, uint32_t * n_text)
static int
spng_get_time
(long ctx, spng_time time) int spng_get_time(spng_ctx * ctx, struct spng_time * time)
static int
spng_get_trns
(long ctx, spng_trns trns) int spng_get_trns(spng_ctx * ctx, struct spng_trns * trns)
static int
spng_get_unknown_chunks
(long ctx, spng_unknown_chunk chunks, IntBuffer n_chunks) int spng_get_unknown_chunks(spng_ctx * ctx, struct spng_unknown_chunk * chunks, uint32_t * n_chunks)
static int
spng_set_bkgd
(long ctx, spng_bkgd bkgd) int spng_set_bkgd(spng_ctx * ctx, struct spng_bkgd * bkgd)
static int
spng_set_chrm
(long ctx, spng_chrm chrm) int spng_set_chrm(spng_ctx * ctx, struct spng_chrm * chrm)
static int
spng_set_chrm_int
(long ctx, spng_chrm_int chrm_int) int spng_set_chrm_int(spng_ctx * ctx, struct spng_chrm_int * chrm_int)
static int
spng_set_chunk_limits
(long ctx, long chunk_size, long cache_size) int spng_set_chunk_limits(spng_ctx * ctx, size_t chunk_size, size_t cache_size)
static int
spng_set_crc_action
(long ctx, int critical, int ancillary) int spng_set_crc_action(spng_ctx * ctx, int critical, int ancillary)
static int
spng_set_exif
(long ctx, spng_exif exif) int spng_set_exif(spng_ctx * ctx, struct spng_exif * exif)
static int
spng_set_gama
(long ctx, double gamma) int spng_set_gama(spng_ctx * ctx, double gamma)
static int
spng_set_gama_int
(long ctx, int gamma) int spng_set_gama_int(spng_ctx * ctx, uint32_t gamma)
static int
spng_set_hist
(long ctx, spng_hist hist) int spng_set_hist(spng_ctx * ctx, struct spng_hist * hist)
static int
spng_set_iccp
(long ctx, spng_iccp iccp) int spng_set_iccp(spng_ctx * ctx, struct spng_iccp * iccp)
static int
spng_set_ihdr
(long ctx, spng_ihdr ihdr) int spng_set_ihdr(spng_ctx * ctx, struct spng_ihdr * ihdr)
static int
spng_set_image_limits
(long ctx, int width, int height) int spng_set_image_limits(spng_ctx * ctx, uint32_t width, uint32_t height)
static int
spng_set_offs
(long ctx, spng_offs offs) int spng_set_offs(spng_ctx * ctx, struct spng_offs * offs)
static int
spng_set_option
(long ctx, int option, int value) int spng_set_option(spng_ctx * ctx, enum spng_option option, int value)
static int
spng_set_phys
(long ctx, spng_phys phys) int spng_set_phys(spng_ctx * ctx, struct spng_phys * phys)
static int
spng_set_plte
(long ctx, spng_plte plte) int spng_set_plte(spng_ctx * ctx, struct spng_plte * plte)
static int
spng_set_png_buffer
(long ctx, ByteBuffer buf) int spng_set_png_buffer(spng_ctx * ctx, void const * buf, size_t size)
static int
spng_set_png_stream
(long ctx, spng_rw_fnI rw_func, long user) int spng_set_png_stream(spng_ctx * ctx, spng_rw_fn * rw_func, void * user)
static int
spng_set_sbit
(long ctx, spng_sbit sbit) int spng_set_sbit(spng_ctx * ctx, struct spng_sbit * sbit)
static int
spng_set_splt
(long ctx, spng_splt splt, int n_splt) int spng_set_splt(spng_ctx * ctx, struct spng_splt * splt, uint32_t n_splt)
static int
spng_set_srgb
(long ctx, byte rendering_intent) int spng_set_srgb(spng_ctx * ctx, uint8_t rendering_intent)
static int
spng_set_text
(long ctx, spng_text text, int n_text) int spng_set_text(spng_ctx * ctx, struct spng_text * text, uint32_t n_text)
static int
spng_set_time
(long ctx, spng_time time) int spng_set_time(spng_ctx * ctx, struct spng_time * time)
static int
spng_set_trns
(long ctx, spng_trns trns) int spng_set_trns(spng_ctx * ctx, struct spng_trns * trns)
static int
spng_set_unknown_chunks
(long ctx, spng_unknown_chunk.Buffer chunks) int spng_set_unknown_chunks(spng_ctx * ctx, struct spng_unknown_chunk * chunks, uint32_t n_chunks)
static @Nullable String
spng_strerror
(int err) char const * spng_strerror(int err)
static @Nullable String
char const * spng_version_string(void)
-
Field Details
-
SPNG_VERSION_MAJOR
public static final int SPNG_VERSION_MAJOR- See Also:
-
SPNG_VERSION_MINOR
public static final int SPNG_VERSION_MINOR- See Also:
-
SPNG_VERSION_PATCH
public static final int SPNG_VERSION_PATCH- See Also:
-
SPNG_IO_ERROR
public static final int SPNG_IO_ERROR- See Also:
-
SPNG_IO_EOF
public static final int SPNG_IO_EOF- See Also:
-
SPNG_OK
public static final int SPNG_OK- See Also:
-
SPNG_EINVAL
public static final int SPNG_EINVAL- See Also:
-
SPNG_EMEM
public static final int SPNG_EMEM- See Also:
-
SPNG_EOVERFLOW
public static final int SPNG_EOVERFLOW- See Also:
-
SPNG_ESIGNATURE
public static final int SPNG_ESIGNATURE- See Also:
-
SPNG_EWIDTH
public static final int SPNG_EWIDTH- See Also:
-
SPNG_EHEIGHT
public static final int SPNG_EHEIGHT- See Also:
-
SPNG_EUSER_WIDTH
public static final int SPNG_EUSER_WIDTH- See Also:
-
SPNG_EUSER_HEIGHT
public static final int SPNG_EUSER_HEIGHT- See Also:
-
SPNG_EBIT_DEPTH
public static final int SPNG_EBIT_DEPTH- See Also:
-
SPNG_ECOLOR_TYPE
public static final int SPNG_ECOLOR_TYPE- See Also:
-
SPNG_ECOMPRESSION_METHOD
public static final int SPNG_ECOMPRESSION_METHOD- See Also:
-
SPNG_EFILTER_METHOD
public static final int SPNG_EFILTER_METHOD- See Also:
-
SPNG_EINTERLACE_METHOD
public static final int SPNG_EINTERLACE_METHOD- See Also:
-
SPNG_EIHDR_SIZE
public static final int SPNG_EIHDR_SIZE- See Also:
-
SPNG_ENOIHDR
public static final int SPNG_ENOIHDR- See Also:
-
SPNG_ECHUNK_POS
public static final int SPNG_ECHUNK_POS- See Also:
-
SPNG_ECHUNK_SIZE
public static final int SPNG_ECHUNK_SIZE- See Also:
-
SPNG_ECHUNK_CRC
public static final int SPNG_ECHUNK_CRC- See Also:
-
SPNG_ECHUNK_TYPE
public static final int SPNG_ECHUNK_TYPE- See Also:
-
SPNG_ECHUNK_UNKNOWN_CRITICAL
public static final int SPNG_ECHUNK_UNKNOWN_CRITICAL- See Also:
-
SPNG_EDUP_PLTE
public static final int SPNG_EDUP_PLTE- See Also:
-
SPNG_EDUP_CHRM
public static final int SPNG_EDUP_CHRM- See Also:
-
SPNG_EDUP_GAMA
public static final int SPNG_EDUP_GAMA- See Also:
-
SPNG_EDUP_ICCP
public static final int SPNG_EDUP_ICCP- See Also:
-
SPNG_EDUP_SBIT
public static final int SPNG_EDUP_SBIT- See Also:
-
SPNG_EDUP_SRGB
public static final int SPNG_EDUP_SRGB- See Also:
-
SPNG_EDUP_BKGD
public static final int SPNG_EDUP_BKGD- See Also:
-
SPNG_EDUP_HIST
public static final int SPNG_EDUP_HIST- See Also:
-
SPNG_EDUP_TRNS
public static final int SPNG_EDUP_TRNS- See Also:
-
SPNG_EDUP_PHYS
public static final int SPNG_EDUP_PHYS- See Also:
-
SPNG_EDUP_TIME
public static final int SPNG_EDUP_TIME- See Also:
-
SPNG_EDUP_OFFS
public static final int SPNG_EDUP_OFFS- See Also:
-
SPNG_EDUP_EXIF
public static final int SPNG_EDUP_EXIF- See Also:
-
SPNG_ECHRM
public static final int SPNG_ECHRM- See Also:
-
SPNG_EPLTE_IDX
public static final int SPNG_EPLTE_IDX- See Also:
-
SPNG_ETRNS_COLOR_TYPE
public static final int SPNG_ETRNS_COLOR_TYPE- See Also:
-
SPNG_ETRNS_NO_PLTE
public static final int SPNG_ETRNS_NO_PLTE- See Also:
-
SPNG_EGAMA
public static final int SPNG_EGAMA- See Also:
-
SPNG_EICCP_NAME
public static final int SPNG_EICCP_NAME- See Also:
-
SPNG_EICCP_COMPRESSION_METHOD
public static final int SPNG_EICCP_COMPRESSION_METHOD- See Also:
-
SPNG_ESBIT
public static final int SPNG_ESBIT- See Also:
-
SPNG_ESRGB
public static final int SPNG_ESRGB- See Also:
-
SPNG_ETEXT
public static final int SPNG_ETEXT- See Also:
-
SPNG_ETEXT_KEYWORD
public static final int SPNG_ETEXT_KEYWORD- See Also:
-
SPNG_EZTXT
public static final int SPNG_EZTXT- See Also:
-
SPNG_EZTXT_COMPRESSION_METHOD
public static final int SPNG_EZTXT_COMPRESSION_METHOD- See Also:
-
SPNG_EITXT
public static final int SPNG_EITXT- See Also:
-
SPNG_EITXT_COMPRESSION_FLAG
public static final int SPNG_EITXT_COMPRESSION_FLAG- See Also:
-
SPNG_EITXT_COMPRESSION_METHOD
public static final int SPNG_EITXT_COMPRESSION_METHOD- See Also:
-
SPNG_EITXT_LANG_TAG
public static final int SPNG_EITXT_LANG_TAG- See Also:
-
SPNG_EITXT_TRANSLATED_KEY
public static final int SPNG_EITXT_TRANSLATED_KEY- See Also:
-
SPNG_EBKGD_NO_PLTE
public static final int SPNG_EBKGD_NO_PLTE- See Also:
-
SPNG_EBKGD_PLTE_IDX
public static final int SPNG_EBKGD_PLTE_IDX- See Also:
-
SPNG_EHIST_NO_PLTE
public static final int SPNG_EHIST_NO_PLTE- See Also:
-
SPNG_EPHYS
public static final int SPNG_EPHYS- See Also:
-
SPNG_ESPLT_NAME
public static final int SPNG_ESPLT_NAME- See Also:
-
SPNG_ESPLT_DUP_NAME
public static final int SPNG_ESPLT_DUP_NAME- See Also:
-
SPNG_ESPLT_DEPTH
public static final int SPNG_ESPLT_DEPTH- See Also:
-
SPNG_ETIME
public static final int SPNG_ETIME- See Also:
-
SPNG_EOFFS
public static final int SPNG_EOFFS- See Also:
-
SPNG_EEXIF
public static final int SPNG_EEXIF- See Also:
-
SPNG_EIDAT_TOO_SHORT
public static final int SPNG_EIDAT_TOO_SHORT- See Also:
-
SPNG_EIDAT_STREAM
public static final int SPNG_EIDAT_STREAM- See Also:
-
SPNG_EZLIB
public static final int SPNG_EZLIB- See Also:
-
SPNG_EFILTER
public static final int SPNG_EFILTER- See Also:
-
SPNG_EBUFSIZ
public static final int SPNG_EBUFSIZ- See Also:
-
SPNG_EIO
public static final int SPNG_EIO- See Also:
-
SPNG_EOF
public static final int SPNG_EOF- See Also:
-
SPNG_EBUF_SET
public static final int SPNG_EBUF_SET- See Also:
-
SPNG_EBADSTATE
public static final int SPNG_EBADSTATE- See Also:
-
SPNG_EFMT
public static final int SPNG_EFMT- See Also:
-
SPNG_EFLAGS
public static final int SPNG_EFLAGS- See Also:
-
SPNG_ECHUNKAVAIL
public static final int SPNG_ECHUNKAVAIL- See Also:
-
SPNG_ENCODE_ONLY
public static final int SPNG_ENCODE_ONLY- See Also:
-
SPNG_EOI
public static final int SPNG_EOI- See Also:
-
SPNG_ENOPLTE
public static final int SPNG_ENOPLTE- See Also:
-
SPNG_ECHUNK_LIMITS
public static final int SPNG_ECHUNK_LIMITS- See Also:
-
SPNG_EZLIB_INIT
public static final int SPNG_EZLIB_INIT- See Also:
-
SPNG_ECHUNK_STDLEN
public static final int SPNG_ECHUNK_STDLEN- See Also:
-
SPNG_EINTERNAL
public static final int SPNG_EINTERNAL- See Also:
-
SPNG_ECTXTYPE
public static final int SPNG_ECTXTYPE- See Also:
-
SPNG_ENOSRC
public static final int SPNG_ENOSRC- See Also:
-
SPNG_ENODST
public static final int SPNG_ENODST- See Also:
-
SPNG_EOPSTATE
public static final int SPNG_EOPSTATE- See Also:
-
SPNG_ENOTFINAL
public static final int SPNG_ENOTFINAL- See Also:
-
SPNG_TEXT
public static final int SPNG_TEXT- See Also:
-
SPNG_ZTXT
public static final int SPNG_ZTXT- See Also:
-
SPNG_ITXT
public static final int SPNG_ITXT- See Also:
-
SPNG_COLOR_TYPE_GRAYSCALE
public static final byte SPNG_COLOR_TYPE_GRAYSCALE- See Also:
-
SPNG_COLOR_TYPE_TRUECOLOR
public static final byte SPNG_COLOR_TYPE_TRUECOLOR- See Also:
-
SPNG_COLOR_TYPE_INDEXED
public static final byte SPNG_COLOR_TYPE_INDEXED- See Also:
-
SPNG_COLOR_TYPE_GRAYSCALE_ALPHA
public static final byte SPNG_COLOR_TYPE_GRAYSCALE_ALPHA- See Also:
-
SPNG_COLOR_TYPE_TRUECOLOR_ALPHA
public static final byte SPNG_COLOR_TYPE_TRUECOLOR_ALPHA- See Also:
-
SPNG_FILTER_NONE
public static final byte SPNG_FILTER_NONE- See Also:
-
SPNG_FILTER_SUB
public static final byte SPNG_FILTER_SUB- See Also:
-
SPNG_FILTER_UP
public static final byte SPNG_FILTER_UP- See Also:
-
SPNG_FILTER_AVERAGE
public static final byte SPNG_FILTER_AVERAGE- See Also:
-
SPNG_FILTER_PAETH
public static final byte SPNG_FILTER_PAETH- See Also:
-
SPNG_DISABLE_FILTERING
public static final int SPNG_DISABLE_FILTERING- See Also:
-
SPNG_FILTER_CHOICE_NONE
public static final int SPNG_FILTER_CHOICE_NONE- See Also:
-
SPNG_FILTER_CHOICE_SUB
public static final int SPNG_FILTER_CHOICE_SUB- See Also:
-
SPNG_FILTER_CHOICE_UP
public static final int SPNG_FILTER_CHOICE_UP- See Also:
-
SPNG_FILTER_CHOICE_AVG
public static final int SPNG_FILTER_CHOICE_AVG- See Also:
-
SPNG_FILTER_CHOICE_PAETH
public static final int SPNG_FILTER_CHOICE_PAETH- See Also:
-
SPNG_FILTER_CHOICE_ALL
public static final int SPNG_FILTER_CHOICE_ALL- See Also:
-
SPNG_INTERLACE_NONE
public static final byte SPNG_INTERLACE_NONE- See Also:
-
SPNG_INTERLACE_ADAM7
public static final byte SPNG_INTERLACE_ADAM7- See Also:
-
SPNG_FMT_RGBA8
public static final int SPNG_FMT_RGBA8- See Also:
-
SPNG_FMT_RGBA16
public static final int SPNG_FMT_RGBA16- See Also:
-
SPNG_FMT_RGB8
public static final int SPNG_FMT_RGB8- See Also:
-
SPNG_FMT_GA8
public static final int SPNG_FMT_GA8- See Also:
-
SPNG_FMT_GA16
public static final int SPNG_FMT_GA16- See Also:
-
SPNG_FMT_G8
public static final int SPNG_FMT_G8- See Also:
-
SPNG_FMT_PNG
public static final int SPNG_FMT_PNG- See Also:
-
SPNG_FMT_RAW
public static final int SPNG_FMT_RAW- See Also:
-
SPNG_CTX_IGNORE_ADLER32
public static final int SPNG_CTX_IGNORE_ADLER32- See Also:
-
SPNG_CTX_ENCODER
public static final int SPNG_CTX_ENCODER- See Also:
-
SPNG_DECODE_USE_TRNS
public static final int SPNG_DECODE_USE_TRNS- See Also:
-
SPNG_DECODE_USE_GAMA
public static final int SPNG_DECODE_USE_GAMA- See Also:
-
SPNG_DECODE_USE_SBIT
public static final int SPNG_DECODE_USE_SBIT- See Also:
-
SPNG_DECODE_TRNS
public static final int SPNG_DECODE_TRNS- See Also:
-
SPNG_DECODE_GAMMA
public static final int SPNG_DECODE_GAMMA- See Also:
-
SPNG_DECODE_PROGRESSIVE
public static final int SPNG_DECODE_PROGRESSIVE- See Also:
-
SPNG_CRC_ERROR
public static final int SPNG_CRC_ERROR- See Also:
-
SPNG_CRC_DISCARD
public static final int SPNG_CRC_DISCARD- See Also:
-
SPNG_CRC_USE
public static final int SPNG_CRC_USE- See Also:
-
SPNG_ENCODE_PROGRESSIVE
public static final int SPNG_ENCODE_PROGRESSIVE- See Also:
-
SPNG_ENCODE_FINALIZE
public static final int SPNG_ENCODE_FINALIZE- See Also:
-
SPNG_AFTER_IHDR
public static final int SPNG_AFTER_IHDR- See Also:
-
SPNG_AFTER_PLTE
public static final int SPNG_AFTER_PLTE- See Also:
-
SPNG_AFTER_IDAT
public static final int SPNG_AFTER_IDAT- See Also:
-
SPNG_KEEP_UNKNOWN_CHUNKS
public static final int SPNG_KEEP_UNKNOWN_CHUNKS- See Also:
-
SPNG_IMG_COMPRESSION_LEVEL
public static final int SPNG_IMG_COMPRESSION_LEVEL- See Also:
-
SPNG_IMG_WINDOW_BITS
public static final int SPNG_IMG_WINDOW_BITS- See Also:
-
SPNG_IMG_MEM_LEVEL
public static final int SPNG_IMG_MEM_LEVEL- See Also:
-
SPNG_IMG_COMPRESSION_STRATEGY
public static final int SPNG_IMG_COMPRESSION_STRATEGY- See Also:
-
SPNG_TEXT_COMPRESSION_LEVEL
public static final int SPNG_TEXT_COMPRESSION_LEVEL- See Also:
-
SPNG_TEXT_WINDOW_BITS
public static final int SPNG_TEXT_WINDOW_BITS- See Also:
-
SPNG_TEXT_MEM_LEVEL
public static final int SPNG_TEXT_MEM_LEVEL- See Also:
-
SPNG_TEXT_COMPRESSION_STRATEGY
public static final int SPNG_TEXT_COMPRESSION_STRATEGY- See Also:
-
SPNG_FILTER_CHOICE
public static final int SPNG_FILTER_CHOICE- See Also:
-
SPNG_CHUNK_COUNT_LIMIT
public static final int SPNG_CHUNK_COUNT_LIMIT- See Also:
-
SPNG_ENCODE_TO_BUFFER
public static final int SPNG_ENCODE_TO_BUFFER- See Also:
-
-
Method Details
-
spng_ctx_new
public static long spng_ctx_new(int flags) spng_ctx * spng_ctx_new(int flags)
-
nspng_ctx_new2
public static long nspng_ctx_new2(long alloc, int flags) spng_ctx * spng_ctx_new2(struct spng_alloc * alloc, int flags)
-
spng_ctx_new2
spng_ctx * spng_ctx_new2(struct spng_alloc * alloc, int flags)
-
nspng_ctx_free
public static void nspng_ctx_free(long ctx) void spng_ctx_free(spng_ctx * ctx)
-
spng_ctx_free
public static void spng_ctx_free(long ctx) void spng_ctx_free(spng_ctx * ctx)
-
nspng_set_png_buffer
public static int nspng_set_png_buffer(long ctx, long buf, long size) int spng_set_png_buffer(spng_ctx * ctx, void const * buf, size_t size)
-
spng_set_png_buffer
int spng_set_png_buffer(spng_ctx * ctx, void const * buf, size_t size)
-
nspng_set_png_stream
public static int nspng_set_png_stream(long ctx, long rw_func, long user) int spng_set_png_stream(spng_ctx * ctx, spng_rw_fn * rw_func, void * user)
-
spng_set_png_stream
int spng_set_png_stream(spng_ctx * ctx, spng_rw_fn * rw_func, void * user)
-
nspng_get_png_buffer
public static long nspng_get_png_buffer(long ctx, long len, long error) void * spng_get_png_buffer(spng_ctx * ctx, size_t * len, int * error)
-
spng_get_png_buffer
void * spng_get_png_buffer(spng_ctx * ctx, size_t * len, int * error)
-
nspng_set_image_limits
public static int nspng_set_image_limits(long ctx, int width, int height) int spng_set_image_limits(spng_ctx * ctx, uint32_t width, uint32_t height)
-
spng_set_image_limits
public static int spng_set_image_limits(long ctx, int width, int height) int spng_set_image_limits(spng_ctx * ctx, uint32_t width, uint32_t height)
-
nspng_get_image_limits
public static int nspng_get_image_limits(long ctx, long width, long height) int spng_get_image_limits(spng_ctx * ctx, uint32_t * width, uint32_t * height)
-
spng_get_image_limits
int spng_get_image_limits(spng_ctx * ctx, uint32_t * width, uint32_t * height)
-
nspng_set_chunk_limits
public static int nspng_set_chunk_limits(long ctx, long chunk_size, long cache_size) int spng_set_chunk_limits(spng_ctx * ctx, size_t chunk_size, size_t cache_size)
-
spng_set_chunk_limits
public static int spng_set_chunk_limits(long ctx, long chunk_size, long cache_size) int spng_set_chunk_limits(spng_ctx * ctx, size_t chunk_size, size_t cache_size)
-
nspng_get_chunk_limits
public static int nspng_get_chunk_limits(long ctx, long chunk_size, long cache_size) int spng_get_chunk_limits(spng_ctx * ctx, size_t * chunk_size, size_t * cache_size)
-
spng_get_chunk_limits
public static int spng_get_chunk_limits(long ctx, PointerBuffer chunk_size, PointerBuffer cache_size) int spng_get_chunk_limits(spng_ctx * ctx, size_t * chunk_size, size_t * cache_size)
-
nspng_set_crc_action
public static int nspng_set_crc_action(long ctx, int critical, int ancillary) int spng_set_crc_action(spng_ctx * ctx, int critical, int ancillary)
-
spng_set_crc_action
public static int spng_set_crc_action(long ctx, int critical, int ancillary) int spng_set_crc_action(spng_ctx * ctx, int critical, int ancillary)
-
nspng_set_option
public static int nspng_set_option(long ctx, int option, int value) int spng_set_option(spng_ctx * ctx, enum spng_option option, int value)
-
spng_set_option
public static int spng_set_option(long ctx, int option, int value) int spng_set_option(spng_ctx * ctx, enum spng_option option, int value)
-
nspng_get_option
public static int nspng_get_option(long ctx, int option, long value) int spng_get_option(spng_ctx * ctx, enum spng_option option, int * value)
-
spng_get_option
int spng_get_option(spng_ctx * ctx, enum spng_option option, int * value)
-
nspng_decoded_image_size
public static int nspng_decoded_image_size(long ctx, int fmt, long len) int spng_decoded_image_size(spng_ctx * ctx, int fmt, size_t * len)
-
spng_decoded_image_size
int spng_decoded_image_size(spng_ctx * ctx, int fmt, size_t * len)
-
nspng_decode_image
public static int nspng_decode_image(long ctx, long out, long len, int fmt, int flags) int spng_decode_image(spng_ctx * ctx, void * out, size_t len, int fmt, int flags)
-
spng_decode_image
int spng_decode_image(spng_ctx * ctx, void * out, size_t len, int fmt, int flags)
-
nspng_decode_scanline
public static int nspng_decode_scanline(long ctx, long out, long len) int spng_decode_scanline(spng_ctx * ctx, void * out, size_t len)
-
spng_decode_scanline
int spng_decode_scanline(spng_ctx * ctx, void * out, size_t len)
-
nspng_decode_row
public static int nspng_decode_row(long ctx, long out, long len) int spng_decode_row(spng_ctx * ctx, void * out, size_t len)
-
spng_decode_row
int spng_decode_row(spng_ctx * ctx, void * out, size_t len)
-
nspng_decode_chunks
public static int nspng_decode_chunks(long ctx) int spng_decode_chunks(spng_ctx * ctx)
-
spng_decode_chunks
public static int spng_decode_chunks(long ctx) int spng_decode_chunks(spng_ctx * ctx)
-
nspng_get_row_info
public static int nspng_get_row_info(long ctx, long row_info) int spng_get_row_info(spng_ctx * ctx, struct spng_row_info * row_info)
-
spng_get_row_info
int spng_get_row_info(spng_ctx * ctx, struct spng_row_info * row_info)
-
nspng_encode_image
public static int nspng_encode_image(long ctx, long img, long len, int fmt, int flags) int spng_encode_image(spng_ctx * ctx, void const * img, size_t len, int fmt, int flags)
-
spng_encode_image
int spng_encode_image(spng_ctx * ctx, void const * img, size_t len, int fmt, int flags)
-
nspng_encode_scanline
public static int nspng_encode_scanline(long ctx, long scanline, long len) int spng_encode_scanline(spng_ctx * ctx, void const * scanline, size_t len)
-
spng_encode_scanline
int spng_encode_scanline(spng_ctx * ctx, void const * scanline, size_t len)
-
nspng_encode_row
public static int nspng_encode_row(long ctx, long row, long len) int spng_encode_row(spng_ctx * ctx, void const * row, size_t len)
-
spng_encode_row
int spng_encode_row(spng_ctx * ctx, void const * row, size_t len)
-
nspng_encode_chunks
public static int nspng_encode_chunks(long ctx) int spng_encode_chunks(spng_ctx * ctx)
-
spng_encode_chunks
public static int spng_encode_chunks(long ctx) int spng_encode_chunks(spng_ctx * ctx)
-
nspng_get_ihdr
public static int nspng_get_ihdr(long ctx, long ihdr) int spng_get_ihdr(spng_ctx * ctx, struct spng_ihdr * ihdr)
-
spng_get_ihdr
int spng_get_ihdr(spng_ctx * ctx, struct spng_ihdr * ihdr)
-
nspng_get_plte
public static int nspng_get_plte(long ctx, long plte) int spng_get_plte(spng_ctx * ctx, struct spng_plte * plte)
-
spng_get_plte
int spng_get_plte(spng_ctx * ctx, struct spng_plte * plte)
-
nspng_get_trns
public static int nspng_get_trns(long ctx, long trns) int spng_get_trns(spng_ctx * ctx, struct spng_trns * trns)
-
spng_get_trns
int spng_get_trns(spng_ctx * ctx, struct spng_trns * trns)
-
nspng_get_chrm
public static int nspng_get_chrm(long ctx, long chrm) int spng_get_chrm(spng_ctx * ctx, struct spng_chrm * chrm)
-
spng_get_chrm
int spng_get_chrm(spng_ctx * ctx, struct spng_chrm * chrm)
-
nspng_get_chrm_int
public static int nspng_get_chrm_int(long ctx, long chrm_int) int spng_get_chrm_int(spng_ctx * ctx, struct spng_chrm_int * chrm_int)
-
spng_get_chrm_int
int spng_get_chrm_int(spng_ctx * ctx, struct spng_chrm_int * chrm_int)
-
nspng_get_gama
public static int nspng_get_gama(long ctx, long gamma) int spng_get_gama(spng_ctx * ctx, double * gamma)
-
spng_get_gama
int spng_get_gama(spng_ctx * ctx, double * gamma)
-
nspng_get_gama_int
public static int nspng_get_gama_int(long ctx, long gama_int) int spng_get_gama_int(spng_ctx * ctx, uint32_t * gama_int)
-
spng_get_gama_int
int spng_get_gama_int(spng_ctx * ctx, uint32_t * gama_int)
-
nspng_get_iccp
public static int nspng_get_iccp(long ctx, long iccp) int spng_get_iccp(spng_ctx * ctx, struct spng_iccp * iccp)
-
spng_get_iccp
int spng_get_iccp(spng_ctx * ctx, struct spng_iccp * iccp)
-
nspng_get_sbit
public static int nspng_get_sbit(long ctx, long sbit) int spng_get_sbit(spng_ctx * ctx, struct spng_sbit * sbit)
-
spng_get_sbit
int spng_get_sbit(spng_ctx * ctx, struct spng_sbit * sbit)
-
nspng_get_srgb
public static int nspng_get_srgb(long ctx, long rendering_intent) int spng_get_srgb(spng_ctx * ctx, uint8_t * rendering_intent)
-
spng_get_srgb
int spng_get_srgb(spng_ctx * ctx, uint8_t * rendering_intent)
-
nspng_get_text
public static int nspng_get_text(long ctx, long text, long n_text) int spng_get_text(spng_ctx * ctx, struct spng_text * text, uint32_t * n_text)
-
spng_get_text
int spng_get_text(spng_ctx * ctx, struct spng_text * text, uint32_t * n_text)
-
nspng_get_bkgd
public static int nspng_get_bkgd(long ctx, long bkgd) int spng_get_bkgd(spng_ctx * ctx, struct spng_bkgd * bkgd)
-
spng_get_bkgd
int spng_get_bkgd(spng_ctx * ctx, struct spng_bkgd * bkgd)
-
nspng_get_hist
public static int nspng_get_hist(long ctx, long hist) int spng_get_hist(spng_ctx * ctx, struct spng_hist * hist)
-
spng_get_hist
int spng_get_hist(spng_ctx * ctx, struct spng_hist * hist)
-
nspng_get_phys
public static int nspng_get_phys(long ctx, long phys) int spng_get_phys(spng_ctx * ctx, struct spng_phys * phys)
-
spng_get_phys
int spng_get_phys(spng_ctx * ctx, struct spng_phys * phys)
-
nspng_get_splt
public static int nspng_get_splt(long ctx, long splt, long n_splt) int spng_get_splt(spng_ctx * ctx, struct spng_splt * splt, uint32_t * n_splt)
-
spng_get_splt
int spng_get_splt(spng_ctx * ctx, struct spng_splt * splt, uint32_t * n_splt)
-
nspng_get_time
public static int nspng_get_time(long ctx, long time) int spng_get_time(spng_ctx * ctx, struct spng_time * time)
-
spng_get_time
int spng_get_time(spng_ctx * ctx, struct spng_time * time)
-
nspng_get_unknown_chunks
public static int nspng_get_unknown_chunks(long ctx, long chunks, long n_chunks) int spng_get_unknown_chunks(spng_ctx * ctx, struct spng_unknown_chunk * chunks, uint32_t * n_chunks)
-
spng_get_unknown_chunks
int spng_get_unknown_chunks(spng_ctx * ctx, struct spng_unknown_chunk * chunks, uint32_t * n_chunks)
-
nspng_get_offs
public static int nspng_get_offs(long ctx, long offs) int spng_get_offs(spng_ctx * ctx, struct spng_offs * offs)
-
spng_get_offs
int spng_get_offs(spng_ctx * ctx, struct spng_offs * offs)
-
nspng_get_exif
public static int nspng_get_exif(long ctx, long exif) int spng_get_exif(spng_ctx * ctx, struct spng_exif * exif)
-
spng_get_exif
int spng_get_exif(spng_ctx * ctx, struct spng_exif * exif)
-
nspng_set_ihdr
public static int nspng_set_ihdr(long ctx, long ihdr) int spng_set_ihdr(spng_ctx * ctx, struct spng_ihdr * ihdr)
-
spng_set_ihdr
int spng_set_ihdr(spng_ctx * ctx, struct spng_ihdr * ihdr)
-
nspng_set_plte
public static int nspng_set_plte(long ctx, long plte) int spng_set_plte(spng_ctx * ctx, struct spng_plte * plte)
-
spng_set_plte
int spng_set_plte(spng_ctx * ctx, struct spng_plte * plte)
-
nspng_set_trns
public static int nspng_set_trns(long ctx, long trns) int spng_set_trns(spng_ctx * ctx, struct spng_trns * trns)
-
spng_set_trns
int spng_set_trns(spng_ctx * ctx, struct spng_trns * trns)
-
nspng_set_chrm
public static int nspng_set_chrm(long ctx, long chrm) int spng_set_chrm(spng_ctx * ctx, struct spng_chrm * chrm)
-
spng_set_chrm
int spng_set_chrm(spng_ctx * ctx, struct spng_chrm * chrm)
-
nspng_set_chrm_int
public static int nspng_set_chrm_int(long ctx, long chrm_int) int spng_set_chrm_int(spng_ctx * ctx, struct spng_chrm_int * chrm_int)
-
spng_set_chrm_int
int spng_set_chrm_int(spng_ctx * ctx, struct spng_chrm_int * chrm_int)
-
nspng_set_gama
public static int nspng_set_gama(long ctx, double gamma) int spng_set_gama(spng_ctx * ctx, double gamma)
-
spng_set_gama
public static int spng_set_gama(long ctx, double gamma) int spng_set_gama(spng_ctx * ctx, double gamma)
-
nspng_set_gama_int
public static int nspng_set_gama_int(long ctx, int gamma) int spng_set_gama_int(spng_ctx * ctx, uint32_t gamma)
-
spng_set_gama_int
public static int spng_set_gama_int(long ctx, int gamma) int spng_set_gama_int(spng_ctx * ctx, uint32_t gamma)
-
nspng_set_iccp
public static int nspng_set_iccp(long ctx, long iccp) int spng_set_iccp(spng_ctx * ctx, struct spng_iccp * iccp)
-
spng_set_iccp
int spng_set_iccp(spng_ctx * ctx, struct spng_iccp * iccp)
-
nspng_set_sbit
public static int nspng_set_sbit(long ctx, long sbit) int spng_set_sbit(spng_ctx * ctx, struct spng_sbit * sbit)
-
spng_set_sbit
int spng_set_sbit(spng_ctx * ctx, struct spng_sbit * sbit)
-
nspng_set_srgb
public static int nspng_set_srgb(long ctx, byte rendering_intent) int spng_set_srgb(spng_ctx * ctx, uint8_t rendering_intent)
-
spng_set_srgb
public static int spng_set_srgb(long ctx, byte rendering_intent) int spng_set_srgb(spng_ctx * ctx, uint8_t rendering_intent)
-
nspng_set_text
public static int nspng_set_text(long ctx, long text, int n_text) int spng_set_text(spng_ctx * ctx, struct spng_text * text, uint32_t n_text)
-
spng_set_text
int spng_set_text(spng_ctx * ctx, struct spng_text * text, uint32_t n_text)
-
nspng_set_bkgd
public static int nspng_set_bkgd(long ctx, long bkgd) int spng_set_bkgd(spng_ctx * ctx, struct spng_bkgd * bkgd)
-
spng_set_bkgd
int spng_set_bkgd(spng_ctx * ctx, struct spng_bkgd * bkgd)
-
nspng_set_hist
public static int nspng_set_hist(long ctx, long hist) int spng_set_hist(spng_ctx * ctx, struct spng_hist * hist)
-
spng_set_hist
int spng_set_hist(spng_ctx * ctx, struct spng_hist * hist)
-
nspng_set_phys
public static int nspng_set_phys(long ctx, long phys) int spng_set_phys(spng_ctx * ctx, struct spng_phys * phys)
-
spng_set_phys
int spng_set_phys(spng_ctx * ctx, struct spng_phys * phys)
-
nspng_set_splt
public static int nspng_set_splt(long ctx, long splt, int n_splt) int spng_set_splt(spng_ctx * ctx, struct spng_splt * splt, uint32_t n_splt)
-
spng_set_splt
int spng_set_splt(spng_ctx * ctx, struct spng_splt * splt, uint32_t n_splt)
-
nspng_set_time
public static int nspng_set_time(long ctx, long time) int spng_set_time(spng_ctx * ctx, struct spng_time * time)
-
spng_set_time
int spng_set_time(spng_ctx * ctx, struct spng_time * time)
-
nspng_set_unknown_chunks
public static int nspng_set_unknown_chunks(long ctx, long chunks, int n_chunks) int spng_set_unknown_chunks(spng_ctx * ctx, struct spng_unknown_chunk * chunks, uint32_t n_chunks)
-
spng_set_unknown_chunks
int spng_set_unknown_chunks(spng_ctx * ctx, struct spng_unknown_chunk * chunks, uint32_t n_chunks)
-
nspng_set_offs
public static int nspng_set_offs(long ctx, long offs) int spng_set_offs(spng_ctx * ctx, struct spng_offs * offs)
-
spng_set_offs
int spng_set_offs(spng_ctx * ctx, struct spng_offs * offs)
-
nspng_set_exif
public static int nspng_set_exif(long ctx, long exif) int spng_set_exif(spng_ctx * ctx, struct spng_exif * exif)
-
spng_set_exif
int spng_set_exif(spng_ctx * ctx, struct spng_exif * exif)
-
nspng_strerror
public static long nspng_strerror(int err) char const * spng_strerror(int err)
-
spng_strerror
char const * spng_strerror(int err)
-
nspng_version_string
public static long nspng_version_string()char const * spng_version_string(void)
-
spng_version_string
char const * spng_version_string(void)
-