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
pngwrite.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_write_info_before_PLTE (png_structp png_ptr, png_infop info_ptr)
 
void PNGAPI png_write_info (png_structp png_ptr, png_infop info_ptr)
 
void PNGAPI png_write_end (png_structp png_ptr, png_infop info_ptr)
 
void PNGAPI png_convert_from_struct_tm (png_timep ptime, struct tm FAR *ttime)
 
void PNGAPI png_convert_from_time_t (png_timep ptime, time_t ttime)
 
png_structp PNGAPI png_create_write_struct (png_const_charp user_png_ver, png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warn_fn)
 
png_structp PNGAPI png_create_write_struct_2 (png_const_charp user_png_ver, png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warn_fn, png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn)
 
void PNGAPI png_write_init (png_structp png_ptr)
 
void PNGAPI png_write_init_2 (png_structp png_ptr, png_const_charp user_png_ver, png_size_t png_struct_size, png_size_t png_info_size)
 
void PNGAPI png_write_init_3 (png_structpp ptr_ptr, png_const_charp user_png_ver, png_size_t png_struct_size)
 
void PNGAPI png_write_rows (png_structp png_ptr, png_bytepp row, png_uint_32 num_rows)
 
void PNGAPI png_write_image (png_structp png_ptr, png_bytepp image)
 
void PNGAPI png_write_row (png_structp png_ptr, png_bytep row)
 
void PNGAPI png_set_flush (png_structp png_ptr, int nrows)
 
void PNGAPI png_write_flush (png_structp png_ptr)
 
void PNGAPI png_destroy_write_struct (png_structpp png_ptr_ptr, png_infopp info_ptr_ptr)
 
void png_write_destroy (png_structp png_ptr)
 
void PNGAPI png_set_filter (png_structp png_ptr, int method, int filters)
 
void PNGAPI png_set_filter_heuristics (png_structp png_ptr, int heuristic_method, int num_weights, png_doublep filter_weights, png_doublep filter_costs)
 
void PNGAPI png_set_compression_level (png_structp png_ptr, int level)
 
void PNGAPI png_set_compression_mem_level (png_structp png_ptr, int mem_level)
 
void PNGAPI png_set_compression_strategy (png_structp png_ptr, int strategy)
 
void PNGAPI png_set_compression_window_bits (png_structp png_ptr, int window_bits)
 
void PNGAPI png_set_compression_method (png_structp png_ptr, int method)
 
void PNGAPI png_set_write_status_fn (png_structp png_ptr, png_write_status_ptr write_row_fn)
 
void PNGAPI png_set_write_user_transform_fn (png_structp png_ptr, png_user_transform_ptr write_user_transform_fn)
 
void PNGAPI png_write_png (png_structp png_ptr, png_infop info_ptr, int transforms, voidp params)
 

Macro Definition Documentation

◆ PNG_INTERNAL

#define PNG_INTERNAL

Definition at line 15 of file pngwrite.c.

◆ PNG_NO_PEDANTIC_WARNINGS

#define PNG_NO_PEDANTIC_WARNINGS

Definition at line 16 of file pngwrite.c.

Function Documentation

◆ png_convert_from_struct_tm()

void PNGAPI png_convert_from_struct_tm ( png_timep  ptime,
struct tm FAR ttime 
)

Definition at line 432 of file pngwrite.c.

References png_debug, and PNGAPI.

Referenced by png_convert_from_time_t().

◆ png_convert_from_time_t()

void PNGAPI png_convert_from_time_t ( png_timep  ptime,
time_t  ttime 
)

Definition at line 445 of file pngwrite.c.

References png_convert_from_struct_tm(), png_debug, and PNGAPI.

◆ png_create_write_struct()

png_structp PNGAPI png_create_write_struct ( png_const_charp  user_png_ver,
png_voidp  error_ptr,
png_error_ptr  error_fn,
png_error_ptr  warn_fn 
)

◆ png_create_write_struct_2()

png_structp PNGAPI png_create_write_struct_2 ( png_const_charp  user_png_ver,
png_voidp  error_ptr,
png_error_ptr  error_fn,
png_error_ptr  warn_fn,
png_voidp  mem_ptr,
png_malloc_ptr  malloc_fn,
png_free_ptr  free_fn 
)

Definition at line 468 of file pngwrite.c.

Referenced by png_create_write_struct().

◆ png_destroy_write_struct()

