Note: Only the most commonly used modifications are possible with these routines. It is always possible to directly modify the header in the cases that more that just the provided modifications are required.
Functions | |
pT_status | p_mod_num_frames (pT_header *header, int num_frames) |
pT_status | p_mod_color_format (pT_header *header, pT_color color_format) |
pT_status | p_mod_aspect_ratio (pT_header *header, pT_asp_rat ratio) |
pT_status | p_mod_to_progressive (pT_header *header) |
pT_status | p_mod_to_interlaced (pT_header *header) |
pT_status | p_mod_to_dbl_image_rate (pT_header *header) |
pT_status | p_mod_to_onehalf_image_rate (pT_header *header) |
pT_status | p_mod_image_size (pT_header *header, int width, int height) |
pT_status | p_mod_defined_image_size (pT_header *header, pT_size image_size, int pixels_per_line) |
pT_status | p_mod_all_freqs (pT_header *header, double image_freq, double line_freq, double pixel_freq) |
pT_status | p_mod_defined_image_freq (pT_header *header, pT_freq image_freq) |
pT_status | p_mod_file_data_format (pT_header *header, pT_data_fmt file_data_fmt) |
pT_status | p_mod_file_description (pT_header *header, char *description) |
|
Change number of frames to num_frames. |
|
Change color format to color_format. |
|
Change aspect ratio to ratio. |
|
p_mod_to_progressive : Change header to progressive format. |
|
Change header to interlaced format. |
|
Double the image rate (e.g. from 50 to 100 Hz).
|
|
Image rate times 1.5 (e.g. from 50 to 75 Hz).
|
|
Change image size to width and height. |
|
Change image size to defined image_size.
|
|
Change image-, line-, and pixel frequencies. This is useful for "unknown" frequencies or sizes that cannot be handled by p_mod_defined_image_freq and p_mod_defined_image_size. |
|
Change image size to defined image_freq.
|
|
Change the data format of the image. |
|
Change the file description. |