eerop
eerop
OBOOpen Brush, Open Blocks, Icosa Gallery
Created by Mustangman351 on 6/7/2024 in #open-brush-chat
Panorama discussion
yep that's true: (imageUtils.cs)
// Cast to long as maxDimension is big enough on desktop to overflow
if (imageWidth * imageHeight > ((long)maxDimension * (long)maxDimension))
{
throw new ImageLoadError(
String.Format("Image dimensions {0}x{1} are greater than max dimensions of {2}x{2}!",
imageWidth, imageHeight, maxDimension));
}
// Cast to long as maxDimension is big enough on desktop to overflow
if (imageWidth * imageHeight > ((long)maxDimension * (long)maxDimension))
{
throw new ImageLoadError(
String.Format("Image dimensions {0}x{1} are greater than max dimensions of {2}x{2}!",
imageWidth, imageHeight, maxDimension));
}
10 replies