token-art-tools
token-art-tools copied to clipboard
Maximum drawingBuffer size
Chrome has a limitation of 33177600 total pixels (5760 x 5760) as the maximum amount it can capture. The custom resolution picker needs to do a quick validation to ensure pixels are not exceeding this value, otherwise captured images will be clipped in strange ways. This might be only limited to WebGL... might need to test different libraries when designing a solution.
https://chromium.googlesource.com/chromium/src/+/0781429bb10a95aae3c9eb3141fc47852cfe300a%5E%21/