| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
Hardcode HOST_FILLORDER to FILLORDER_LSB2MSB, and make 'H' flag of TIFFOpen()...
See merge request libtiff/libtiff!488
|
| |
| |
| |
| | |
TIFFOpen() to warn and an alias of FILLORDER_MSB2LSB
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Fix 484 TIFFDirectory td_fieldsset uses unsigned long which can be 32 or 64 bits.
Closes #484
See merge request libtiff/libtiff!471
|
| |
| |
| |
| |
| |
| | |
bits.
Closes #484
|
|\ \
| | |
| | |
| | |
| | | |
Add DNG tags up to version 1.6.0.0 and some TIFF/EP tags and update documentation
See merge request libtiff/libtiff!482
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
documentation
Amend MR !337 'Add support for DNG tags up to version 1.6.0.0 and some TIFF/EP tags' from Sami Liedes:
- Set most tags to OkToChange=1.
- Define BATTERYLEVEL tag as ASCII and convert values of rational variant to ASCII.
- TIFF documentation updated for tags recognized by LibTiff (DNG 1.6 and others).
- TIFF/EP tags added, which are equivalent to EXIF tags. This addresses part of #418 as well.
- Definition of tags reformatted (clang-format off) for better readability of tag comments in tiff.h and tif_dirinfo.c
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
do not install libtiff-4.pc when tiff-install is reset
Closes #547
See merge request libtiff/libtiff!481
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
LZWDecode(): avoid crash when trying to read again from a strip whith a...
Closes #548
See merge request libtiff/libtiff!484
|
| |/ / /
| | | |
| | | |
| | | | |
missing end-of-information marker (fixes #548)
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
tiffcrop: fix 553 by considering error return of writeSelections()
Closes #553
See merge request libtiff/libtiff!485
|
| |/ / /
| | | |
| | | |
| | | | |
Fixes #553
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | | |
tif_ojpeg.c fix 554 by checking for division by zero
Closes #554
See merge request libtiff/libtiff!486
|
|/ / / |
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
fix runtime error: applying zero offset to null pointer
See merge request libtiff/libtiff!479
|
|/ /
| |
| |
| | |
offset to null pointer
|
|\ \
| | |
| | |
| | |
| | | |
tif_ovrcache.c: check TIFFSetSubDirectory() return value (CID 1524573)
See merge request libtiff/libtiff!478
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | | |
Even faster TIFFSetDirectory() using IFD list.
See merge request libtiff/libtiff!477
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | | |
Optimize relative seeking with TIFFSetDirectory
See merge request libtiff/libtiff!474
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | | |
Fix memory leak in tiffcrop.c
See merge request libtiff/libtiff!475
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
test: avoid running tool tests if not built
Closes #421
See merge request libtiff/libtiff!334
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In Gentoo, we avoid building the tools for multilib (32-bit, x86) builds on
amd64/x86_64 because we only need the library to keep binary applications working.
This causes a test failure in e.g. tiffcp-thumbnail.sh as the 'thumbnail'
binary isn't built. Skip it if unavailable.
Fixes: https://gitlab.com/libtiff/libtiff/-/issues/421
Signed-off-by: Sam James <sam@gentoo.org>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In Gentoo, we avoid building the tools for multilib (32-bit, x86) builds on
amd64/x86_64 because we only need the library to keep binary applications working.
This causes a test failure in e.g. tiffcp-thumbnail.sh as the 'thumbnail'
binary isn't built. Skip it if unavailable.
Fixes: https://gitlab.com/libtiff/libtiff/-/issues/421
|
|\ \
| | |
| | |
| | |
| | | |
Fix TIFFUnlinkDirectory(0) case and unlink of first directory.
See merge request libtiff/libtiff!460
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If directory number 0 is unlinked, then the base offset variables within LibTiff are not updated. As a result, a subsequent TIFFSetDirectory() first goes to the unlinked former directory number 0.
In addition, the error case for dirn=0 is handled.
This MR fixes that by updating the base offset variables tif->tif_header.classic.tiff_diroff and tif->tif_header.big.tiff_diroff.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
tif_luv: Check and correct for NaN data in uv_encode().
Closes #530
See merge request libtiff/libtiff!473
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
Closes #530
See merge request !473
|
|\ \ \
| |_|/
|/| |
| | |
| | |
| | |
| | | |
tiffcrop: Do not reuse input buffer for subsequent images. Fix issue 527
Closes #527
See merge request libtiff/libtiff!472
|
|/ /
| |
| |
| |
| |
| | |
Reuse of read_buff within loadImage() from previous image is quite unsafe, because other functions (like rotateImage() etc.) reallocate that buffer with different size without updating the local prev_readsize value.
Closes #527
|
|\ \
| | |
| | |
| | |
| | | |
test_ifd_loop_detection: fix Coverity Scan issue CID 1520750: Null pointer...
See merge request libtiff/libtiff!470
|
| | |
| | |
| | |
| | | |
dereferences (NULL_RETURNS) line 55.
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
Fix Coverity Scan issue CID 1520761: Integer handling issues...
See merge request libtiff/libtiff!469
|
|/ /
| |
| |
| | |
(OVERFLOW_BEFORE_WIDEN) tiffcrop.c: 9676 in rotateImage()
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
tiffcrop: Amend rotateImage() not to toggle the input (main) image width and...
Closes #519, #518, #499, #495, #494, #493 et #492
See merge request libtiff/libtiff!465
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
length parameters when only cropped image sections are rotated.
Remove buffptr from region structure because never used.
Closes #492 #493 #494 #495 #499 #518 #519
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
into 'master'
tiffcrop correctly update buffersize after rotateImage() fix#520
Closes #520
See merge request libtiff/libtiff!467
|
| | |
| | |
| | |
| | | |
buffsize and check integer overflow within rotateImage().
|
| | |
| | |
| | |
| | |
| | |
| | | |
rotateImage() set up a new buffer and calculates its size individually. Therefore, seg_buffs[] size needs to be updated accordingly. Before this fix, the seg_buffs buffer size was calculated with a different formula than within rotateImage().
Closes #520.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
tiffcrop: added check for assumption on composite images (fixes #496)
Closes #501, #500, #498, #497 et #496
See merge request libtiff/libtiff!466
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
tiffcrop: For composite images with more than one region, the combined_length or combined_width always needs to be equal, respectively. Otherwise, even the first section/region copy action might cause buffer overrun. This is now checked before the first copy action.
Closes #496, #497, #498, #500, #501.
|
|\ \ \
| |_|/
|/| |
| | |
| | | |
test_ifd_loop_detection: Added test to check loops in SubIFDs that are chained.
See merge request libtiff/libtiff!464
|
| |/ |
|
|\ \
| |/
|/|
| |
| |
| |
| | |
TIFFClose() avoid NULL pointer dereferencing. fix#515
Closes #515
See merge request libtiff/libtiff!468
|
|/
|
|
| |
Closes #515
|
|\
| |
| |
| |
| | |
Add versioninfo resource files for DLL and tools compiled with Windows MSVC and MINGW.
See merge request libtiff/libtiff!455
|