Harlequin RIP SDK
libpngapi.h File Reference

Header file defining the LibPNG interface API. More...

#include <setjmp.h>
#include "png.h"

Data Structures

struct  sw_libpng_api_20201229
 The LibPNG API version 20201229. More...
 

Macros

#define png_sig_cmp   libpng_api->png_sig_cmp
 Check PNG signature bytes to see if it's a PNG file. More...
 
#define png_set_longjmp_fn   libpng_api->png_set_longjmp_fn
 Set a callback that will be used to catch unrecoverable errors. More...
 
#define png_longjmp   libpng_api->png_longjmp
 Invoke the LibPNG error callback, with an error value . More...
 
#define png_error   libpng_api->png_error
 Invoke a LibPNG error. More...
 
#define png_create_info_struct   libpng_api->png_create_info_struct
 Create a PNG information structure. More...
 
#define png_create_read_struct_2   libpng_api->png_create_read_struct_2
 Create a structure handle for reading a PNG image. More...
 
#define png_destroy_read_struct   libpng_api->png_destroy_read_struct
 Destroy a PNG structure handle and associated information structures. More...
 
#define png_get_IHDR   libpng_api->png_get_IHDR
 Get header information from a PNG image. More...
 
#define png_get_color_type   libpng_api->png_get_color_type
 Get the color type from a PNG image. More...
 
#define png_get_iCCP   libpng_api->png_get_iCCP
 Get the ICC profile information from a PNG image. More...
 
#define png_get_io_ptr   libpng_api->png_get_io_ptr
 Get the reader/writer I/O data pointer. More...
 
#define png_get_pHYs   libpng_api->png_get_pHYs
 Get the image resolution information from a PNG image. More...
 
#define png_get_rowbytes   libpng_api->png_get_rowbytes
 Get the number of bytes to store a transformed row of a PNG image. More...
 
#define png_get_tRNS   libpng_api->png_get_tRNS
 Get the transparency information from a PNG image. More...
 
#define png_get_valid   libpng_api->png_get_valid
 Determine if one or more information chunks are valid. More...
 
#define png_read_image   libpng_api->png_read_image
 Read all of the data in an image. More...
 
#define png_read_info   libpng_api->png_read_info
 Read the information chunks from an image. More...
 
#define png_read_row   libpng_api->png_read_row
 Read one row of data from an image. More...
 
#define png_read_update_info   libpng_api->png_read_update_info
 Update the PNG information structure after setting transformations. More...
 
#define png_set_interlace_handling   libpng_api->png_set_interlace_handling
 Request that LibPNG handles de-interlacing. More...
 
#define png_set_invert_alpha   libpng_api->png_set_invert_alpha
 Request that LibPNG invert opacity to transparency. More...
 
#define png_set_palette_to_rgb   libpng_api->png_set_palette_to_rgb
 Request that LibPNG expands palettized images to RGB. More...
 
#define png_set_read_fn   libpng_api->png_set_read_fn
 Set a callback function and data pointer to read PNG images. More...
 
#define png_set_strip_alpha   libpng_api->png_set_strip_alpha
 Request that LibPNG removes the alpha channel from transformed data. More...
 
#define png_set_swap_alpha   libpng_api->png_set_swap_alpha
 Request that LibPNG swaps the alpha channel in transformed data from RGBA to ARGB or vice-versa. More...
 
#define png_set_tRNS_to_alpha   libpng_api->png_set_tRNS_to_alpha
 Request that LibPNG expands tRNS chunk to a full alpha channel in transformed data. More...
 
#define png_create_write_struct_2   libpng_api->png_create_write_struct_2
 Create a structure handle for writing a PNG image. More...
 
#define png_destroy_write_struct   libpng_api->png_destroy_write_struct
 Destroy a PNG structure handle and associated information structures. More...
 
#define png_write_info   libpng_api->png_write_info
 Write information chunks to a PNG image. More...
 
#define png_write_row   libpng_api->png_write_row
 Write a row of data to a PNG image. More...
 
#define png_write_end   libpng_api->png_write_end
 Finish writing a PNG image, including any information comments. More...
 
#define png_set_write_fn   libpng_api->png_set_write_fn
 Set a callback function and data pointer to write PNG images. More...
 
#define png_set_IHDR   libpng_api->png_set_IHDR
 Set the header information for a PNG image. More...
 
#define png_set_compression_level   libpng_api->png_set_compression_level
 Set the compression level of a PNG image. More...
 
#define png_set_text   libpng_api->png_set_text
 Set a text comment for a PNG image. More...
 

Detailed Description

Header file defining the LibPNG interface API.

Copyright (C) 2023 Global Graphics Software Ltd. All rights reserved. This source code contains the confidential and trade secret information of Global Graphics Software Ltd. It may not be used, copied or distributed for any reason except as set forth in the applicable Global Graphics license agreement.