Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account
This post has been closed. You can still view previous posts, but you can't post any new replies.

Image Optimization and Enhancement for All Users

1739754137

Edited 1740182202
DIGI
Plus
Suggestion: Problem: Currently, uploading unoptimized images into Roll20 tends to result in large files (often ~4MB), which can lead to performance slowdowns and storage issues, especially for free users. Proposed Solution: Client-Side Image Optimization: Implement client-side image processing (e.g., using a library like Sharp.js ) to automatically optimize images before they are uploaded. This could include: Compression : Reduce image file size without significant quality loss. Format Conversion : Automatically convert to more efficient formats (e.g., WebP) when appropriate. Resizing : Resize images to user-friendly resolutions like 512x512 or 1024x1024 for use on the platform. Image Enhancement Options: Add an interface for users to enhance previously uploaded images, including: Adjustments to resolution, format, quality. Optional compression to reduce storage impact. Accessibility to All Users: Ensure these features are available to all users , not just pro subscribers. This will help all Roll20 users improve their game assets without needing a premium account. Benefits: Improved performance for all users, especially those with limited storage or bandwidth. Easier management of game assets with optimized images. Faster load times and better experience during gameplay. By adding image optimization and enhancement tools, Roll20 would create a more user-friendly and efficient platform for everyone, regardless of subscription level.
1739766665

Edited 1739766765
Gauss
Forum Champion
Hi Digi,  To be honest, I don't think Roll20 was designed with copy/pasting of images in any way.  It was always supposed to be uploaded images. Not pasting something from the clipboard.  In fact, I am kinda curious how you are doing this. I am not able to replicate copy/pasting of an image into Roll20. I can go into the upload process and select an image. I can drag an image into Roll20.  But if I screenshot and then try to paste that into Roll20 nothing happens. If I click on a saved image (such as an image I would normally upload), copy it, then try to paste it into Roll20 or an upload in Roll20 nothing happens. 
1739816033
Gold
Forum Champion
Like Gauss said, I'm not aware of Copy-Pasting images into Roll20 ever working.  As a side note, it will APPEAR to work in the Roll20 Forums, but doesn't actually work.  On the VTT it doesn't work at all (in my experience & testing to replicate), not on the map canvas, not in the chat room, not on Character avatars, not on Handout images, not on Card Deck images..  So how are you getting a 4MB upload from a copy-paste Digi? 
1740135941

Edited 1740136070
DIGI
Plus
its a browser feature that has a dialog box showing your last copy image and latest 3 downloaded items I use opera and I recall chrome having the same feature if enabled <a href="https://blogs.opera.com/desktop/2020/09/attach-files-with-wild-abandon-presenting-easy-files/" rel="nofollow">https://blogs.opera.com/desktop/2020/09/attach-files-with-wild-abandon-presenting-easy-files/</a> all you do is hit upload and select your clipboard option. I took a screenshot from a pdf to use as my background.
1740180916
Gold
Forum Champion
That browser feature probably just wouldn't work on Roll20, and isn't supported. If you can get it to work, that's great, but Opera isn't a supported browser and browser-extensions are warned to turn-off if they conflict. That feature you described (a persistent clipboard) is the same reason/idea as Copy-Paste of an image. Roll20 needs a JPG, PNG, or GIF file that's on your computer hard-drive, to accept as an upload into Roll20's image servers. It won't usually accept an image that's in your clipboard.&nbsp; From re-reading your initial suggestion ... I would suggest, if you need that, and if Roll20 doesn't implement your suggestion... in the meantime, as a work-around... you can optimize images yourself on your computer ("client-side") and choose whatever balance of quality, compression, and target filesize that you want. With a program, app, or website, there are many for Free or paid.&nbsp; On the server-side, just so you know, Roll20 always optimizes all images that you upload into 4 sizes (thumbnail, medium, max, and original). Roll20 VTT canvas only displays the size that is needed for the Zoom level that the viewer is looking. So your final bullet-point, "faster load times during gameplay", is already achieved by Roll20's current server-side technology.&nbsp;
1740181850

Edited 1740185683
DIGI
Plus
for those uninitiated on clipboard uploading works: this was provided per context as the question was asked "how", this is NOT an extension support as the clipboard upload works directly with upload file API as a "full quality png". I'm asking for a simple way of optimizing uploads pre and post upload, nothing more. and yes I am able to edit images client side - I own photoshop. sometimes its just easier this way. but once an image is uploaded, you CANNOT update it with a new/revised asset and maintain the same UUID this is about enhancing roll20 as to a wider audience, the file system is already dated and clunky, and managing the MB size limit is also an additional layer of frustration. image optimization can go a long way to reducing that friction for casual users. by introducing a destructive and limited optimization, reduces the burden on the user. example:
1742192550
Roll20 Dev Team
Pro
Marketplace Creator
Thanks for the suggestion! After 30 days, Suggestions and Ideas with fewer than 10 votes are closed and the votes are refunded to promote freshness. Your suggestion didn't build the right momentum this time, but feel free to submit it again! We find that the best suggestions describe the problem you are having, and the solution you want. You can learn more about the process of making suggestions on the Roll20 Wiki! More details can be found here .