Fe2_pngex_output_directory, Fe2_pngex_filename_prefix, Pngex_filename_suffix – Google Flix Engine Linux Reference Manual User Manual

Page 146: Fe2_pngex_filename_suffix, Fe2_pngex_height

Advertising
background image

140

Flix Engine Linux Module Documentation

sc = Flix2_AddFilter(&png_exporter_plgn, flix, FE2_FILTER_PNGEX);

if (sc == ON2_OK)

// produce PNG images from the source video

// at times of 5 seconds, 10 seconds, and 15 seconds

sc = Flix2_FilterSetParamAsStr(png_exporter_plgn,

FE2_PNGEX_EXPORT_TIME_STRING, "5000,10000,15000");

Definition at line 209 of file png_export.h.

5.32.2.12

#define FE2_PNGEX_FILENAME_PREFIX

Filter parameter for setting PNG image file name prefix.

If a prefix is specified, PNG image files will be named in the format FE2_PNGEX_FILENAME_-
PREFIX

png_number.png. If a prefix is not specified, the file name passed to

Flix2_SetOutputFile()

will be

used. If no prefix is desired, the prefix MUST be set to an empty string.

sc = Flix2_AddFilter(&png_exporter_plgn, flix, FE2_FILTER_PNGEX);

if (sc == ON2_OK)

// use prefix for PNG output file names

sc = Flix2_FilterSetParamAsStr(png_exporter_plgn,

FE2_PNGEX_FILENAME_PREFIX, "pngprefix");

Definition at line 136 of file png_export.h.

5.32.2.13

#define FE2_PNGEX_FILENAME_SUFFIX

Filter parameter for setting PNG image file name suffix.

If a suffix is specified, PNG image files will be named in the format png_numberFE2_PNGEX_-
FILENAME_SUFFIX

.png.

sc = Flix2_AddFilter(&png_exporter_plgn, flix, FE2_FILTER_PNGEX);

if (sc == ON2_OK)

// use suffix for PNG output file names

sc = Flix2_FilterSetParamAsStr(png_exporter_plgn,

FE2_PNGEX_FILENAME_SUFFIX, "pngsuffix");

Note:

Default: empty

Definition at line 154 of file png_export.h.

5.32.2.14

#define FE2_PNGEX_HEIGHT

Filter parameter for setting PNG image height.

Note:

Default: input height
From 8.0.16.0, use of the

reserved values

defined for

FE2_SCALE_HEIGHT

is valid

Definition at line 388 of file png_export.h.

Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen

Advertising