The stick2xyz Documentation 1.14.1
output2dpng.h File Reference
#include <stick2xyz.h>
Include dependency graph for output2dpng.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define OUTPUT2DPNG_H   (1)
 

Functions

stick2xyz_pctchar output2dpng_name (void)
 
stick2xyz_pctchar output2dpng_desc (void)
 
void output2dpng_version (int *dest)
 
int output2dpng_type (void)
 
int output2dpng_sigterm (output2d_sigterm_ready func, int modnumber)
 
int output2dpng_init (int multithread)
 
int output2dpng_release (void)
 
void output2dpng_set_tty (void *fildescout, void *fildescerr)
 
int output2dpng_multithread_safe (void)
 
void output2dpng_lang (stick2xyz_print_ptr newval)
 
output2d_handle output2dpng_to_png (pane2d_handle pane, pane2d_dupdata dupdata, pane2d_dupxy dupxy, int use_rgb)
 
output2d_handle output2dpng_image_to_png (pane2d_handle pane, pane2d_dupimage dupimage, pane2d_freeimage freedata, pane2d_dupxy dupxy, int use_rgb)
 
output2d_handle output2dpng_bypng16type (pane2d_handle pane, pane2d_dupfunc_getlist duplist, int use_rgb, unsigned int filnum)
 
output2d_handle output2dpng_bypngtype (pane2d_handle pane, pane2d_dupfunc_getlist duplist, int use_rgb, unsigned int filnum)
 
int output2dpng_getnewdata (output2d_handle handle, unsigned int filnum)
 
void output2dpng_free (output2d_handle handle)
 
int output2dpng_quality_range (struct output2d_qualityinfo *dest)
 
uint32_t output2dpng_quality_valid (const int value)
 
size_t output2dpng_bpp_list (int *array)
 
int output2dpng_bpp_supported (const int value)
 
int output2dpng_bpp_default (void)
 
int output2dpng_write (output2d_handle handle, const char *filnam, unsigned int filnum, int compression)
 
int output2dpng_write_w (output2d_handle handle, const wchar_t *filnam, unsigned int filnum, int compression)
 
void output2dpng_read (const char *filetoread)
 

Macro Definition Documentation

◆ OUTPUT2DPNG_H

#define OUTPUT2DPNG_H   (1)

Definition at line 21 of file output2dpng.h.

Function Documentation

◆ output2dpng_bpp_default()

int output2dpng_bpp_default ( void  )

See mod_output2d_bpp_default for more information.

◆ output2dpng_bpp_list()

size_t output2dpng_bpp_list ( int *  array)

See mod_output2d_bpp_list for more information.

◆ output2dpng_bpp_supported()

int output2dpng_bpp_supported ( const int  value)

See mod_output2d_bpp_supported for more information.

◆ output2dpng_bypng16type()

output2d_handle output2dpng_bypng16type ( pane2d_handle  pane,
pane2d_dupfunc_getlist  duplist,
int  use_rgb,
unsigned int  filnum 
)

See mod_pane16bytype_to_output2d for more information.

◆ output2dpng_bypngtype()

output2d_handle output2dpng_bypngtype ( pane2d_handle  pane,
pane2d_dupfunc_getlist  duplist,
int  use_rgb,
unsigned int  filnum 
)

See mod_panebytype_to_output2d for more information.

◆ output2dpng_desc()

stick2xyz_pctchar output2dpng_desc ( void  )

See mod_output2d_desc for more information.

◆ output2dpng_free()

void output2dpng_free ( output2d_handle  handle)

See mod_output2d_free_handle for more information.

◆ output2dpng_getnewdata()

int output2dpng_getnewdata ( output2d_handle  handle,
unsigned int  filnum 
)

See mod_output2d_getnewdata for more information.

◆ output2dpng_image_to_png()

output2d_handle output2dpng_image_to_png ( pane2d_handle  pane,
pane2d_dupimage  dupimage,
pane2d_freeimage  freedata,
pane2d_dupxy  dupxy,
int  use_rgb 
)

See mod_paneimage_to_output2d for more information.

◆ output2dpng_init()

int output2dpng_init ( int  multithread)

This function only has to be called if you want Output2D PNG to set up multithread safety for output2dpng_write and output2dpng_write_w. multithread needs to be set to 1 to make this happen.

See mod_output2d_init for more information.

Parameters
[in]multithread1 if calling program is or expects to run multithreaded, 0 otherwise.
Return values
>0If function is successful.
0If the function fails.

◆ output2dpng_lang()

void output2dpng_lang ( stick2xyz_print_ptr  newval)

See mod_output2d_lang for more information.

◆ output2dpng_multithread_safe()

int output2dpng_multithread_safe ( void  )

See mod_output2d_multithread_safe for more information.

◆ output2dpng_name()

stick2xyz_pctchar output2dpng_name ( void  )

See mod_output2d_name for more information.

◆ output2dpng_quality_range()

int output2dpng_quality_range ( struct output2d_qualityinfo dest)

See mod_output2d_quality_range for more information.

◆ output2dpng_quality_valid()

uint32_t output2dpng_quality_valid ( const int  value)

See mod_output2d_quality_valid for more information.

◆ output2dpng_read()

void output2dpng_read ( const char *  filetoread)

See mod_output2d_read for more information.

◆ output2dpng_release()

int output2dpng_release ( void  )

If you called output2dpng_init or mod_output2d_init, you need to call this function to have the module clean up allocated resources. If in multithread mode, this function will block until no more threads are using output2dpng_write and output2dpng_write_w.

See mod_output2d_release for more information.

Return values
>0If the module still has more references to release.
0If the function is successful or the module was not allocated. errno is set to EAGAIN if the module was not allocated.
-1On error. errno is set to: EFAULT if the function had an internal error.

◆ output2dpng_set_tty()

void output2dpng_set_tty ( void *  fildescout,
void *  fildescerr 
)

See mod_output2d_set_tty for more information.

◆ output2dpng_sigterm()

int output2dpng_sigterm ( output2d_sigterm_ready  func,
int  modnumber 
)

See mod_output2d_sigterm for more information.

◆ output2dpng_to_png()

output2d_handle output2dpng_to_png ( pane2d_handle  pane,
pane2d_dupdata  dupdata,
pane2d_dupxy  dupxy,
int  use_rgb 
)

See mod_pane_to_output2d for more information.

◆ output2dpng_type()

int output2dpng_type ( void  )

See mod_output2d_type for more information.

◆ output2dpng_version()

void output2dpng_version ( int *  dest)

See mod_output2d_version for more information.

◆ output2dpng_write()

int output2dpng_write ( output2d_handle  handle,
const char *  filnam,
unsigned int  filnum,
int  compression 
)

See mod_output2d_write for more information.

◆ output2dpng_write_w()

int output2dpng_write_w ( output2d_handle  handle,
const wchar_t *  filnam,
unsigned int  filnum,
int  compression 
)

See mod_output2d_write_w for more information.

SourceForge.net Logo  stick2xyz Project Page