Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Macros | Functions
pngset.c File Reference
#include "png.h"

Go to the source code of this file.

Macros

#define PNG_INTERNAL
 
#define PNG_NO_PEDANTIC_WARNINGS
 

Functions

void PNGAPI png_set_bKGD (png_structp png_ptr, png_infop info_ptr, png_color_16p background)
 
void PNGAPI png_set_cHRM (png_structp png_ptr, png_infop info_ptr, double white_x, double white_y, double red_x, double red_y, double green_x, double green_y, double blue_x, double blue_y)
 
void PNGAPI png_set_cHRM_fixed (png_structp png_ptr, png_infop info_ptr, png_fixed_point white_x, png_fixed_point white_y, png_fixed_point red_x, png_fixed_point red_y, png_fixed_point green_x, png_fixed_point green_y, png_fixed_point blue_x, png_fixed_point blue_y)
 
void PNGAPI png_set_gAMA (png_structp png_ptr, png_infop info_ptr, double file_gamma)
 
void PNGAPI png_set_gAMA_fixed (png_structp png_ptr, png_infop info_ptr, png_fixed_point int_gamma)
 
void PNGAPI png_set_hIST (png_structp png_ptr, png_infop info_ptr, png_uint_16p hist)
 
void PNGAPI png_set_IHDR (png_structp png_ptr, png_infop info_ptr, png_uint_32 width, png_uint_32 height, int bit_depth, int color_type, int interlace_type, int compression_type, int filter_type)
 
void PNGAPI png_set_oFFs (png_structp png_ptr, png_infop info_ptr, png_int_32 offset_x, png_int_32 offset_y, int unit_type)
 
void PNGAPI png_set_pCAL (png_structp png_ptr, png_infop info_ptr, png_charp purpose, png_int_32 X0, png_int_32 X1, int type, int nparams, png_charp units, png_charpp params)
 
void PNGAPI png_set_sCAL (png_structp png_ptr, png_infop info_ptr, int unit, double width, double height)
 
void PNGAPI png_set_pHYs (png_structp png_ptr, png_infop info_ptr, png_uint_32 res_x, png_uint_32 res_y, int unit_type)
 
void PNGAPI png_set_PLTE (png_structp png_ptr, png_infop info_ptr, png_colorp palette, int num_palette)
 
void PNGAPI png_set_sBIT (png_structp png_ptr, png_infop info_ptr, png_color_8p sig_bit)
 
void PNGAPI png_set_sRGB (png_structp png_ptr, png_infop info_ptr, int intent)
 
void PNGAPI png_set_sRGB_gAMA_and_cHRM (png_structp png_ptr, png_infop info_ptr, int intent)
 
void PNGAPI png_set_iCCP (png_structp png_ptr, png_infop info_ptr, png_charp name, int compression_type, png_charp profile, png_uint_32 proflen)
 
void PNGAPI png_set_text (png_structp png_ptr, png_infop info_ptr, png_textp text_ptr, int num_text)
 
int png_set_text_2 (png_structp png_ptr, png_infop info_ptr, png_textp text_ptr, int num_text)
 
void PNGAPI png_set_tIME (png_structp png_ptr, png_infop info_ptr, png_timep mod_time)
 
void PNGAPI png_set_tRNS (png_structp png_ptr, png_infop info_ptr, png_bytep trans, int num_trans, png_color_16p trans_values)
 
void PNGAPI png_set_sPLT (png_structp png_ptr, png_infop info_ptr, png_sPLT_tp entries, int nentries)
 
void PNGAPI png_set_unknown_chunks (png_structp png_ptr, png_infop info_ptr, png_unknown_chunkp unknowns, int num_unknowns)
 
void PNGAPI png_set_unknown_chunk_location (png_structp png_ptr, png_infop info_ptr, int chunk, int location)
 
void PNGAPI png_permit_empty_plte (png_structp png_ptr, int empty_plte_permitted)
 
png_uint_32 PNGAPI png_permit_mng_features (png_structp png_ptr, png_uint_32 mng_features)
 
void PNGAPI png_set_keep_unknown_chunks (png_structp png_ptr, int keep, png_bytep chunk_list, int num_chunks)
 
void PNGAPI png_set_read_user_chunk_fn (png_structp png_ptr, png_voidp user_chunk_ptr, png_user_chunk_ptr read_user_chunk_fn)
 
void PNGAPI png_set_rows (png_structp png_ptr, png_infop info_ptr, png_bytepp row_pointers)
 
void PNGAPI png_set_compression_buffer_size (png_structp png_ptr, png_uint_32 size)
 
void PNGAPI png_set_invalid (png_structp png_ptr, png_infop info_ptr, int mask)
 