void PNGAPI png_destroy_write_struct ( png_structpp  png_ptr_ptr,
png_infopp  info_ptr_ptr 
)

Definition at line 1040 of file pngwrite.c.

Referenced by vl::savePNG().

◆ png_set_compression_level()

void PNGAPI png_set_compression_level ( png_structp  png_ptr,
int  level 
)

Definition at line 1305 of file pngwrite.c.

Referenced by vl::savePNG().

◆ png_set_compression_mem_level()

void PNGAPI png_set_compression_mem_level ( png_structp  png_ptr,
int  mem_level 
)

Definition at line 1316 of file pngwrite.c.

◆ png_set_compression_method()

void PNGAPI png_set_compression_method ( png_structp  png_ptr,
int  method 
)

Definition at line 1359 of file pngwrite.c.

◆ png_set_compression_strategy()

void PNGAPI png_set_compression_strategy ( png_structp  png_ptr,
int  strategy 
)

Definition at line 1327 of file pngwrite.c.

◆ png_set_compression_window_bits()

void PNGAPI png_set_compression_window_bits ( png_structp  png_ptr,
int  window_bits 
)

Definition at line 1338 of file pngwrite.c.

◆ png_set_filter()

void PNGAPI png_set_filter ( png_structp  png_ptr,
int  method,
int  filters 
)

Definition at line 1172 of file pngwrite.c.

◆ png_set_filter_heuristics()

void PNGAPI png_set_filter_heuristics ( png_structp  png_ptr,
int  heuristic_method,
int  num_weights,
png_doublep  filter_weights,
png_doublep  filter_costs 
)

Definition at line 1292 of file pngwrite.c.

◆ png_set_flush()

void PNGAPI png_set_flush ( png_structp  png_ptr,
int  nrows 
)

Definition at line 973 of file pngwrite.c.

◆ png_set_write_status_fn()

void PNGAPI png_set_write_status_fn ( png_structp  png_ptr,
png_write_status_ptr  write_row_fn 
)

Definition at line 1372 of file pngwrite.c.

◆ png_set_write_user_transform_fn()

void PNGAPI png_set_write_user_transform_fn ( png_structp  png_ptr,
png_user_transform_ptr  write_user_transform_fn 
)

Definition at line 1381 of file pngwrite.c.

◆ png_write_destroy()

void png_write_destroy ( png_structp  png_ptr)

Definition at line 1112 of file pngwrite.c.

◆ png_write_end()

void PNGAPI png_write_end ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 315 of file pngwrite.c.

Referenced by vl::savePNG().

◆ png_write_flush()

void PNGAPI png_write_flush ( png_structp  png_ptr)

Definition at line 984 of file pngwrite.c.

◆ png_write_image()

void PNGAPI png_write_image ( png_structp  png_ptr,
png_bytepp  image 
)

Definition at line 759 of file pngwrite.c.

Referenced by vl::savePNG().

◆ png_write_info()

void PNGAPI png_write_info ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 135 of file pngwrite.c.

Referenced by vl::savePNG().

◆ png_write_info_before_PLTE()

void PNGAPI png_write_info_before_PLTE ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 30 of file pngwrite.c.

◆ png_write_init()

void PNGAPI png_write_init ( png_structp  png_ptr)

Definition at line 609 of file pngwrite.c.

◆ png_write_init_2()

void PNGAPI png_write_init_2 ( png_structp  png_ptr,
png_const_charp  user_png_ver,
png_size_t  png_struct_size,
png_size_t  png_info_size 
)

Definition at line 616 of file pngwrite.c.

◆ png_write_init_3()

void PNGAPI png_write_init_3 ( png_structpp  ptr_ptr,
png_const_charp  user_png_ver,
png_size_t  png_struct_size 
)

Definition at line 666 of file pngwrite.c.

◆ png_write_png()

void PNGAPI png_write_png ( png_structp  png_ptr,
png_infop  info_ptr,
int  transforms,
voidp  params 
)

Definition at line 1396 of file pngwrite.c.

Referenced by vl::savePNG().

◆ png_write_row()

void PNGAPI png_write_row ( png_structp  png_ptr,
png_bytep  row 
)

Definition at line 791 of file pngwrite.c.

◆ png_write_rows()

void PNGAPI png_write_rows ( png_structp  png_ptr,
png_bytepp  row,
png_uint_32  num_rows 
)

Definition at line 737 of file pngwrite.c.