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

feat: allow conversion from mask to RGB and RGBA #335

Closed stropitek closed 1 year ago

stropitek commented 1 year ago

This enables the writeCanvas method for masks

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (258c5e7) 98.53% compared to head (9fb01cb) 98.54%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #335 +/- ## ======================================= Coverage 98.53% 98.54% ======================================= Files 198 198 Lines 5201 5213 +12 Branches 1122 1125 +3 ======================================= + Hits 5125 5137 +12 Misses 74 74 Partials 2 2 ``` | [Impacted Files](https://app.codecov.io/gh/image-js/image-js-typescript/pull/335?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=image-js) | Coverage Δ | | |---|---|---| | [src/save/writeCanvas.ts](https://app.codecov.io/gh/image-js/image-js-typescript/pull/335?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=image-js#diff-c3JjL3NhdmUvd3JpdGVDYW52YXMudHM=) | `10.00% <ø> (ø)` | | | [src/operations/convertColor.ts](https://app.codecov.io/gh/image-js/image-js-typescript/pull/335?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=image-js#diff-c3JjL29wZXJhdGlvbnMvY29udmVydENvbG9yLnRz) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.