summaryrefslogtreecommitdiff
path: root/ext/exif/exif.c
Commit message (Collapse)AuthorAgeFilesLines
* - Reverse patchDerick Rethans2002-04-101-22/+11
|
* -found userland solution to fix UNICODE comments (see tests/003.phpt)Marcus Boerger2002-04-071-11/+22
| | | | | | #solution from HEAD would mean new functionality #so this fix makes it work without adding new functionality
* removed calls to wctomb, wcstombsMarcus Boerger2002-04-041-23/+3
| | | | | #leave UNICODE to user
* - Fix build (Patch by Marcus Boerger)Derick Rethans2002-04-031-0/+5
|
* -memory leaksMarcus Boerger2002-03-301-5/+7
|
* -fix bug with not correctly terminated commentsMarcus Boerger2002-03-161-2/+2
|
* -fixes: memory handling & corrupted filesMarcus Boerger2002-03-111-57/+166
| | | | | | | #don't worry i spend the whole day merging code #and differenciating what was new functionality and what are #necessary fixes.
* -commentsMarcus Boerger2002-03-061-3/+6
| | | | | #just another jhead.c line
* -commentsMarcus Boerger2002-03-061-2/+7
|
* -missing efreeMarcus Boerger2002-03-061-12/+17
| | | | | | -incorrect index/length computing: left from jhead #no errors left with test files - controlled manually with hexeditor
* -new working thumbnail codeMarcus Boerger2002-03-061-653/+620
| | | | | | | | | | | | -everything uses new data structures -new function exif_thumbnail #nearly stripped off all jhead code @read_exif_data is now an alias for exif_read_data @ important to differenciate old/new version for tests) @new function exif_tagname returns the names of tags @new function exif_thumbnail extracts embedded thumbnail (Marcus) #switched to internal version 1.2
* -fixesMarcus Boerger2002-03-051-735/+907
| | | | | | -changed internal data structures #nearly stripped off all jhead code
* - Read IsColor for TIFFMarcus Boerger2002-03-041-155/+191
|
* - disabled debug informationMarcus Boerger2002-03-041-42/+75
| | | | | - added missing width/height from primary ifd for TIFF
* -addition to last change: php_image.h must be included nowMarcus Boerger2002-03-041-3/+3
|
* Let getimagesize() and read_exif_data() share the same constants toRasmus Lerdorf2002-03-041-16/+0
| | | | | promote a little bit of code reuse here on two very similar problems.
* -Added TIFF supportMarcus Boerger2002-03-041-668/+1214
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -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)
* Wrong brackets by rasmus...but sorry the fault was mine because i missed them...Marcus Boerger2002-03-021-2/+2
| | | | | | | i also decided to call the first working version 1.0a by the way: currently i am working on tiff files and it looks like it may work
* Fix a couple of warningsRasmus Lerdorf2002-03-021-2/+2
|
* +Support for Photographer/Editor Copyright as associative array as this is a ↵Marcus Boerger2002-03-011-59/+165
| | | | | | | | | | | | new feature the change (optionally being an array) has to be mentioned in documentation. +New function exif_headername can be used to read the internal Tag namelist (was mainly created for debugging purpose but maybe somone writes code to create/update exif headers here). +An internal version number is present. +A testpage is supplied test.txt describes how the test works. +The oldfunction read_exif_data has got an alias exif_read_data As the old version of this module is very buggy i decided to implement the testpage (test.txt) and to create the alias. The test script only works with the alias as the old version does not pass tests. By the way it seems a good way to prepend 'exif_' to all functions in the module.
* Changed file to match CODING_STANDARDS except function names that match ↵Marcus Boerger2002-02-281-922/+917
| | | | jhead.c project. I think it is acceptable using naming conventions of other projects when borrowing code.
* Fix headers.Sebastian Bergmann2002-02-281-2/+2
|
* +Added UNICODE support for CommentsMarcus Boerger2002-02-281-325/+446
| | | | | | | | | | | | +Added Description,Artist +Added missing memory deallocation +Corrected error with multiple comments +Corrected handling of ExifVersion, Tag has 4 ASCII characters *WITHOUT* NUL +Corrected handling of Thumbnailsize if current source detects size < 0 +Changed all fields to char* that do not have a maximum length in EXIF standard +Undocumented second Parameter ReadAll frees memory to early -> moved to third position default changed to false -> faster +New second Parameter [true|false] to specify whether or not to to read thumbnails -> reading is timeconsumpting suppose default should be false -> done so
* Update headers.Sebastian Bergmann2001-12-111-2/+2
|
* * zend_module_entry change: apino, debug and zts are moved first,Stig Bakken2001-10-111-0/+2
| | | | | | see README.EXTENSIONS file for upgrade help. @Introduced extension version numbers (Stig)
* Back-substitute for Z_* macro's. If it breaks some extension (the script ↵Jeroen van Wolffelaar2001-09-251-1/+1
| | | | isn't optimal, it parses for example var->zval.value incorrect) please let me know.
* - Don't wrap lines... this is annoying while coding.Derick Rethans2001-09-091-2/+2
|
* Killed a compile warning.foobar2001-08-221-1/+2
|
* Missing defineRasmus Lerdorf2001-08-161-0/+1
|
* Commit a bit of random plane hacking.Rasmus Lerdorf2001-08-161-0/+8
| | | | | | - A slight exif fix from the latest version of jhead - Make ext_skel's confirm_module_compiled function consistent
* WhitespaceZeev Suraski2001-08-111-95/+95
|
* Adding missing TSRM macros.Frank M. Kromann2001-08-061-5/+5
| | | | | Kill signed/unsigned compiler warning
* support for multiple exif commentsRasmus Lerdorf2001-08-041-14/+41
| | | | | @ - Enhance read_exif_data() to support multiple comment tags (Rasmus)
* Fix newly introduced crash on a file-not-foundRasmus Lerdorf2001-08-041-1/+1
|
* fixed a memleak.foobar2001-08-041-1/+2
|
* Fixed bug: #11784 (combined with fixes Rasmus committed..)foobar2001-08-041-5/+1
|
* Change from E_ERROR to E_WARNING in the exif extensionRasmus Lerdorf2001-08-031-20/+38
| | | | | @ Change from E_ERROR to E_WARNING in the exif extension (Rasmus)
* More TSRMLS_FETCH work, and a bit of cleanupZeev Suraski2001-07-301-1/+2
|
* Added an optional 2nd parameter 'readall' to read_exif_data.foobar2001-06-261-7/+14
|
* fix build.foobar2001-06-231-1/+1
|
* Fix folding and clean up some extensionsRasmus Lerdorf2001-06-061-0/+2
|
* vim-6 does folding - clean up a bunch of missing folding tags plusRasmus Lerdorf2001-06-051-21/+59
| | | | | some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
* * include "config.h" if HAVE_CONFIG_H is defined (for standalone dso build)Stig Bakken2001-05-241-0/+4
|
* - Change strncpy()'s to strlcpy()'sAndi Gutmans2001-05-021-13/+13
|
* - Change macros from V_ to VCWD_ because of AIX name clashAndi Gutmans2001-04-301-2/+2
|
* use V_STATDaniel Beulshausen2001-04-031-7/+2
|
* resolve realpath if in v-dir modeDaniel Beulshausen2001-04-031-2/+9
|
* - Fix copyright notices with 2001Andi Gutmans2001-02-261-1/+1
|
* Kill a couple of warningsRasmus Lerdorf2001-01-171-1/+0
|
* Attempt by Matt Bonneau to get thumbnail extraction workingRasmus Lerdorf2000-12-151-5/+59
| | | | | (no need to bring this into the 4.0.4 branch)