void PNGAPI png_set_asm_flags (png_structp png_ptr, png_uint_32 asm_flags)
 
void PNGAPI png_set_mmx_thresholds (png_structp png_ptr, png_byte mmx_bitdepth_threshold, png_uint_32 mmx_rowbytes_threshold)
 
void PNGAPI png_set_user_limits (png_structp png_ptr, png_uint_32 user_width_max, png_uint_32 user_height_max)
 
png_size_t png_check_keyword (png_structp png_ptr, png_charp key, png_charpp new_key)
 

Macro Definition Documentation

◆ PNG_INTERNAL

#define PNG_INTERNAL

Definition at line 19 of file pngset.c.

◆ PNG_NO_PEDANTIC_WARNINGS

#define PNG_NO_PEDANTIC_WARNINGS

Definition at line 20 of file pngset.c.

Function Documentation

◆ png_check_keyword()

png_size_t png_check_keyword ( png_structp  png_ptr,
png_charp  key,
png_charpp  new_key 
)

Definition at line 1272 of file pngset.c.

◆ png_permit_empty_plte()

void PNGAPI png_permit_empty_plte ( png_structp  png_ptr,
int  empty_plte_permitted 
)

Definition at line 1070 of file pngset.c.

◆ png_permit_mng_features()

png_uint_32 PNGAPI png_permit_mng_features ( png_structp  png_ptr,
png_uint_32  mng_features 
)

Definition at line 1088 of file pngset.c.

◆ png_set_asm_flags()

void PNGAPI png_set_asm_flags ( png_structp  png_ptr,
png_uint_32  asm_flags 
)

Definition at line 1204 of file pngset.c.

◆ png_set_bKGD()

void PNGAPI png_set_bKGD ( png_structp  png_ptr,
png_infop  info_ptr,
png_color_16p  background 
)

Definition at line 26 of file pngset.c.

◆ png_set_cHRM()

void PNGAPI png_set_cHRM ( png_structp  png_ptr,
png_infop  info_ptr,
double  white_x,
double  white_y,
double  red_x,
double  red_y,
double  green_x,
double  green_y,
double  blue_x,
double  blue_y 
)

Definition at line 41 of file pngset.c.

◆ png_set_cHRM_fixed()

void PNGAPI png_set_cHRM_fixed ( png_structp  png_ptr,
png_infop  info_ptr,
png_fixed_point  white_x,
png_fixed_point  white_y,
png_fixed_point  red_x,
png_fixed_point  red_y,
png_fixed_point  green_x,
png_fixed_point  green_y,
png_fixed_point  blue_x,
png_fixed_point  blue_y 
)

Definition at line 74 of file pngset.c.

◆ png_set_compression_buffer_size()

void PNGAPI png_set_compression_buffer_size ( png_structp  png_ptr,
png_uint_32  size 
)

Definition at line 1180 of file pngset.c.

◆ png_set_gAMA()

void PNGAPI png_set_gAMA ( png_structp  png_ptr,
png_infop  info_ptr,
double  file_gamma 
)

Definition at line 116 of file pngset.c.

◆ png_set_gAMA_fixed()

void PNGAPI png_set_gAMA_fixed ( png_structp  png_ptr,
png_infop  info_ptr,
png_fixed_point  int_gamma 
)

Definition at line 143 of file pngset.c.

◆ png_set_hIST()

void PNGAPI png_set_hIST ( png_structp  png_ptr,
png_infop  info_ptr,
png_uint_16p  hist 
)

Definition at line 182 of file pngset.c.

◆ png_set_iCCP()

void PNGAPI png_set_iCCP ( png_structp  png_ptr,
png_infop  info_ptr,
png_charp  name,
int  compression_type,
png_charp  profile,
png_uint_32  proflen 
)

Definition at line 601 of file pngset.c.

◆ png_set_IHDR()

void PNGAPI png_set_IHDR ( png_structp  png_ptr,
png_infop  info_ptr,
png_uint_32  width,
png_uint_32  height,
int  bit_depth,
int  color_type,
int  interlace_type,
int  compression_type,
int  filter_type 
)

Definition at line 227 of file pngset.c.

Referenced by vl::savePNG().

◆ png_set_invalid()

void PNGAPI png_set_invalid ( png_structp  png_ptr,
png_infop  info_ptr,
int  mask 
)

Definition at line 1193 of file pngset.c.

◆ png_set_keep_unknown_chunks()

void PNGAPI png_set_keep_unknown_chunks ( png_structp  png_ptr,
int  keep,
png_bytep  chunk_list,
int  num_chunks 
)

Definition at line 1102 of file pngset.c.

