This translation is older than the original page and might be outdated. See what has changed.
Translations of this page:
 

This is an old revision of the document!


imagepng_embed()

void imagepng_embed(resource image)

PHP has a range of image functions available to create or edit graphics dynamically. Custom diagrams can be created in this way. The problem when using images is that they must be saved in a separate file before they can be displayed in the questionnaire – afterwards, care must be taken to delete these temporary files.

The function imagepng_embed() solves this problem by using a Data URL. In doing so, an image file is not referenced in the typical HTML way, but rather integrated directly into the HTML code of the page. The function places the image in the exact place it is called up by using an <img> tag .

en/create/functions/imagepng_embed.1417534686.txt.gz · Last modified: 02.12.2014 16:38 by alexander.ritter
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki