iptcembed

PHP 4, PHP 5, PHP 7, PHP 8
iptcembed - Embeds binary IPTC data into a JPEG image
Manual
Code Examples

iptcembed( string$iptc_data, string$filename, [int$spool = 0] ): string|bool

Embeds binary IPTC data into a JPEG image.

Parameters

iptc_data

The data to be written.

filename

Path to the JPEG image.

spool

Spool flag. If the spool flag is less than 2 then the JPEG will be returned as a string. Otherwise the JPEG will be printed to STDOUT.

Return Values

If spool is less than 2, the JPEG will be returned, or false on failure. Otherwise returns true on success or false on failure.

Notes

Note:

This function does not require the GD image library.

Example of iptcembed

Show all examples for iptcembed

PHP Version:


Function iptcembed:

Image Processing and GD Functions

Most used PHP functions