summaryrefslogtreecommitdiff
path: root/ext/exif/exif.c
Commit message (Collapse)AuthorAgeFilesLines
...
* -fix possible problem on low memoryMarcus Boerger2002-03-291-2/+3
| | | | | -fix problem on failure
* pproto fixHartmut Holzgraefe2002-03-251-1/+1
|
* -removed old streams test codeMarcus Boerger2002-03-211-25/+0
|
* -fixed memory handlingMarcus Boerger2002-03-211-45/+56
|
* #wsMarcus Boerger2002-03-211-59/+59
|
* Streams are all tracked as resources now.Wez Furlong2002-03-201-4/+1
| | | | | | Add some logic that will help track down leaks when debug is enabled.
* TSRMLS related work on streams, as discussed with Zeev.Wez Furlong2002-03-181-1/+1
| | | | | | # Should be the last "broad" commit for a while # Don't forget to make clean ; make
* -streams are no longer an optionMarcus Boerger2002-03-181-60/+53
|
* -use php_stream_make_seekableMarcus Boerger2002-03-181-15/+21
|
* Streams now make more use of the memory manager, so tracking downWez Furlong2002-03-171-2/+2
| | | | | | leaking streams should be easier. # I hate these big commits
* #removed code to track down error in streamsMarcus Boerger2002-03-171-12/+5
|
* -quick hack to bug in streams....but where?Marcus Boerger2002-03-161-3/+4
|
* -disabling debugMarcus Boerger2002-03-161-12/+12
| | | | | #Wez: i have an error when closing the original file after stream copy...
* -fix bug for not correct terminated commentsMarcus Boerger2002-03-161-32/+72
| | | | | | -switch to streams @exif functions now support streams using memory streams where @necessary (marcus)
* New PHP streams...Wez Furlong2002-03-151-19/+7
|
* -handlingMarcus Boerger2002-03-131-4/+4
|
* -usabilityMarcus Boerger2002-03-121-50/+115
| | | | | -tests
* -return size of thumbnail even if it not readMarcus Boerger2002-03-121-2/+4
|
* -support for array tagsMarcus Boerger2002-03-121-405/+1056
| | | | | | | | | | -better memory handling -support for thumbnails in TIFF format -new functions exif_imagetype @-new function exif_imagetype @-exif_thumbnail fupports thumbnails in TIFF format and can return size @ of thumbnail
* -support for out of section dataMarcus Boerger2002-03-081-84/+137
|
* -change IsColor from non zero to 1Marcus Boerger2002-03-081-1/+1
| | | | | -new test and example for documentation
* -Support for IFD ArraysMarcus Boerger2002-03-081-189/+416
| | | | | #necessary for update/write operations
* TIFF support for 'non' digicam filesMarcus Boerger2002-03-081-11/+21
| | | | | # same as in standard/image.c but here it's more complex
* - Fixed some compile warnings and removed bogus comments.foobar2002-03-071-10/+10
|
* -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)