p5.js icon indicating copy to clipboard operation
p5.js copied to clipboard

returnBlobOnly parameter in saveGif function

Open VatoGamtsemlidze opened this issue 1 year ago • 3 comments

Increasing Access

Unsure

Most appropriate sub-area of p5.js?

  • [ ] Accessibility
  • [ ] Color
  • [ ] Core/Environment/Rendering
  • [ ] Data
  • [ ] DOM
  • [ ] Events
  • [ ] Image
  • [ ] IO
  • [ ] Math
  • [ ] Typography
  • [ ] Utilities
  • [ ] WebGL
  • [ ] Build Process
  • [ ] Unit Testing
  • [ ] Internalization
  • [ ] Friendly Errors
  • [ ] Other (specify if possible)

Feature request details

Adding returnBlobOnly boolean parameter on saveGif function.

This feature will give ability to render a gif and keep the blob in memory, instead of downloading it directly in the browser.

.

Example use cases:

  • Save the blob to the database/storage
  • Split the render and download process so that the user can download the rendered gif at a later time via a different interaction
  • Display the blob in an image tag (instead of canvas, which can't be saved to desktop with right click)

VatoGamtsemlidze avatar Jan 17 '24 13:01 VatoGamtsemlidze

Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, please make sure to fill out the inputs in the issue forms. Thank you!

welcome[bot] avatar Jan 17 '24 13:01 welcome[bot]

is this issue open??

Dhruv-ZHCET avatar Jan 19 '24 16:01 Dhruv-ZHCET

Yes its open, it's feature request.

VatoGamtsemlidze avatar Jan 25 '24 09:01 VatoGamtsemlidze