<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openjpeg/src/bin/jp2/opj_compress.c, branch master</title>
<subtitle>Fork of openjpeg library for JPEG2000 encoding and decoding</subtitle>
<id>https://git.carlh.net/cgit/openjpeg/atom?h=master</id>
<link rel='self' href='https://git.carlh.net/cgit/openjpeg/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/'/>
<updated>2024-02-28T15:23:43Z</updated>
<entry>
<title>Fix some typos (found by `codespell` and `typos`)</title>
<updated>2024-02-28T15:23:43Z</updated>
<author>
<name>Stefan Weil</name>
<email>sw@weilnetz.de</email>
</author>
<published>2024-02-28T14:28:51Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=20ad29f497cf1afacb243c0019069ba10a0320bd'/>
<id>urn:sha1:20ad29f497cf1afacb243c0019069ba10a0320bd</id>
<content type='text'>
Signed-off-by: Stefan Weil &lt;sw@weilnetz.de&gt;
</content>
</entry>
<entry>
<title>CMake: error out on warnings for strict/missing prototypes.</title>
<updated>2023-03-09T19:09:27Z</updated>
<author>
<name>Sebastian Rasmussen</name>
<email>sebras@gmail.com</email>
</author>
<published>2023-03-09T18:20:58Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=eb8a7e44279415fdefda6d980b99bd7e00c41da0'/>
<id>urn:sha1:eb8a7e44279415fdefda6d980b99bd7e00c41da0</id>
<content type='text'>
And fix strict-prototypes/missing-prototypes warnings.
</content>
</entry>
<entry>
<title>Cleanup code related to quality layer allocation, and add a few safety checks</title>
<updated>2022-08-11T16:12:07Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2022-08-11T16:06:21Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=c06632c6f6d0a3e106374fe462869b131366c2d0'/>
<id>urn:sha1:c06632c6f6d0a3e106374fe462869b131366c2d0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>opj_compress.c: usage formatting fix</title>
<updated>2022-05-08T17:45:53Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2022-05-08T17:45:42Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=76c6a257264da40fff1805cfc957536af451faff'/>
<id>urn:sha1:76c6a257264da40fff1805cfc957536af451faff</id>
<content type='text'>
</content>
</entry>
<entry>
<title>opj_encoder_set_extra_options(): add a GUARD_BITS=value option</title>
<updated>2022-01-23T16:54:44Z</updated>
<author>
<name>Even Rouault</name>
<email>even.rouault@spatialys.com</email>
</author>
<published>2022-01-23T16:53:55Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=1de5fc6c51617f49515ef80708dd074432a27a6a'/>
<id>urn:sha1:1de5fc6c51617f49515ef80708dd074432a27a6a</id>
<content type='text'>
and add a -GuardBits option to opj_compress.

The recently-released SMPTE DCP Bv2.1 Application Profile (link below)
says that the number of guard bits in the QCD marker shall be 1 for 2K
content and 2 for 4K content. This change allows the number of guard bits
to be configured, so that users of openjpeg have the control they need to meet the specification.

https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=9161348

This is an alternative implementation of https://github.com/uclouvain/openjpeg/pull/1388
that keeps ABI unchanged.
</content>
</entry>
<entry>
<title>Fix unsigned vs OPJ_INT32 mismatches  (#1398)</title>
<updated>2022-01-16T17:54:00Z</updated>
<author>
<name>Eric Harvey</name>
<email>71228603+Eharve14@users.noreply.github.com</email>
</author>
<published>2022-01-16T17:54:00Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=a1eec9c49e143fab0e0c0dcc13f94f11fef04f22'/>
<id>urn:sha1:a1eec9c49e143fab0e0c0dcc13f94f11fef04f22</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added check for integer overflow in get_num_images  (#1397)</title>
<updated>2022-01-15T14:33:03Z</updated>
<author>
<name>Eharve14</name>
<email>71228603+Eharve14@users.noreply.github.com</email>
</author>
<published>2022-01-15T14:33:03Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=6e4588f379be0eb5b62fff65bf96aa1ca556ea96'/>
<id>urn:sha1:6e4588f379be0eb5b62fff65bf96aa1ca556ea96</id>
<content type='text'>
As discussed in pull request 1396, added a check for integer overflow.
Change list:
Defined num_images as unsigned int
Moved the if statement to check for an empty directory to the beginning of the read directory section
Added a check to see if num images would roll back to zero when incrementing.</content>
</entry>
<entry>
<title>Avoid overflow in multiplications in utilities related to big number of files in a directory (CVE-2021-29338)  (#1396)</title>
<updated>2022-01-13T20:05:52Z</updated>
<author>
<name>Eharve14</name>
<email>71228603+Eharve14@users.noreply.github.com</email>
</author>
<published>2022-01-13T20:05:52Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=1daaa0b909aebdf71be36238d16dfbec83c494ed'/>
<id>urn:sha1:1daaa0b909aebdf71be36238d16dfbec83c494ed</id>
<content type='text'>
</content>
</entry>
<entry>
<title>opj_compress/opj_uncompress: fix integer overflow in num_images (#1395)</title>
<updated>2022-01-12T12:46:10Z</updated>
<author>
<name>Brad Parham</name>
<email>baparham@gmail.com</email>
</author>
<published>2022-01-12T12:46:10Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=79c7d7af598b778c3cdcb455df23d50efc95eb3c'/>
<id>urn:sha1:79c7d7af598b778c3cdcb455df23d50efc95eb3c</id>
<content type='text'>
Includes the fix for CVE-2021-29338
Credit to @kaniini based on #1346
Fixes #1338</content>
</entry>
<entry>
<title>opj_compress: add a -TargetBitDepth switch for TIFF output (#1384)</title>
<updated>2021-10-27T12:10:50Z</updated>
<author>
<name>msheby</name>
<email>44249925+msheby@users.noreply.github.com</email>
</author>
<published>2021-10-27T12:10:50Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/openjpeg/commit/?id=90481203a28d4d18052a07711d6d890ed1ab8c8a'/>
<id>urn:sha1:90481203a28d4d18052a07711d6d890ed1ab8c8a</id>
<content type='text'>
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.</content>
</entry>
</feed>
