forked from vadz/libtiff
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathChangeLog
11094 lines (7087 loc) · 383 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2020-12-19 Bob Friesenhahn <[email protected]>
* libtiff 4.2.0 released.
* configure.ac: Pass tar-ustar option to AM_INIT_AUTOMAKE rather
than tar-pax since ustar POSIX 1003.1-1988 format is more portable
than PAX POSIX 1003.1-2001 format.
2020-12-12 Even Rouault <[email protected]>
Merge branch 'w_adjust-deflate_names' into 'master'
Set 'deflate' to DEFLATE_NAMES, instead of 'libdeflate'
See merge request libtiff/libtiff!174
2020-12-12 Lemures Lemniscati <[email protected]>
Set 'deflate' to DEFLATE_NAMES, instead of 'libdeflate'
'lib' will be automatically added as a prefix while doing find_library()
2020-12-12 Even Rouault <[email protected]>
DoubleToRational(): avoid casting NaN to uint32 (fixes #227)
2020-12-12 Even Rouault <[email protected]>
Merge branch 'fix_221' into 'master'
tiffio.h: do not define __attribute__ but defines TIFF_ATTRIBUTE instead (fixes #221)
Closes #221
See merge request libtiff/libtiff!173
2020-12-12 Even Rouault <[email protected]>
tiffio.h: do not define __attribute__ but defines TIFF_ATTRIBUTE instead (fixes #221)
2020-12-08 Even Rouault <[email protected]>
TIFFReadDirEntryArrayWithLimit(): properly read from offline tag value when we clamp the number of strips to 1.
Fixes regression of commit 7057734d986001b7fd6d2afde9667da7754ff2cc on reading
a file with StripByteCounts with 1 element (broken) and StripOffsets with
896 elements, and where StripOffsets[0] is correct
$ tiffdump foo.tif
Magic: 0x4949 <little-endian> Version: 0x2a <ClassicTIFF>
Directory 0: offset 25725448 (0x1888a08) next 0 (0)
SubFileType (254) LONG (4) 1<0>
ImageWidth (256) LONG (4) 1<640>
ImageLength (257) LONG (4) 1<20098>
BitsPerSample (258) SHORT (3) 1<16>
Photometric (262) SHORT (3) 1<1>
SamplesPerPixel (277) SHORT (3) 1<1>
ResolutionUnit (296) SHORT (3) 1<2>
StripByteCounts (279) LONG (4) 1<1806>
StripOffsets (273) LONG (4) 896<8 648 1288 1928 2568 3208 3848 4488 5128 5768 6408 7048 7688 8328 8968 9608 10248 10888 11528 12168 12808 13448 14088 14728 ...>
2020-12-02 Even Rouault <[email protected]>
tif_jpeg.c: avoid potential harmless unsigned integer overflow on data->fileoffset in JPEGFixupTagsSubsamplingSkip() by validating earlier. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28200
2020-11-27 Even Rouault <[email protected]>
Merge branch 'Jamaika1-master-patch-47839' into 'master'
Change ULARGE_INTEGER to LARGE_INTEGER
See merge request libtiff/libtiff!170
2020-11-27 Even Rouault <[email protected]>
Merge branch 'Jamaika1-master-patch-46397' into 'master'
Added stdint.h
See merge request libtiff/libtiff!171
2020-11-27 Jamaika <[email protected]>
Added stdint.h.
``` tif_win32.c: In function '_tiffSizeProc': tif_win32.c:159:23: warning: passing argument 2 of 'GetFileSizeEx' from incompatible pointer type [-Wincompatible-pointer-types] 159 | if (GetFileSizeEx(fd,&m)) | ^~ | | | ULARGE_INTEGER * In file included from c:\msys1021\x86_64-w64-mingw32\include\winbase.h:18, from c:\msys1021\x86_64-w64-mingw32\include\windows.h:70, from tif_win32.c:32: c:\msys1021\x86_64-w64-mingw32\include\fileapi.h:78:73: note: expected 'PLARGE_INTEGER' {aka 'LARGE_INTEGER *'} but argument is of type 'ULARGE_INTEGER *' 78 | WINBASEAPI WINBOOL WINAPI GetFileSizeEx (HANDLE hFile, PLARGE_INTEGER lpFileSize); | ~~~~~~~~~~~~~~~^~~~~~~~~~ ```
2020-11-21 Even Rouault <[email protected]>
Merge branch 'issue-113' into 'master'
tiffcrop: fix buffer overrun in extractContigSamples24bits()
Closes #113
See merge request libtiff/libtiff!169
2020-11-21 Even Rouault <[email protected]>
Merge branch 'issue-156' into 'master'
tiff2pdf: Check output size before writing
Closes #156
See merge request libtiff/libtiff!168
2020-11-21 Even Rouault <[email protected]>
Merge branch 'issue-201' into 'master'
tiff2pdf: enforce memory limit for tiled pictures too
Closes #201
See merge request libtiff/libtiff!167
2020-11-20 Even Rouault <[email protected]>
Merge branch 'issue-207' into 'master'
enforce (configurable) memory limit in tiff2rgba
Closes #209 et #207
See merge request libtiff/libtiff!165
2020-11-20 Even Rouault <[email protected]>
tif_lzw.c: avoid false positive -Wnull-dereference of mingw32 gcc 7.3.
2020-11-17 Thomas Bernard <[email protected]>
tiffcrop: fix buffer overrun in extractContigSamples24bits()
fixes #113
tiff2pdf: Check output size before writing.
fixes #156
tiff2pdf: enforce memory limit for tiled pictures too.
fixes #201
2020-11-15 Thomas Bernard <[email protected]>
tiff2rgba.1: -M option.
enforce (configurable) memory limit in tiff2rgba.
fixes #207
fixes #209
2020-11-14 Even Rouault <[email protected]>
Merge branch 'issue-220' into 'master'
tiff2pdf.c: properly calculate datasize when saving to JPEG YCbCr
Closes #220
See merge request libtiff/libtiff!159
2020-11-14 Thomas Bernard <[email protected]>
tiff2pdf.c: properly calculate datasize when saving to JPEG YCbCr.
fixes #220
2020-11-14 Even Rouault <[email protected]>
Merge branch 'issue-204' into 'master'
avoid buffer overflow while writing jpeg end of file marker
Closes #204
See merge request libtiff/libtiff!161
2020-11-14 Even Rouault <[email protected]>
Merge branch 'issue-193' into 'master'
fix buffer overflow in tiff2ps.c
Closes #193
See merge request libtiff/libtiff!162
2020-11-14 Even Rouault <[email protected]>
Merge branch 'skal65535-master-patch-91082' into 'master'
More overflow fixes for large widths
See merge request libtiff/libtiff!164
2020-11-14 skal <[email protected]>
More overflow fixes for large width.
Also: use INT_MAX instead of hard-coded constants.
2020-11-12 Even Rouault <[email protected]>
Merge branch 'skal65535-master-patch-56655' into 'master'
Fix potential overflow in gtStripContig()
See merge request libtiff/libtiff!163
2020-11-12 Even Rouault <[email protected]>
Merge branch 'issue-211' into 'master'
check for tile width overflow
Closes #211
See merge request libtiff/libtiff!160
2020-11-12 skal <[email protected]>
Fix potential overflow in gtStripContig()
(w + w) might not fit in int32 if too large.
2020-11-09 Thomas Bernard <[email protected]>
tiff2ps.c: fix buffer overread.
fixes #193
fix undefined behaviour (int shifted too much to the left)
avoid buffer overflow while writing jpeg end of file marker.
fixes #204
gtTileContig(): check Tile width for overflow.
fixes #211
fix warning messages (v32 is unsigned)
2020-10-26 Even Rouault <[email protected]>
TIFFStartStrip(): avoid potential crash in WebP codec when using scanline access on corrupted files. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=26650
2020-10-20 Even Rouault <[email protected]>
tif_webp.c: validate tile/strip dimension to avoid unsigned integer overflow in RGBA.size computation
2020-10-19 Even Rouault <[email protected]>
tif_zip.c: fix typo in comment.
2020-10-16 Even Rouault <[email protected]>
tiff.h: remove irrelevant warning about webp related pseudo-tags not being registered: they are purely internal libtiff concepts
2020-10-16 Even Rouault <[email protected]>
Merge branch 'libdeflate' into 'master'
Add support for building against libdeflate for faster Zip/Deflate compression/decompression
See merge request libtiff/libtiff!158
2020-10-16 Even Rouault <[email protected]>
test: add testdeflatelaststripextradata.sh.
2020-10-16 Even Rouault <[email protected]>
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.
2020-10-14 Even Rouault <[email protected]>
tif_webp.c: fix compiler warnings with MSVC.
2020-10-12 Even Rouault <[email protected]>
Merge branch 'various_fixes' into 'master'
Fix compiler warnings about unused variables when assert() expands to nothing
See merge request libtiff/libtiff!157
2020-10-12 Even Rouault <[email protected]>
.gitignore: add entries for new files in test/
Fix compiler warnings about unused variables when assert() expands to nothing
2020-10-09 Roger Leigh <[email protected]>
Merge branch '215-cygwin-appveyor-fail' into 'master'
Update Appveyor CI build to build with VS2019 image
Closes #215
See merge request libtiff/libtiff!154
2020-10-09 Roger Leigh <[email protected]>
wip.
wip.
wip.
wip.
wip.
wip.
2020-10-09 Roger Leigh <[email protected]>
Merge branch 'TIFF-217_m_lib_path' into 'master'
cmake: Do not use absolute libm path
Closes #217
See merge request libtiff/libtiff!156
2020-10-09 Roger Leigh <[email protected]>
cmake: Do not use absolute libm path.
2020-10-08 Even Rouault <[email protected]>
tif_fax3.h: restore systematic calls to CLEANUP_RUNS()
now that SETVALUE() no longer cause overflows.
Those were removed per b351db8be1b4d3f712bdb9424a79d3174cc03202 and
3440ac216463fcad170bbb391491e69730a59ffa.
As SETVALUE() now returns an error, this allow the decoder to exit.
Otherwise, the assert(x == lastx) in _TIFFFax3fillruns() can trigger.
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=26201
2020-10-06 Even Rouault <[email protected]>
Merge branch 'check_TIFFFlushData1' into 'master'
FAX/JPEG/LZMA/PixarLog/ZIP/ZSTD codecs: make sure to check TIFFFlushData1() return value
See merge request libtiff/libtiff!155
2020-10-04 Even Rouault <[email protected]>
Merge branch 'shared-memory' into 'master'
Set the --shared-memory linker flag for Emscripten builds
See merge request libtiff/libtiff!153
2020-10-03 Even Rouault <[email protected]>
tiff2rgba.c: fix -Wold-style-declaration warning.
FAX/JPEG/LZMA/PixarLog/ZIP/ZSTD codecs: make sure to check TIFFFlushData1() return value
2020-09-26 Even Rouault <[email protected]>
tif_fax3.h: extra buffer overflow checks. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=25934
2020-09-25 Roger Leigh <[email protected]>
wip.
wip.
wip.
wip.
wip.
wip.
Update AppVeyor image.
test-appveyor.
2020-09-24 Attila Oláh <[email protected]>
Also pass --shared-memory to raw_decode.
This is needed when building for Emscripten with *both* WEBP and JPEG
support.
Set the --shared-memory linker flag for Emscripten builds.
This is only needed when building with WEBP support, which uses atomics,
therefore the linker needs the --shared-memory flag. The flag cannot be
added globally because not all executables link against libwebp.
2020-09-22 Even Rouault <[email protected]>
tif_fax3.h: return error when a buffer overflow occurs. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=25552 and https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=25849
2020-09-11 Even Rouault <[email protected]>
Merge branch 'fix-float-compare' into 'master'
Fix comparison for max negative float value.
See merge request libtiff/libtiff!152
2020-09-11 Dirk Lemstra <[email protected]>
Fix comparison for max negative float value.
2020-09-07 Even Rouault <[email protected]>
Fax3PreDecode(): reset curruns and refruns state variables.
to avoid out-of-bounds write triggered by GDAL when repeatedly
reading a corrupt strip.
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=25493
2020-06-06 Thomas Bernard <[email protected]>
Merge branch 'issue-17' into 'master'
normalize tools behaviour regarding -h
Closes #17
See merge request libtiff/libtiff!115
2020-05-31 Even Rouault <[email protected]>
TWebPSetupEncode(): fix logic problem (and instead of or) in test that checks input is 8bit unsigned data
2020-05-12 Even Rouault <[email protected]>
TIFFGetConfiguredCODECs(): fix to avoid wrong structure to be returned for registered (ie non built-in) codecs
2020-05-09 Even Rouault <[email protected]>
Merge branch 'zstd-webp-update' into 'master'
gitlab-ci: use latest zstd and webp versions
See merge request libtiff/libtiff!148
2020-05-09 Even Rouault <[email protected]>
Merge branch 'deprecated' into 'master'
ojpeg: s/Depreciated/Deprecated/
See merge request libtiff/libtiff!149
2020-05-09 Aaron Boxer <[email protected]>
ojpeg: s/Depreciated/Deprecated/
2020-04-27 Even Rouault <[email protected]>
Fix typos.
tif_jpeg.c: avoid potential division in previous fix (master only)
2020-04-26 Thomas Bernard <[email protected]>
gitlab-ci: use latest zstd and webp versions.
2020-04-26 Even Rouault <[email protected]>
tiff.h: fixes to use ASCII only characters (master only)
2020-04-26 Thomas Bernard <[email protected]>
tiffsplit: use EXIT_SUCCESS / EXIT_FAILURE.
tiffset: print usage on stdout when -h is used.
also use EXIT_FAILURE / EXIT_SUCCESS
see #17
tiffmedian: shopw usage on stdout when -h is used.
aslo use EXIT_SUCCESS/EXIT_FAILURE
see #17
tiffinfo: print usage on stdout when -h is used.
also use EXIT_FAILURE / EXIT_SUCCESS
see #17
raw2tiff: print usage to stdout when -h is used.
see #17
tiff2pdf: print usage on stdout when -h is used.
see #17
tiffgt: output usage on stdout with -h.
also use EXIT_SUCCESS / EXIT_FAILURE
tiffdump: use EXIT_FAILURE / EXIT_SUCCESS.
see #17
tiffdither: print usage on stdout when -h is used.
see #17
2020-04-26 Thomas Bernard <[email protected]>
tiffcrop: -h / -v prints usage/version to stdout.
also uses the standard C EXIT_SUCCESS / EXIT_FAILURE
macros
see #17
2020-04-26 Thomas Bernard <[email protected]>
tiffcp: output usage to stdout when using -h.
also use EXIT_FAILURE / EXIT_SUCCESS
see #17
tiffcmp: match exit status for posix cmp and diff tools.
tiff2rgba: output usage to stdout when using -h.
also uses std C EXIT_FAILURE / EXIT_SUCCESS
see #17
tiff2ps: sue EXIT_FAILURE / EXIT_SUCCESS.
see #17
tiff2bw: output usage on stdout when using -h.
also uses EXIT_SUCCESS / EXIT_FAILURE
see #17
thumbnail: use EXIT_FAILURE / EXIT_SUCCESS.
the -h option was already used so it cannot be used for help/usage
see #17
rgb2ycbcr: use EXIT_FAILURE / EXIT_SUCCESS.
the -h option was already used so it cannot be used for help/usage
see #17
ppm2tiff: output usage to stdout when using -h option.
also uses std C EXIT_SUCCESS / EXIT_FAILURE
see #17
pal2rgb: output usage to stdout when -h is used.
see #17
fax2tiff.c: print usage on stdout when using -h option.
see #17
fax2ps: output usage to stdout when using -h option.
also use EXIT_SUCCESS, EXIT_FAILURE from C standard
2020-04-25 Even Rouault <[email protected]>
Merge branch 'jpeg_multiscan_dos_logic' into 'master'
tif_jpeg.c: revise logic to detect potential excessive memory usage when...
See merge request libtiff/libtiff!147
2020-04-24 Even Rouault <[email protected]>
Merge branch 'issue-176' into 'master'
tiff2pdf: get rid of uninitialized memory content
Closes #176
See merge request libtiff/libtiff!143
2020-04-24 Even Rouault <[email protected]>
tif_jpeg.c: revise logic to detect potential excessive memory usage when decoding multiscan JPEG compressed images
2020-04-19 Thomas Bernard <[email protected]>
tiff2pdf: test the return code of TIFFReadRawStrip() and TIFFReadRawTile()
tiff2pdf.c: fix some whitespace problems in source.
tiff2pdf: get rid of uninitialized memory content.
fixes #176
2020-04-19 Even Rouault <[email protected]>
Merge branch 'issue-18' into 'master'
tiffset: pass size for TIFFTAG_INKNAMES
Closes #18
See merge request libtiff/libtiff!146
2020-04-18 Olivier Paquet <[email protected]>
Merge branch 'issue-80' into 'master'
tiffinfo: fix dump of Tiled images
Closes #80
See merge request libtiff/libtiff!144
2020-04-15 Even Rouault <[email protected]>
Fix wrong file size checks for memory-mapped BigTIFF files that could lead to image rejection
2020-04-05 Thomas Bernard <[email protected]>
tiffset: pass size for TIFFTAG_INKNAMES.
Uses TIFFFieldPassCount() to know which arguments need to be
passed to TiffSetField()
fixes #18
see http://bugzilla.maptools.org/show_bug.cgi?id=2202
2020-04-04 Thomas Bernard <[email protected]>
tiffinfo: showdata for tiled images.
tiffinfo: fix dump of Tiled images.
fixes #80
2020-04-03 Even Rouault <[email protected]>
Merge branch 'issue-117' into 'master'
tiffcrop: enforce memory allocation limit
Closes #117
See merge request libtiff/libtiff!140
2020-04-03 Thomas Bernard <[email protected]>
tiffcrop: enforce memory allocation limit.
uses -k option to change limit (default to 256MiB)
fixes #117 / http://bugzilla.maptools.org/show_bug.cgi?id=2757
2020-04-02 Even Rouault <[email protected]>
Merge branch 'issue-45' into 'master'
tiffcp: disable strip chopping when trying to convert to JBIG compression
Closes #45
See merge request libtiff/libtiff!138
2020-04-02 Even Rouault <[email protected]>
Merge branch 'issue-124' into 'master'
TIFFGetFields(3tiff): TIFFTAG_*BYTECOUNTS TIFFTAG_*OFFSETS are uint64
Closes #124
See merge request libtiff/libtiff!137
2020-04-02 Even Rouault <[email protected]>
Merge branch 'aix_itrunc' into 'master'
Rename itrunc to fix name clash with a different itrunc in math.h on AIX. Fixes issue #189
Closes #189
See merge request libtiff/libtiff!139
2020-04-01 Rob Boehne <[email protected]>
Rename itrunc to fix name clash with a different itrunc in math.h on AIX. Fixes issue #189
2020-04-01 Thomas Bernard <[email protected]>
tiffcp: disable strip chopping when trying to convert to JBIG compression
fixes #45
2020-03-29 Thomas Bernard <[email protected]>
TIFFGetFields(3tiff): TIFFTAG_*BYTECOUNTS TIFFTAG_*OFFSETS are uint64.
fixes #124 / http://bugzilla.maptools.org/show_bug.cgi?id=2774
2020-03-29 Even Rouault <[email protected]>
Merge branch 'issue-48' into 'master'
tiff2pdf: fix "raw" copy of Deflate streams
Closes #48
See merge request libtiff/libtiff!136
2020-03-27 Thomas Bernard <[email protected]>
tiff2pdf: fix "raw" copy of Deflate streams.
The Predictor parametter was not copied from the source tiff to the PDF.
fixes #48 / http://bugzilla.maptools.org/show_bug.cgi?id=2442
2020-03-26 Thomas Bernard <[email protected]>
tif_fax3: quit Fax3Decode2D() when a buffer overflow occurs.
fixes #186
2020-03-24 Even Rouault <[email protected]>
Merge branch 'issue-143-144' into 'master'
tiffdump: avoid unaligned memory access
Closes #144 et #143
See merge request libtiff/libtiff!133
2020-03-24 Even Rouault <[email protected]>
Merge branch 'issue-133' into 'master'
tiff2pdf: avoid divide by 0
Closes #133
See merge request libtiff/libtiff!126
2020-03-24 Thomas Bernard <[email protected]>
tiff2pdf: normalizePoint() macro to normalize the white point.
2020-03-23 Thomas Bernard <[email protected]>
tiffdump: avoid unaligned memory access.
fixes #143
fixes #144
2020-03-23 Even Rouault <[email protected]>
Merge branch 'out-of-memory' into 'master'
tiffcp/tiff2pdf/tiff2ps: enforce maximum malloc size
Closes #153, #84, #116 et #115
See merge request libtiff/libtiff!130
2020-03-23 Even Rouault <[email protected]>
Merge branch 'issue-157' into 'master'
tiffset: check memory allocation
Closes #157
See merge request libtiff/libtiff!132
2020-03-23 Even Rouault <[email protected]>
Merge branch 'issue-185' into 'master'
tif_fax3: more buffer overflow checks in Fax3Decode2D()
Closes #185
See merge request libtiff/libtiff!131
2020-03-23 Thomas Bernard <[email protected]>
tiffset: check memory allocation.
fixes #157 / http://bugzilla.maptools.org/show_bug.cgi?id=2850
tif_fax3: more buffer overflow checks in Fax3Decode2D()
fixes #185
2020-03-21 Thomas Bernard <[email protected]>
tiff2ps: enforce memory allocation limit.
fixes #153 / http://bugzilla.maptools.org/show_bug.cgi?id=2845
tiff2pdf: enforce maximum data size.
fixes #116 / http://bugzilla.maptools.org/show_bug.cgi?id=2756
fixes #84 / http://bugzilla.maptools.org/show_bug.cgi?id=2683
update man page for tiffcp regarding the -m option.
tiffcp.c: _TIFFmalloc() => limitMalloc()
2020-03-21 Thomas Bernard <[email protected]>
tiffcp: enforce maximum malloc size.
default is 256MB. use -m option to change
fixes #115 / http://bugzilla.maptools.org/show_bug.cgi?id=2755
2020-03-21 Even Rouault <[email protected]>
Merge branch 'issue-184' into 'master'
CmakeLists.txt: define WORDS_BIGENDIAN when the CPU is big endian
Closes #184
See merge request libtiff/libtiff!127
2020-03-21 Even Rouault <[email protected]>
Merge branch 'issue-44' into 'master'
tiff2pdf: "" causes the relevant argument not to be written
Closes #44
See merge request libtiff/libtiff!128
2020-03-21 Even Rouault <[email protected]>
Merge branch 'issue-56' into 'master'
fix man for TIFFReadEncodedStrip(), TIFFStripSize, TIFFVStripSize, TIFFRawStripSize
Closes #56
See merge request libtiff/libtiff!129
2020-03-20 Thomas Bernard <[email protected]>
fix man for TIFFReadEncodedStrip(), TIFFStripSize, TIFFVStripSize, TIFFRawStripSize
fixes #56
http://bugzilla.maptools.org/show_bug.cgi?id=2507
tiff2pdf: "" causes the relevant argument not to be written.
fixes #44
CmakeLists.txt: define WORDS_BIGENDIAN when the CPU is big endian.
fixes #184
2020-03-17 Thomas Bernard <[email protected]>
tiff2pdf: avoid divide by 0.
fixes #133 http://bugzilla.maptools.org/show_bug.cgi?id=2796
2020-03-17 Even Rouault <[email protected]>
Merge branch 'issue-22' into 'master'
do not _tiffMapProc 0 size files
Closes #22
See merge request libtiff/libtiff!125
2020-03-13 Thomas Bernard <[email protected]>
tif_win32.c: do not _tiffMapProc() 0 sized files.
see #22
tif_unix.c: do not _tiffMapProc 0 size files.
fixes #22
http://bugzilla.maptools.org/show_bug.cgi?id=2249
2020-03-12 Even Rouault <[email protected]>
tif_fax3.c: fix warning C4018: '<': signed/unsigned mismatch introduced in past commits
2020-03-11 Even Rouault <[email protected]>
tiff.h: mention TIFFTAG_RPCCOEFFICIENT, TIFFTAG_TIFF_RSID, TIFFTAG_GEO_METADATA
2020-03-11 Even Rouault <[email protected]>
Merge branch 'issue-60' into 'master'
added support for more private tags
Closes #60
See merge request libtiff/libtiff!124
2020-03-11 Even Rouault <[email protected]>
Merge branch 'issue-160' into 'master'
Fax3SetupState(): check consistency of rowbytes and rowpixels
Closes #160
See merge request libtiff/libtiff!123
2020-03-11 Thomas Bernard <[email protected]>
added support for more private tags.
see https://gitlab.com/libtiff/libtiff/-/issues/60
bugzilla.maptools.org/show_bug.cgi?id=2525
closes #60
original author : [email protected]
2020-03-11 Thomas Bernard <[email protected]>
Fax3SetupState(): check consistency of rowbytes and rowpixels.
also add some parameter documentation to Fax3Decode1D()
fixes #160
http://bugzilla.maptools.org/show_bug.cgi?id=2854
2020-03-10 Even Rouault <[email protected]>
Merge branch 'issue-11-const-pointers' into 'master'
Make pointers returned via TIFFGetField const
Closes #11
See merge request libtiff/libtiff!118
2020-03-10 Even Rouault <[email protected]>
tif_ojpeg.c: relax again too strict sanity checks to allow reading of valid images such as https://gitlab.com/libtiff/libtiff/-/issues/181#note_302535232. Fixes #181
2020-03-09 Even Rouault <[email protected]>
Merge branch 'issue-52' into 'master'
contrib/win_dib/tiff2dib: fix Uninitialized variable: lpBits
Closes #52
See merge request libtiff/libtiff!121
2020-03-09 Thomas Bernard <[email protected]>
contrib/win_dib/tiff2dib: fix Uninitialized variable: lpBits.
fixes #52
http://bugzilla.maptools.org/show_bug.cgi?id=2469
2020-03-08 Even Rouault <[email protected]>
Merge branch 'issue-58' into 'master'
Make TIFFTAG_CFAPATTERN variable count
Closes #58
See merge request libtiff/libtiff!120
2020-03-08 Even Rouault <[email protected]>
Merge branch 'issue-158-no-predictor-in-webp' into 'master'
TIFFTAG_PREDICTOR is not supported for WebP
Closes #158
See merge request libtiff/libtiff!119
2020-03-08 Sam Hasinoff <[email protected]>
Make TIFFTAG_CFAPATTERN variable count.
The TIFFTAG_CFAPATTERN tag (33422) from TIFF/EP, recently introduced in libtiff
3363eda09d082e3e1dfffa6281f53085cac51ad3 / http://bugzilla.maptools.org/show_bug.cgi?id=2457
is described as having a fixed count of 4.
But the TIFF/EP spec says this should support a variable count (= CFARepeatRows * CFARepeatCols):
TIFF/EP, ISO 12234-2:2001
http://www.barrypearson.co.uk/top2009/downloads/TAG2000-22_DIS12234-2.pdf
page 18 and 26
2020-03-08 Thomas Bernard <[email protected]>
TIFFTAG_PREDICTOR is not supported for WebP.
fixes #158
https://gitlab.com/libtiff/libtiff/-/issues/158
this bug was introduced by 9eacd59fecc4ef593ac17689bc530ab451c8ec14
merge request !32
2020-03-07 Adam Goode <[email protected]>
Make the default whitepoint and ycbcrcoeffs arrays const.
Now that we are returning const pointers in TIFFGetFieldDefaulted,
we can now make these static default arrays const.
see #11
2020-03-07 Adam Goode <[email protected]>
Make pointers returned via TIFFGetField const.
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
2020-03-07 Even Rouault <[email protected]>
CMake: Skip custom_dir_EXIF_231 test on shared builds to avoid issues on Windows
2020-03-07 Even Rouault <[email protected]>
Merge branch 'EXIF231_GPS_upgrade' into 'master'
EXIF 2.32 and GPS TIFF-tags and functionality upgraded.
See merge request libtiff/libtiff!91
2020-03-07 Su_Laus <[email protected]>
EXIF 2.32 and GPS tags and functionality upgraded.
- 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 c8c5309b765ef4ff097d2aaffbdb8f403db8967d (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.
2020-03-07 Even Rouault <[email protected]>
Merge branch 'issue-55' into 'master'
ppm2tiff: support any bps value from 1 to 16
Closes #55
See merge request libtiff/libtiff!106
2020-03-07 Thomas Bernard <[email protected]>
ppm2tiff: Add test for 16bpc PPM.