开发者

PHP: exif_imagetype explanation

开发者 https://www.devze.com 2023-02-25 03:11 出处:网络
http://lv.php.net/manual/en/function.exif-imagetype.php Can anyone give some more information about the rest extension types.

http://lv.php.net/manual/en/function.exif-imagetype.php

Can anyone give some more information about the rest extension types.

About these:

IMAGETYPE_TIFF_II (intel byte order)
IMAGETYPE_TIFF_MM (motorola byte order)
IMAGETYPE_JPC
IMAGETYPE_JP2
IMAGETYPE_JPX
IMAGETYPE_JB2
IMAGETYPE_IFF
IMAGETYPE_WBMP
IMAGETYPE_XBM

From where do they all go?

It would be very good to know some numbers about % usage from overall uploaded images on some websi开发者_开发问答te if anyone knows as well.

Because currently i'm only using 1,2,3,6 exif numbers inside my uploader script. I can't figure out now if someone was trying to upload different extension. :S

Thanks ;)


TIFF is somewhat obsolete, but is a lossless compressed format that was hobbled with not having a standard byte order, so there's Intel (little-endian) tiffs, and Motorola tiffs (big-endian).
JB2 images are 1bit bitmaps used by fax machines.
IFF comes from Amigas
WBMP are Windows bitmaps (the stereotypical .bmp file)
XBM are X-windows monochrome bitmaps
JPC/JP2/JPX are JPEG-2000 images

0

精彩评论

暂无评论...
验证码 换一张
取 消