leonitousconforti/tinyburg

View on GitHub
packages/doorman/src/image-operations/drop-channel.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function dropChannel has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const dropChannel = (
    sourceImage: Image,
    dropChannel: number,
    newFormat?: ImageType
): { modifiedSourceImage: Image; droppedChannelImage: Image } => {
Severity: Minor
Found in packages/doorman/src/image-operations/drop-channel.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status