packages/doorman/src/image-operations/drop-channel.ts
Function dropChannel
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const dropChannel = (
sourceImage: Image,
dropChannel: number,
newFormat?: ImageType
): { modifiedSourceImage: Image; droppedChannelImage: Image } => {