Images - Notes

Images

PHP

http://php.net/manual/en/function.getimagesize.php

1 = GIF, 2 = JPG, 3 = PNG, 4 = SWF, 5 = PSD, 6 = BMP, 7 = TIFF(orden de bytes intel), 8 = TIFF(orden de bytes motorola), 9 = JPC, 10 = JP2, 11 = JPX, 12 = JB2, 13 = SWC, 14 = IFF, 15 = WBMP, 16 = XBM.

Array
(
[0] => 1004
[1] => 450
[2] => 1
[3] => width="1004" height="450"
[bits] => 8
[channels] => 3
[mime] => image/gif
)

Channel

WIki

http://en.wikipedia.org/wiki/Channel_(digital_image)

An RGB image has three channels: red, green, and blue. RGB channels roughly follow the color receptors in the human eye, and are used in computer displays and image scanners.

 

 

Images