BraseroTrackImageCfg

## BraseroTrackImageCfg BraseroTrackImageCfg |

## Synopsis

                        BraseroTrackImageCfg;
    BraseroTrackImageCfg * brasero_track_image_cfg_new      (void);
    BraseroBurnResult   brasero_track_image_cfg_set_source  (BraseroTrackImageCfg *track,
                                                             const gchar *uri);
    BraseroBurnResult   brasero_track_image_cfg_force_format
                                                            (BraseroTrackImageCfg *track,
                                                             BraseroImageFormat format);
    BraseroImageFormat  brasero_track_image_cfg_get_forced_format
                                                            (BraseroTrackImageCfg *track);

## Description

## Details

### BraseroTrackImageCfg

    typedef struct {
    	BraseroTrackImage parent_instance;
    } BraseroTrackImageCfg;

### brasero_track_image_cfg_new ()

    BraseroTrackImageCfg * brasero_track_image_cfg_new      (void);

Creates a new BraseroTrackImageCfg object.

Returns : | a BraseroTrackImageCfg object.

### brasero_track_image_cfg_set_source ()

    BraseroBurnResult   brasero_track_image_cfg_set_source  (BraseroTrackImageCfg *track,
                                                             const gchar *uri);

Sets the image uri or path (absolute or relative). `track` will then identify its format and retrieve its size.

`track` : | a BraseroTrackImageCfg
`uri` : | a gchar
Returns : | a BraseroBurnResult. BRASERO_BURN_OK if it is successful.

### brasero_track_image_cfg_force_format ()

    BraseroBurnResult   brasero_track_image_cfg_force_format
                                                            (BraseroTrackImageCfg *track,
                                                             BraseroImageFormat format);

This function allows to prevents the identification of the format of the image. It does not cancel size retrieval. If `format` is BRASERO_IMAGE_FORMAT_NONE then the format of the image will be retrieved.

`track` : | a BraseroTrackImageCfg
`format` : | a BraseroImageFormat
Returns : | a BraseroBurnResult. BRASERO_BURN_OK if it is successful.

### brasero_track_image_cfg_get_forced_format ()

    BraseroImageFormat  brasero_track_image_cfg_get_forced_format
                                                            (BraseroTrackImageCfg *track);

This function returns the BraseroImageFormat that was set for the image. See `brasero_track_image_cfg_force_format()`.

`track` : | a BraseroTrackImageCfg
Returns : | a BraseroBurnResult. BRASERO_BURN_OK if it is successful.