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

Fix some minor problems with oiiotool --resample #1694

Merged
merged 3 commits into from
Jun 1, 2017

Conversation

lgritz
Copy link
Collaborator

@lgritz lgritz commented May 26, 2017

  1. oiiotool --resample:interp=0

    Sometimes you really, REALLY just want closest pixel blocky appearance rather than bilinear sampling. ImageBufAlgo::resample() had that option, but oiotool --resample didn't expose it.

  2. Discovered and fixed a 1/2 pixel shift for resampling. (resize was correct, resample was off)

  3. Discovered along the way: fix some broken diff printing when deep images are involved.

Sometimes you really, REALLY just want closest pixel blocky appearance
rather than bilinear sampling. ImageBufAlgo::resample() had that option,
but `oiotool --resample` didn't expose it.
@lgritz lgritz merged commit ed0e34b into AcademySoftwareFoundation:master Jun 1, 2017
@lgritz lgritz deleted the lg-resample branch June 1, 2017 04:28
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.

1 participant