Open sedghi opened 1 year ago
Here we are creating the canvas which is only used in one of the decoders via decodeImageFrame and also later in the code if the image is color.
So we don't need to always create a canvas, the code should get refactored to only create canvas when needed which is much better
Here we are creating the canvas which is only used in one of the decoders via decodeImageFrame and also later in the code if the image is color.
So we don't need to always create a canvas, the code should get refactored to only create canvas when needed which is much better