◆ png_set_mmx_thresholds()

void PNGAPI png_set_mmx_thresholds ( png_structp  png_ptr,
png_byte  mmx_bitdepth_threshold,
png_uint_32  mmx_rowbytes_threshold 
)

Definition at line 1214 of file pngset.c.

◆ png_set_oFFs()

void PNGAPI png_set_oFFs ( png_structp  png_ptr,
png_infop  info_ptr,
png_int_32  offset_x,
png_int_32  offset_y,
int  unit_type 
)

Definition at line 276 of file pngset.c.

◆ png_set_pCAL()

void PNGAPI png_set_pCAL ( png_structp  png_ptr,
png_infop  info_ptr,
png_charp  purpose,
png_int_32  X0,
png_int_32  X1,
int  type,
int  nparams,
png_charp  units,
png_charpp  params 
)

Definition at line 293 of file pngset.c.

◆ png_set_pHYs()

void PNGAPI png_set_pHYs ( png_structp  png_ptr,
png_infop  info_ptr,
png_uint_32  res_x,
png_uint_32  res_y,
int  unit_type 
)

Definition at line 432 of file pngset.c.

◆ png_set_PLTE()

void PNGAPI png_set_PLTE ( png_structp  png_ptr,
png_infop  info_ptr,
png_colorp  palette,
int  num_palette 
)

Definition at line 448 of file pngset.c.

◆ png_set_read_user_chunk_fn()

void PNGAPI png_set_read_user_chunk_fn ( png_structp  png_ptr,
png_voidp  user_chunk_ptr,
png_user_chunk_ptr  read_user_chunk_fn 
)

Definition at line 1149 of file pngset.c.

◆ png_set_rows()

void PNGAPI png_set_rows ( png_structp  png_ptr,
png_infop  info_ptr,
png_bytepp  row_pointers 
)

Definition at line 1164 of file pngset.c.

Referenced by vl::savePNG().

◆ png_set_sBIT()

void PNGAPI png_set_sBIT ( png_structp  png_ptr,
png_infop  info_ptr,
png_color_8p  sig_bit 
)

Definition at line 502 of file pngset.c.

◆ png_set_sCAL()

void PNGAPI png_set_sCAL ( png_structp  png_ptr,
png_infop  info_ptr,
int  unit,
double  width,
double  height 
)

Definition at line 367 of file pngset.c.

◆ png_set_sPLT()

void PNGAPI png_set_sPLT ( png_structp  png_ptr,
png_infop  info_ptr,
png_sPLT_tp  entries,
int  nentries 
)

Definition at line 925 of file pngset.c.

◆ png_set_sRGB()

void PNGAPI png_set_sRGB ( png_structp  png_ptr,
png_infop  info_ptr,
int  intent 
)

Definition at line 517 of file pngset.c.

◆ png_set_sRGB_gAMA_and_cHRM()

void PNGAPI png_set_sRGB_gAMA_and_cHRM ( png_structp  png_ptr,
png_infop  info_ptr,
int  intent 
)

Definition at line 529 of file pngset.c.

◆ png_set_text()

void PNGAPI png_set_text ( png_structp  png_ptr,
png_infop  info_ptr,
png_textp  text_ptr,
int  num_text 
)

Definition at line 650 of file pngset.c.

◆ png_set_text_2()

int png_set_text_2 ( png_structp  png_ptr,
png_infop  info_ptr,
png_textp  text_ptr,
int  num_text 
)

Definition at line 660 of file pngset.c.

◆ png_set_tIME()

void PNGAPI png_set_tIME ( png_structp  png_ptr,
png_infop  info_ptr,
png_timep  mod_time 
)

Definition at line 837 of file pngset.c.

◆ png_set_tRNS()

void PNGAPI png_set_tRNS ( png_structp  png_ptr,
png_infop  info_ptr,
png_bytep  trans,
int  num_trans,
png_color_16p  trans_values 
)

Definition at line 861 of file pngset.c.

◆ png_set_unknown_chunk_location()

void PNGAPI png_set_unknown_chunk_location ( png_structp  png_ptr,
png_infop  info_ptr,
int  chunk,
int  location 
)

Definition at line 1057 of file pngset.c.

◆ png_set_unknown_chunks()

void PNGAPI png_set_unknown_chunks ( png_structp  png_ptr,
png_infop  info_ptr,
png_unknown_chunkp  unknowns,
int  num_unknowns 
)

Definition at line 997 of file pngset.c.

◆ png_set_user_limits()

void PNGAPI png_set_user_limits ( png_structp  png_ptr,
png_uint_32  user_width_max,
png_uint_32  user_height_max 
)

Definition at line 1230 of file pngset.c.