Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/decimation #1384

Merged
merged 9 commits into from
Oct 27, 2021
Merged

Feature/decimation #1384

merged 9 commits into from
Oct 27, 2021

Conversation

msheby
Copy link
Contributor

@msheby msheby commented Oct 21, 2021

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.

src/lib/openjp2/openjpeg.h Outdated Show resolved Hide resolved
src/bin/jp2/opj_compress.c Outdated Show resolved Hide resolved
@rouault
Copy link
Collaborator

rouault commented Oct 22, 2021

There's a compilation error. See https://my.cdash.org/viewBuildError.php?buildid=2082247 . You need to build with cmake .. -DBUILD_TESTING:BOOL=ON -DBUILD_UNIT_TESTS:BOOL=ON

@msheby
Copy link
Contributor Author

msheby commented Oct 22, 2021

There's a compilation error. See https://my.cdash.org/viewBuildError.php?buildid=2082247 . You need to build with cmake .. -DBUILD_TESTING:BOOL=ON -DBUILD_UNIT_TESTS:BOOL=ON

Gotcha.

@rouault rouault merged commit 9048120 into uclouvain:master Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants