Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reformatting in tools/ using 'pre-commit run' | pre-commit run by Even Rouault | 2022-12-08 | 1 | -4928/+5496 |
| | |||||
* | Remove vim/emacs formatting footers | Even Rouault | 2022-12-08 | 1 | -9/+0 |
| | |||||
* | tiff2pdf: Don't try to seek into stdout. | Claus-Justus Heine | 2022-11-10 | 1 | -1/+1 |
| | | | | Fixes #441 | ||||
* | tiff2pdf: handle 8-bit palette colormap | Jay Berkenbilt | 2022-05-09 | 1 | -3/+17 |
| | | | | | | If all the colors in a palette are in the range [0, 255], treat the palette as an 8-bit colormap. This workaround already exists elsewhere in the software including in tiff2ps. | ||||
* | tiff2pdf: Fixes issues #365, #258 and #257 related to initializing ↵ | Su Laus | 2022-02-10 | 1 | -2/+5 |
| | | | | 't2p->pdf_compressionquality'. | ||||
* | tiff2pdf: validate TIFFGetField(input, TIFFTAG_STRIPBYTECOUNTS, &sbc) return ↵ | Even Rouault | 2021-12-16 | 1 | -1/+7 |
| | | | | (fixes #342) | ||||
* | Fix memory leak in tiff2pdf | Timothy Lyanguzov | 2021-06-02 | 1 | -2/+3 |
| | |||||
* | Fix all remaining uses of legacy Deflate compression id and warn on use | David Ryskalczyk | 2021-05-08 | 1 | -2/+2 |
| | |||||
* | Merge branch 'display_tool_purpose' into 'master' | Roger Leigh | 2021-03-06 | 1 | -0/+1 |
|\ | | | | | | | | | TIFF tools: insert a line of text summarizing each tool's purpose See merge request libtiff/libtiff!214 | ||||
| * | Merge branch 'master' into 'display_tool_purpose' | Miguel Medalha | 2021-02-07 | 1 | -153/+152 |
| |\ | | | | | | | | | | # Conflicts: # tools/tiffsplit.c | ||||
| * | | Display tool purpose | Medalha | 2021-01-28 | 1 | -0/+1 |
| | | | |||||
* | | | Suppress potential unused variable warning | Roger Leigh | 2021-02-06 | 1 | -1/+1 |
| |/ |/| | |||||
* | | Add additional TIFF_SSIZE_FORMAT uses | Roger Leigh | 2021-02-05 | 1 | -7/+7 |
| | | |||||
* | | Add TIFF_SIZE_FORMAT for portable use of %z | Roger Leigh | 2021-02-04 | 1 | -5/+5 |
| | | | | | | | | MinGW64 does support %z, but it issues a compiler warning. | ||||
* | | Use TIFF_SSIZE_FORMAT for formatting tmsize_t | Roger Leigh | 2021-02-04 | 1 | -16/+15 |
| | | |||||
* | | libtiff: Use PRI format flags and remove unnecessary casts | Roger Leigh | 2021-01-28 | 1 | -1/+1 |
| | | |||||
* | | tiff2pdf: Use PRI format flags and remove unnecessary casts | Roger Leigh | 2021-01-27 | 1 | -149/+149 |
|/ | |||||
* | Use standard C99 integer types | Roger Leigh | 2021-01-21 | 1 | -209/+209 |
| | |||||
* | Merge branch 'std-int-types' into 'master' | Even Rouault | 2021-01-15 | 1 | -7/+7 |
|\ | | | | | | | | | Use standard C99 integer types See merge request libtiff/libtiff!185 | ||||
| * | Use stdint.h types when available | Roger Leigh | 2021-01-06 | 1 | -7/+7 |
| | | |||||
* | | tiff tools: include 'libport.h', remove local definition of 'getopt()' | miguel | 2021-01-05 | 1 | -8/+1 |
|/ | |||||
* | Merge branch 'issue-202' into 'master' | Even Rouault | 2020-12-28 | 1 | -50/+29 |
|\ | | | | | | | | | | | | | tiff2pdf.c: check that tiff_datasize fits in a signed tsize_t Closes #202 See merge request libtiff/libtiff!166 | ||||
| * | tiff2pdf.c: check that tiff_datasize fits in a signed tsize_t | Thomas Bernard | 2020-12-01 | 1 | -50/+29 |
| | | | | | | | | | | | | add t2p_set_tiff_datasize() to check for integer overflow fixes #202 | ||||
* | | Reduce initialized data by making more data const and simplifying usage() ↵ | Bob Friesenhahn | 2020-12-28 | 1 | -34/+30 |
| | | | | | | | | implementation. | ||||
* | | tiff tools: made display of compression methods and their parameters ↵ | miguel | 2020-12-25 | 1 | -9/+15 |
|/ | | | | conditional on their actual availability | ||||
* | Merge branch 'issue-156' into 'master' | Even Rouault | 2020-11-21 | 1 | -0/+8 |
|\ | | | | | | | | | | | | | tiff2pdf: Check output size before writing Closes #156 See merge request libtiff/libtiff!168 | ||||
| * | tiff2pdf: Check output size before writing | Thomas Bernard | 2020-11-18 | 1 | -0/+8 |
| | | | | | | | | fixes #156 | ||||
* | | tiff2pdf: enforce memory limit for tiled pictures too | Thomas Bernard | 2020-11-18 | 1 | -0/+7 |
|/ | | | | fixes #201 | ||||
* | Merge branch 'issue-220' into 'master' | Even Rouault | 2020-11-14 | 1 | -3/+11 |
|\ | | | | | | | | | | | | | tiff2pdf.c: properly calculate datasize when saving to JPEG YCbCr Closes #220 See merge request libtiff/libtiff!159 | ||||
| * | tiff2pdf.c: properly calculate datasize when saving to JPEG YCbCr | Thomas Bernard | 2020-11-14 | 1 | -3/+11 |
| | | | | | | | | fixes #220 | ||||
* | | avoid buffer overflow while writing jpeg end of file marker | Thomas Bernard | 2020-11-10 | 1 | -7/+7 |
|/ | | | | fixes #204 | ||||
* | tiff2pdf: print usage on stdout when -h is used | Thomas Bernard | 2020-04-26 | 1 | -12/+14 |
| | | | | see #17 | ||||
* | tiff2pdf: test the return code of TIFFReadRawStrip() and TIFFReadRawTile() | Thomas Bernard | 2020-04-19 | 1 | -11/+56 |
| | |||||
* | tiff2pdf.c: fix some whitespace problems in source | Thomas Bernard | 2020-04-19 | 1 | -62/+62 |
| | |||||
* | tiff2pdf: get rid of uninitialized memory content | Thomas Bernard | 2020-04-19 | 1 | -7/+17 |
| | | | | fixes #176 | ||||
* | tiff2pdf: fix "raw" copy of Deflate streams | Thomas Bernard | 2020-03-27 | 1 | -1/+5 |
| | | | | | The Predictor parametter was not copied from the source tiff to the PDF. fixes #48 / http://bugzilla.maptools.org/show_bug.cgi?id=2442 | ||||
* | Merge branch 'issue-133' into 'master' | Even Rouault | 2020-03-24 | 1 | -9/+13 |
|\ | | | | | | | | | | | | | tiff2pdf: avoid divide by 0 Closes #133 See merge request libtiff/libtiff!126 | ||||
| * | tiff2pdf: normalizePoint() macro to normalize the white point | Thomas Bernard | 2020-03-24 | 1 | -15/+13 |
| | | |||||
| * | tiff2pdf: avoid divide by 0 | Thomas Bernard | 2020-03-18 | 1 | -9/+15 |
| | | | | | | | | fixes #133 http://bugzilla.maptools.org/show_bug.cgi?id=2796 | ||||
* | | tiff2pdf: enforce maximum data size | Thomas Bernard | 2020-03-21 | 1 | -1/+16 |
| | | | | | | | | | | fixes #116 / http://bugzilla.maptools.org/show_bug.cgi?id=2756 fixes #84 / http://bugzilla.maptools.org/show_bug.cgi?id=2683 | ||||
* | | tiff2pdf: "" causes the relevant argument not to be written | Thomas Bernard | 2020-03-21 | 1 | -37/+38 |
|/ | | | | fixes #44 | ||||
* | tiff2pdf: palette bound check in t2p_sample_realize_palette() | Thomas Bernard | 2020-02-08 | 1 | -0/+5 |
| | | | | fixes #82 | ||||
* | Fix Cmake HAVE_GETOPT for systems which declare getopt in stdio.h. | Bob Friesenhahn | 2019-11-03 | 1 | -1/+1 |
| | | | | Fix utility baked-in getopt prototype which appears when HAVE_GETOPT is not defined. | ||||
* | tiff2pdf.c: don't call t2p_tile_collapse_left() when buffer size is wrong | Thomas Bernard | 2019-02-28 | 1 | -7/+14 |
| | | | | see http://bugzilla.maptools.org/show_bug.cgi?id=2785 | ||||
* | tiff2pdf.c: check colormap pointers | Thomas Bernard | 2019-02-28 | 1 | -10/+24 |
| | | | | | Avoid access to non initialized pointers http://bugzilla.maptools.org/show_bug.cgi?id=2826 | ||||
* | Merge branch 'resource-leaks' into 'master' | Even Rouault | 2018-12-07 | 1 | -0/+1 |
|\ | | | | | | | | | Fix two resource leaks See merge request libtiff/libtiff!43 | ||||
| * | Fix two resource leaks | Nikola Forró | 2018-10-31 | 1 | -0/+1 |
| | | | | | | | | Signed-off-by: Nikola Forró <nforro@redhat.com> | ||||
* | | tiff2pdf: Eliminate compiler warning about snprintf output truncation when ↵ | Bob Friesenhahn | 2018-11-03 | 1 | -7/+7 |
|/ | | | | formatting pdf_datetime. | ||||
* | Fix for bug 2772 | Nathan Baker | 2018-02-12 | 1 | -0/+10 |
| | | | | | | | | | | | | It is possible to craft a TIFF document where the IFD list is circular, leading to an infinite loop while traversing the chain. The libtiff directory reader has a failsafe that will break out of this loop after reading 65535 directory entries, but it will continue processing, consuming time and resources to process what is essentially a bogus TIFF document. This change fixes the above behavior by breaking out of processing when a TIFF document has >= 65535 directories and terminating with an error. | ||||
* | Fix all compiler warnings for default build | Nathan Baker | 2018-02-04 | 1 | -6/+7 |
| |