Commit Graph

20 Commits

Author SHA1 Message Date
msheby 90481203a2
opj_compress: add a -TargetBitDepth switch for TIFF output (#1384)
Sometimes, given the same (16-bit TIF) input, one wants to generate a variety of J2C outputs (say, 16-, 12-, and 10-bit). This patch allows one to downsample input files, and so makes it easier to automate OpenJPEG in mass generation of J2Cs without having to pipe though an image processing program.
2021-10-27 14:10:50 +02:00
Even Rouault 0b5d62684f
API: deprecate 'bpp' member in favor of 'prec'
in opj_image_comp and opj_image_comptparm structures.

bpp was redundant with prec, and almost never set by the library, except
by opj_image_create(). This change should hopefully not impact existing,
working, users of the API, which should already have used prec to get
things working.

Fixes #1379
2021-10-21 14:13:58 +02:00
Even Rouault f0629cb1c4
Fix various compiler warnings 2021-06-07 13:28:26 +02:00
Even Rouault fe4c15f12c
Testing: revise testing of lossy encoding by comparing PEAK and MSE with original image 2020-05-20 20:31:28 +02:00
Even Rouault c2b9d09c65
compare_images.c: code reformatting 2020-05-20 20:31:28 +02:00
Matthieu Darbois 9a20f8e8d1 Update lcms (#544)
Update to mm2/Little-CMS@0e8234e090
2016-04-30 17:58:04 +02:00
mayeut d7d9f84707 Remove invalid assert in compare_images 2015-09-10 08:04:59 +02:00
mayeut 5f02757eef Correct lossless issue on linux x86
Update uclouvain/openjpeg#571
2015-09-10 00:39:23 +02:00
Mathieu Malaterre 99d1859a44 [trunk] Explicitely reject file4/file6 scenario
Update issue 286
2014-03-17 16:18:22 +00:00
Mathieu Malaterre b7ebf54a29 [trunk] Be more verbose about failure.
Update issue 294
2014-03-14 11:37:44 +00:00
Mathieu Malaterre 8447f0a323 [trunk] Add a double check for user input 2014-03-13 12:26:06 +00:00
Mathieu Malaterre d38e32c036 [trunk] TIFF files in test suite can have 1 or 3 components 2014-03-12 11:32:44 +00:00
Mathieu Malaterre 73315c2edc [trunk] Simplify code when reading in TIFF images 2014-03-12 10:50:47 +00:00
Mathieu Malaterre 4de95f320f [trunk] Run richter test suite, correct a regression introduced in r2668 2014-03-10 13:51:16 +00:00
Mathieu Malaterre 856fc0652f [trunk] Properly handle number of components to run kakadu test suite.
Update issue 266
2014-03-10 13:05:20 +00:00
Mathieu Malaterre 836ec05920 [trunk] Handle multi components files with PGM outputs 2014-03-10 12:20:55 +00:00
Mathieu Malaterre 24966ffbda [trunk] Fix compilation when TIFF lib is neither found nor compiled 2014-03-10 09:36:14 +00:00
Mathieu Malaterre e02ba05034 [trunk] Fix warnings about shadow variables 2014-03-10 08:25:08 +00:00
Mathieu Malaterre fa1c2454e6 [trunk] Add new test suite that run on kakadu conformance images 2014-03-07 17:18:13 +00:00
Mathieu Malaterre 6b94237679 [trunk] Cleanup commit. Rename compare family since comparePGX now support TIFF.
Rename compareRAWimage for clarity since it merely compare files (not images).
2014-03-07 16:24:24 +00:00