Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
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 inverted).

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				   August 2026	     switch_default_imageproc(3)

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+15.1.quarterly>

home | help