Hello All,
We need your help to resolve below issue.
Our process is to get the text from image document and we are doing preImageProcessing by using ResizeNearestNeighbor Aforge API.
To do preImageProcessing, we are scaling height and width of image to 3 times (Width * 3) (Height * 3) using ResizeNearestNeighbor.
But if image size gets big after scalling 3 times(ex, Widht = 7500 and height= 10500) then we facing memory leak issue.
We are able to do resize the image whose width and height are small. (for ex, width*3 = 6000 and Height*3 = 8000)
Please see the below code snippet,
BaseResizeFilter resizeFilter = new ResizeNearestNeighbor((int)(processedBitmap.Width * 3), (int)(processedBitmap.Height * 3));
processedBitmap = resizeFilter.Apply(processedBitmap);
Aforge Version : 2.2.4
Thanks in advance.