Discuss Scratch

Vetzlan
Scratcher
100+ posts

WebM and WebP support in the editor

Hello!

Lately Chrome has only offered multimedia and image downloads exclusively in WebM and WebP.
Although this is an inconvenience by itself, it's an even bigger inconvenience for Chromebook users, because the built-in browser (Chrome) downloads images and audios exclusively in WebP and WebM in all computers.

Plus, implementation is very simple, because WebP files can be renamed to .PNG files and retain their functionality, and WebM files can be renamed to .MP3 and also retain their functionality. If this is implemented, there won't be support for video WebM files.

Last edited by Vetzlan (Oct. 27, 2022 16:52:30)

dhuls
Scratcher
1000+ posts

WebM and WebP support in the editor

Vetzlan wrote:

it's an even bigger inconvenience for Chromebook users, because the built-in browser (Chrome) downloads images and audios exclusively in WebP and WebM.
I highly doubt that's true

Also WebM files are video files, and not as common as MP4 files, which Scratch also doesn't support.
48kxzh0tzz_____
Scratcher
100+ posts

WebM and WebP support in the editor

Support! There is too many types of files and too little files that Scratch supports, but I know this is going to be common now because lots of people use Chromebooks even though I'm now a proud Windows user. /g
The_Game_
Scratcher
1000+ posts

WebM and WebP support in the editor

When downloading an image choose “save as” and put .png or .jpeg at the end of the file name. It auto converts it to that file. So no support.
SavetheAtlantic
Scratcher
1000+ posts

WebM and WebP support in the editor

dhuls wrote:

Also WebM files are video files, and not as common as MP4 files, which Scratch also doesn't support.
WebM can also be pure audio files as well, much like OGG.

Last edited by SavetheAtlantic (Oct. 27, 2022 03:40:40)

OhOkSir12345
Scratcher
1000+ posts

WebM and WebP support in the editor

The_Game_ wrote:

When downloading an image choose “save as” and put .png or .jpeg at the end of the file name. It auto converts it to that file. So no support.
Thats only a chromebook feature
-Valtren-
Scratcher
1000+ posts

WebM and WebP support in the editor

OhOkSir12345 wrote:

The_Game_ wrote:

When downloading an image choose “save as” and put .png or .jpeg at the end of the file name. It auto converts it to that file. So no support.
Thats only a chromebook feature
most scratchers use scratch on a chromebook
Airbusa380airplane3
Scratcher
1 post

WebM and WebP support in the editor

even in windows if you save as .png on a webp it opens (bug i think) but useful
Oisthebestletter
Scratcher
100+ posts

WebM and WebP support in the editor

OhOkSir12345 wrote:

The_Game_ wrote:

When downloading an image choose “save as” and put .png or .jpeg at the end of the file name. It auto converts it to that file. So no support.
Thats only a chromebook feature
No, it works for me.
My browser / operating system: MacOS Macintosh X 10.15.7, Chrome 131.0.0.0, No Flash versions detected
Vetzlan
Scratcher
100+ posts

WebM and WebP support in the editor

Woah, I just remembered this suggestion
BigNate469
Scratcher
1000+ posts

WebM and WebP support in the editor

Vetzlan wrote:

Plus, implementation is very simple, because WebP files can be renamed to .PNG files and retain their functionality,
As someone with experience in web development, it's not that simple.

When you do this in a file manager, your OS detects the file extension change and converts the file from one format to another. In the background it's actually running a fairly complex algorithm, however due to the speed of modern computers and the fact that this isn't generally exposed user-side, people don't notice this.

Thankfully your browser is also fast and ships with codecs to do just that- but it's still a bit more complicated than just renaming it. It typically involves uploading the file (in the case of images) into an <img> element, pasting that data (which can now be read from the webpage uncompressed as a list of red, green, blue and alpha (transparency) values) into a <canvas> element, and then saving the file in the desired format. The browser typically handles the complex backend of trying to do that.

Vetzlan wrote:

and WebM files can be renamed to .MP3 and also retain their functionality
See above point about this. Additionally, not all WebM files can actually be converted to .MP3 due to some WebM files containing video.

Also, I can't replicate this on my Chromebook- I can download plenty of things just fine as PNG files from canvases, and most images also download in the format they're in.

Powered by DjangoBB