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

generate thumbnail #1434

Draft
wants to merge 7 commits into
base: sprint-1.14
Choose a base branch
from
Draft

generate thumbnail #1434

wants to merge 7 commits into from

Conversation

storybehind
Copy link
Collaborator

Changes

  • Generate thumbnail for given image. Decodes the given byte array to the image type. The thumbnail image is encoded in PNG format.
  • Supported image format (decoding): jpeg, png and gif.
  • Resampling filter should be either empty string (defaults to Lanczos) or one of the following: NearestNeighbor , Box , Linear , Hermite , MitchellNetravali , CatmullRom , BSpline , Gaussian , Bartlett , Lanczos , Hann , Hamming , Blackman , Welch , Cosine

Fixes

Tests

Tasks to complete before merging PR:

  • Ensure system tests are passing. If not Run them manually to check for any regressions 📋
  • Do any new system tests need added to test this change? do any existing system tests need updated? If so create a PR at 0chain/system_test
  • Merge your system tests PR to master AFTER merging this PR

Associated PRs (Link as appropriate):

  • blobber:
  • 0chain:
  • system_test:
  • zboxcli:
  • zwalletcli:
  • Other: ...

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