When the total memory required to store the whole image exceeds the upper int limit, in many places, there is memory violation #43.
This PR prevent this issue by performing an early check on the required memory size prior to allocation and access. Future revision shall handle such files by using larger types.
When the total memory required to store the whole image exceeds the upper int limit, in many places, there is memory violation #43.
This PR prevent this issue by performing an early check on the required memory size prior to allocation and access. Future revision shall handle such files by using larger types.