These functions are part of PHP's core and do not require loading an extension.
string gamma_correct_tag(string color, double original, double new)
The gamma_correct_tag function adjusts an HTML color from one gamma to another. Video display hardware is given a gamma rating that describes relatively how bright images appear. Identical images appear lighter on Macintosh hardware than on the typical Wintel clone.
array getimagesize(string filename, array image_info)
The getimagesize function returns a four-element array that tells you the image size of the given filename. The contents of this array are listed. The file must be a graphic file in one of three formats: GIF, JPEG, or PNG. The optional image_info argument will be set with additional information from the file. At the time of this writing, this array is set with APP markers 0–15 from JPEG files. One of the most common is APP13, which is an International Press Telecommunications Council (IPTC) block. These blocks are used to communicate information about electronic media released to news agencies. They are stored in binary form, so to decode them you must use the iptcparse function.
Note that the image_info argument must be passed by reference, which means it must be preceded by an ampersand.
string iptcembed(string iptc, string file, integer spool)
The iptcembed function adds IPTC blocks to JPEG files. By default the blocks are added to the file, and the modified file is returned. The spool argument allows you to change this behavior. If the spool flag is 1 or 2, then the modified JPEG will be sent directly to the browser. If the spool flag is 2, the JPEG will not be returned as a string.
array iptcparse(string iptc_block)
The iptcparse function takes an IPTC block and returns an array containing all the tags in the block. See the description
PHP Related Interview Questions
|PHP Interview Questions||MySQL Interview Questions|
|PHP+MySQL Interview Questions||Drupal Interview Questions|
|MYSQL DBA Interview Questions||PHP5 Interview Questions|
|WordPress Interview Questions||Joomla Interview Questions|
|CakePHP Interview Questions||CodeIgniter Interview Questions|
|PHP7 Interview Questions|
An Introduction To Php
Variables, Operators, And Expressions
Classes And Objects
I/o And Disk Access
Time, Date, And Configuration Functions
Parsing And String Evaluation
Sorting Searching And Random Numbers
Integration With Html
Efficiency And Debugging
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.