1. 20 Oct, 2020 1 commit
  2. 19 Oct, 2020 1 commit
  3. 16 Oct, 2020 2 commits
    • Even Rouault's avatar
      tiff.h: remove irrelevant warning about webp related pseudo-tags not being... · 3550db1a
      Even Rouault authored
      tiff.h: remove irrelevant warning about webp related pseudo-tags not being registered: they are purely internal libtiff concepts
      3550db1a
    • Even Rouault's avatar
      Add support for optional building against libdeflate for faster Zip/Deflate... · 3a2de853
      Even Rouault authored
      Add support for optional building against libdeflate for faster Zip/Deflate compression/decompression.
      
      So we can have 2 kind of builds with the Zip/Deflate codec:
      - zlib only
      - zlib + libdeflate
      
      Speed improvements in the 35%-50% range can be expected when libdeflate is used.
      Compression level up to 12 is now supported (capped to 9 when zlib is used).
      Still requires zlib for situations where libdeflate cannot be used (that
      is for scanline access, since libdeflate has no streaming mode)
      
      Pseudo-tag TIFFTAG_DEFLATE_SUBCODEC=DEFLATE_SUBCODEC_ZLIB/DEFLATE_SUBCODEC_LIBDEFLATE
      is added to control which subcodec (zlib or libdeflate) should be used (it defaults
      of course to libdeflate, when it is available).
      This is mostly aimed at being used on the writing side, to be able to reproduce
      output of previous libtiff versions at a binary level, in situations where this would
      be really needed. Or as a safety belt in case there would be unforeseen issues
      with using libdeflate.
      It can be used to know when libdeflate is available at runtime (DEFLATE_SUBCODEC_LIBDEFLATE
      will be the default value in that situation).
      
      Of course, deflate codestreams produced by libdeflate can be read by zlib, and vice-versa.
      3a2de853
  4. 14 Oct, 2020 1 commit
  5. 12 Oct, 2020 1 commit
  6. 08 Oct, 2020 1 commit
  7. 03 Oct, 2020 1 commit
  8. 26 Sep, 2020 1 commit
  9. 22 Sep, 2020 1 commit
  10. 11 Sep, 2020 1 commit
  11. 07 Sep, 2020 1 commit
  12. 31 May, 2020 1 commit
  13. 12 May, 2020 1 commit
  14. 09 May, 2020 1 commit
  15. 27 Apr, 2020 2 commits
  16. 26 Apr, 2020 1 commit
  17. 24 Apr, 2020 1 commit
  18. 15 Apr, 2020 1 commit
  19. 02 Apr, 2020 1 commit
  20. 26 Mar, 2020 1 commit
  21. 23 Mar, 2020 1 commit
  22. 13 Mar, 2020 2 commits
  23. 12 Mar, 2020 2 commits
  24. 11 Mar, 2020 2 commits
  25. 10 Mar, 2020 1 commit
  26. 08 Mar, 2020 2 commits
  27. 07 Mar, 2020 3 commits
    • Adam Goode's avatar
      Make the default whitepoint and ycbcrcoeffs arrays const · d6827861
      Adam Goode authored
      Now that we are returning const pointers in TIFFGetFieldDefaulted,
      we can now make these static default arrays const.
      
      see #11
      d6827861
    • Adam Goode's avatar
      Make pointers returned via TIFFGetField const · 63c66634
      Adam Goode authored
      According to http://bugzilla.maptools.org/show_bug.cgi?id=2125#c6
      callers are not allowed to modify pointer or array values returned from
      TIFFGetField or the like. So, make this explicit in the documentation
      by specifying these things as const. Note that this is not an ABI
      change, since C does not encode const in libraries. Also, this is
      not really an API change, since the varargs call strips away all
      the types anyway. So it really is more of a documentation change.
      
      fixes #11
      63c66634
    • Su Laus's avatar
      EXIF 2.32 and GPS tags and functionality upgraded. · a8193c43
      Su Laus authored
      - Existing EXIF field definition of tags is upgraded to EXIF version 2.3.2
      - EXIF-GPS structure, tags and access functions are added as special CustomDirectory (like it was done for EXIF).
      - Test program custom_dir_EXIF_231.c added to test writing/reading of EXID IFD and GPS IFD tags
        and to highlight some quirks of IFD-handling and peculiarities of reading/writing the different data types.
      - Reading error for FileSource and SceneType tags corrected.
      
      - EXIF_GPS_upgrade rebased onto c8c5309b (Merge branch 'Rational2DoublePrecision_correction' into 'master')
      and adapted:
      - tif_dirinfo.c:         All rational tags set to TIFF_SETGET_FLOAT but only the GPSTAG_ tags set to TIFF_SETGET_DOUBLE.
      - custom_dir_EXIF_231.c: Editorials amended and gcc warnigs fixed.
      - CMakeLists.txt: add_test(NAME "custom_dir_EXIF_231"  COMMAND "custom_dir_EXIF_231")  added.
      a8193c43
  28. 05 Mar, 2020 1 commit
  29. 01 Mar, 2020 1 commit
  30. 29 Feb, 2020 3 commits