Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
The image size is width * height * bytes per pixel. For grayscale, this is one byte per pixel. For BGR - 3 bytes per pixel (+ alignment? not vkurse here). For rgba - 4 bytes per pixel.
The limit is the amount of RAM or how much memory can be addressed to one process. You can reduce memory consumption by processing the image in parts.
But in theory, if we talk about image sizes, then we have a limit for uint for width and height.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question