Calculates the expected file size of the image in bytes
This method can be used to determine the file size of the image before actually storing it anywhere, for example to enforce some maximum filesize.
Therefor the rendering process is performed internally without storing the resulting data, just to count the result size. Because of this the process may take a while, depending on the size of the image.
The size of the image file is not only dependent on the pixel size of the image but also on the chosen output format and how well that format is able to compress the contained image data.
Size of the image in bytes (Number)
|Allowed in script types