FreeBSD Manual Pages
switch_default_imageproc(3) Arcan Lua API switch_default_imageproc(3) NAME switch_default_imageproc - Set the default image post-processing mode. SYNOPSIS nil switch_default_imageproc( procmode ) DESCRIPTION accepted values are IMAGEPROC_NORMAL where loaded image will be stored without any additional postprocessing, and IMAGEPROC_FLIPH where the image will be flipped over the x-axis (so y- row order will be in- verted). EXAMPLE function switch_default_imageproc0() switch_default_imageproc(IMAGEPROC_FLIPH); a = load_image("test.png"); switch_default_imageproc(IMAGEPROC_NORMAL); b = load_image("test.png"); show_image({a,b}); local props = image_surface_properties(b); move_image(b, b.width, b.height); end MISUSE function switch_default_imageproc0() switch_default_imageproc("test1"); end MISUSE function switch_default_imageproc1() switch_default_imageproc(200); end vidsys April 2025 switch_default_imageproc(3)
NAME | SYNOPSIS | DESCRIPTION | EXAMPLE | MISUSE | MISUSE
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=switch_default_imageproc&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>