image-js / image-js-typescript

Temporary repository to work on the migration of image-js to TypeScript
https://image-js.github.io/image-js-typescript/
MIT License
5 stars 5 forks source link

fix: fix the bug with hypotenuse custom channels #407

Closed EscapedGibbon closed 9 months ago

EscapedGibbon commented 9 months ago

close: https://github.com/image-js/image-js-typescript/issues/406

EscapedGibbon commented 9 months ago

I removed bitDepth option because it was only used in creating new image. But with getOutputImage the bit depth is the same as the input image's.

codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (bdea5fb) 98.57% compared to head (0d69dfa) 98.57%. Report is 3 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #407 +/- ## ======================================= Coverage 98.57% 98.57% ======================================= Files 223 223 Lines 5832 5845 +13 Branches 1235 1238 +3 ======================================= + Hits 5749 5762 +13 Misses 80 80 Partials 3 3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.