]> granicus.if.org Git - php/commit
-Added TIFF support
authorMarcus Boerger <helly@php.net>
Mon, 4 Mar 2002 06:21:58 +0000 (06:21 +0000)
committerMarcus Boerger <helly@php.net>
Mon, 4 Mar 2002 06:21:58 +0000 (06:21 +0000)
commit642ab24df120b94d36db50f7005a9991d7bf128d
tree7830fe818f59f3390251cc856e4a770bf25487e0
parent03baef7a3d98379dcfba8224768d2b6381739741
-Added TIFF support
-Changed parameters after checking bugdatabase and discussion with
    Rasmus: 1st=Filename, 2nd=NeededSections
# 3rd=Thumbnail, 4th=All
#   3rd and 4th parameter are currently diabled because the code
#   does not work correctly (will correct this in later versions).
#   Changing the parameters will not cause any problems because the
#   old parameter functions never found their way in documentation
#   and the they did not work...
@-Added TIFF support
@-Changed parameters after checking bugdatabase and discussion with Rasmus
@    1st=Filename, 2nd=NeededSections
@    If the 2nd parameter is not present or 0 or '' the function will return
@        a result array even if no data was read from file.
#        Personally i consider a default behaviour to generate no array if
#        no data is present as a bad idea because here we can generate as
#        much information as possible....
@    If the 2nd parameter is a string then that string describes which
@        sections have to be present in the file to generate a result array.
@        If none of the needed section is found the result will be false.
@        Section strings are "ANY_TAG","IFD0","COMMENT","EXIF","GPS","INTEROP"
@        "FPIX","APP12". Each string has to be separated by a colon. So
@        "COMMENT,EXIF" returns an array if either a comment or an Exif
@        section is present. "IFD0" is standard datastructure in a TIFF/JPEG
@        file that contains image information. "EXIF" is the Exif structure
@        of TIFF/JPEG (IFD0 subdirectory). "GPS", "INTEROP", "FPIX", "APP12"
@        are additional IFD0 subdirectories. The APP12 support is an
@  experimental Olympus support.
#        Do not worry this is no problem, it is safe.
@(Marcus)
ext/exif/exif.c