Hi there, I'm uploading a custom map to the new Maps feature and while I've had some work, this particular one (which is at the size limit - windows shows it as being 9.99 MB (10,476,055 bytes) ) sits and spins forever after I select a token size. Looking in the javascript console I see the error
Uncaught (in promise) UnknownError: Failed to execute 'transferToImageBitmap' on 'OffscreenCanvas': ImageBitmap construction failed
Making the image a little bit smaller didn't seem to help.
fetch request to https://dice-service.dndbeyond.com/diceuserconfig/v1/get {level: 'info', app: 'feywild', userId: '108322984', source: 'client', userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWeb…KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36', …} global-error-77ac4ca9a3113bf6.js:1 Attempting to reinitialize socket {level: 'warn', app: 'feywild', userId: '108322984', source: 'client', userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWeb…KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36', …} (anonymous) @ global-error-77ac4ca9a3113bf6.js:1 d @ global-error-77ac4ca9a3113bf6.js:1 warn @ global-error-77ac4ca9a3113bf6.js:1 initSocket @ 5091-450c6b13be0e37bd.js:1 (anonymous) @ page-19f9090511912c05.js:7 await in (anonymous) global-error-77ac4ca9a3113bf6.js:1 initializing games page {level: 'info', app: 'feywild', userId: '108322984', source: 'client', userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWeb…KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36', …} 7005.12834971f870d1be.js:1 Uncaught (in promise) UnknownError: Failed to execute 'transferToImageBitmap' on 'OffscreenCanvas': ImageBitmap construction failed
I am using Dungeon Draft to make a map of the town, then exporting that out to a jpeg. The map is 80 x 100 squares, and I think that's what's setting the image dimensions. Exporting that at 10% quality gets me down to below 10MB. I've chopped a few of the outer squares off the map and that brings the exported image down to a size that allows it to upload, so all good.
There is a setting for 'Grid PPI' which is set at 256 pixels which I just ignored as I don't know what it does. If I drop that down a chunk would that reduce the image dimensions of the exported jpeg?
PPI is points/pixels per inch, like DPI being dots per inch. Gven that grids are all 1inch, yes definitely, reducing the number of pixels in a given grid cell would reduce the resolution of the image.
256 pixesl per inch, at 100 squares, is 25600 pixels across.
Hi there, I'm uploading a custom map to the new Maps feature and while I've had some work, this particular one (which is at the size limit - windows shows it as being 9.99 MB (10,476,055 bytes) ) sits and spins forever after I select a token size. Looking in the javascript console I see the error
Uncaught (in promise) UnknownError: Failed to execute 'transferToImageBitmap' on 'OffscreenCanvas': ImageBitmap construction failed
Making the image a little bit smaller didn't seem to help.
fetch request to https://dice-service.dndbeyond.com/diceuserconfig/v1/get {level: 'info', app: 'feywild', userId: '108322984', source: 'client', userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWeb…KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36', …}
global-error-77ac4ca9a3113bf6.js:1 Attempting to reinitialize socket {level: 'warn', app: 'feywild', userId: '108322984', source: 'client', userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWeb…KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36', …}
(anonymous) @ global-error-77ac4ca9a3113bf6.js:1
d @ global-error-77ac4ca9a3113bf6.js:1
warn @ global-error-77ac4ca9a3113bf6.js:1
initSocket @ 5091-450c6b13be0e37bd.js:1
(anonymous) @ page-19f9090511912c05.js:7
await in (anonymous)
global-error-77ac4ca9a3113bf6.js:1 initializing games page {level: 'info', app: 'feywild', userId: '108322984', source: 'client', userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWeb…KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36', …}
7005.12834971f870d1be.js:1 Uncaught (in promise) UnknownError: Failed to execute 'transferToImageBitmap' on 'OffscreenCanvas': ImageBitmap construction failed
-
View User Profile
-
View Posts
-
Send Message
ModeratorI’d recommend sharing that through the feedback links inside Maps itself, so it goes directly to the Maps team.
Need help with D&D Beyond? Come ask in the official D&D server on Discord: https://discord.gg/dnd
Link to this thread in the feedback, because I don't think the form will take that much text.
Cool - have done so - thanks for the pointer.
I kept on making things smaller and when it was down to 8.00 MB (8,399,178 bytes) it uploaded successfully.
Further info - I'm not sure it's the MB size of the file that is causing the problem, but possibly the dimensions of the image.
I can successfully upload a jpeg that is 17664 x 22784 pixels
I can't upload 20480 x 25600 pixels, even when the file size is down at 8mb.
Honestly at what point do you need that kind of resolution? What's your rough grid size?
I am using Dungeon Draft to make a map of the town, then exporting that out to a jpeg. The map is 80 x 100 squares, and I think that's what's setting the image dimensions. Exporting that at 10% quality gets me down to below 10MB. I've chopped a few of the outer squares off the map and that brings the exported image down to a size that allows it to upload, so all good.
There is a setting for 'Grid PPI' which is set at 256 pixels which I just ignored as I don't know what it does. If I drop that down a chunk would that reduce the image dimensions of the exported jpeg?
PPI is points/pixels per inch, like DPI being dots per inch. Gven that grids are all 1inch, yes definitely, reducing the number of pixels in a given grid cell would reduce the resolution of the image.
256 pixesl per inch, at 100 squares, is 25600 pixels across.
Cool - I can just crank that number down then and make things lots easier!
Thanks!