Function __global->copy_exif_data
Definitions
sources/images_cleanup_pipeline.php
- Copy EXIF data from one file to another.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $src_path | PATH | No | No | required parameter | N/A | N/A | File to copy from |
| $dest_path | PATH | No | No | required parameter | N/A | N/A | File to copy to (must exist!) |
| $reorientated | boolean | No | No | False | N/A | N/A | Whether we did a reorientation and thus need to throw out the reorientation header |
Returns
- Success status
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Copy EXIF data from one file to another.
*
* @param PATH $src_path File to copy from
* @param PATH $dest_path File to copy to (must exist!)
* @param boolean $reorientated Whether we did a reorientation and thus need to throw out the reorientation header
* @return boolean Success status
*/
function copy_exif_data(string $src_path, string $dest_path, bool $reorientated = false) : bool
* Copy EXIF data from one file to another.
*
* @param PATH $src_path File to copy from
* @param PATH $dest_path File to copy to (must exist!)
* @param boolean $reorientated Whether we did a reorientation and thus need to throw out the reorientation header
* @return boolean Success status
*/
function copy_exif_data(string $src_path, string $dest_path, bool $reorientated = false) : bool

