Discuss Scratch

Flowermanvista
Scratcher
1000+ posts

Stop Wasting Space - Stop Upscaling Uploaded Images

I was making a demo project showcasing full-motion video on Scratch, and I downloaded the project to my computer as a safeguard against an editor crash or the project refusing to save.

All of the project's assets at that point were only about 5 MiB total. However, when I downloaded the project, I saw that the size had ballooned to a staggering 88.6 MiB. I opened up the project in an archive program to see what had happened, and I discovered that Scratch had nearest-neighbor upscaled every single image by 200%, and then resaved them as jpg, incurring quality loss. A test I did tells me that it might be using lossless JPEG, which is a thing, by the way, but it's still an asinine choice.

My suggestion is that all JPEG images imported into the editor should not be reprocessed in this manner, but instead saved in their original format, and the same should be done for PNG images, which are subject to similar processing. Implementing this will result in less server load because of smaller projects, faster editing, and happier Scratchers. It will also help out Scratchers who are using sub-par hardware or internet connections.

Last edited by Flowermanvista (July 23, 2020 03:05:02)


ST, Please Add A Warning When A Size Limit Is Exceeded

Want to put a high-quality video in your project with better results than you can get from any GIF converter? Ask me on my profile and I can hook you up.

My Dumb Creations - THE BEST ANIMATION | The Windows 98 Experience (made on Windows 98) | nobody cares about Me… | the2000 Reveals Their New Profile Picture | Not Dumb Creations - Ten Years

Ctrl+Shift+Down for more…
Do evil kumquats keep eating your signature? Assert your dominance and eat the evil kumquats. Did you know that kumquats are only about the size of an olive?
CatsUnited
Scratcher
1000+ posts

Stop Wasting Space - Stop Upscaling Uploaded Images

Support. This would be a good optimisation to have and it improves image quality. I don't see a reason why this shouldn't be added in.
Flowermanvista
Scratcher
1000+ posts

Stop Wasting Space - Stop Upscaling Uploaded Images

After a quick test, I have discovered that Scratch also does this with PNG images - in the test case I used, the file size increased from 10 kB to 22.3 kB. The suggestion has been renamed appropriately.

ST, Please Add A Warning When A Size Limit Is Exceeded

Want to put a high-quality video in your project with better results than you can get from any GIF converter? Ask me on my profile and I can hook you up.

My Dumb Creations - THE BEST ANIMATION | The Windows 98 Experience (made on Windows 98) | nobody cares about Me… | the2000 Reveals Their New Profile Picture | Not Dumb Creations - Ten Years

Ctrl+Shift+Down for more…
Do evil kumquats keep eating your signature? Assert your dominance and eat the evil kumquats. Did you know that kumquats are only about the size of an olive?
BlueStarPort
Scratcher
100+ posts

Stop Wasting Space - Stop Upscaling Uploaded Images

Support. It's kind of bad that they are upscaling images and making the quality worse, and also making it take up space.
Flowermanvista
Scratcher
1000+ posts

Stop Wasting Space - Stop Upscaling Uploaded Images

bump

ST, Please Add A Warning When A Size Limit Is Exceeded

Want to put a high-quality video in your project with better results than you can get from any GIF converter? Ask me on my profile and I can hook you up.

My Dumb Creations - THE BEST ANIMATION | The Windows 98 Experience (made on Windows 98) | nobody cares about Me… | the2000 Reveals Their New Profile Picture | Not Dumb Creations - Ten Years

Ctrl+Shift+Down for more…
Do evil kumquats keep eating your signature? Assert your dominance and eat the evil kumquats. Did you know that kumquats are only about the size of an olive?
Flowermanvista
Scratcher
1000+ posts

Stop Wasting Space - Stop Upscaling Uploaded Images

bump

ST, Please Add A Warning When A Size Limit Is Exceeded

Want to put a high-quality video in your project with better results than you can get from any GIF converter? Ask me on my profile and I can hook you up.

My Dumb Creations - THE BEST ANIMATION | The Windows 98 Experience (made on Windows 98) | nobody cares about Me… | the2000 Reveals Their New Profile Picture | Not Dumb Creations - Ten Years

Ctrl+Shift+Down for more…
Do evil kumquats keep eating your signature? Assert your dominance and eat the evil kumquats. Did you know that kumquats are only about the size of an olive?
Flowermanvista
Scratcher
1000+ posts

Stop Wasting Space - Stop Upscaling Uploaded Images

bump

ST, Please Add A Warning When A Size Limit Is Exceeded

Want to put a high-quality video in your project with better results than you can get from any GIF converter? Ask me on my profile and I can hook you up.

My Dumb Creations - THE BEST ANIMATION | The Windows 98 Experience (made on Windows 98) | nobody cares about Me… | the2000 Reveals Their New Profile Picture | Not Dumb Creations - Ten Years

Ctrl+Shift+Down for more…
Do evil kumquats keep eating your signature? Assert your dominance and eat the evil kumquats. Did you know that kumquats are only about the size of an olive?
Flowermanvista
Scratcher
1000+ posts

Stop Wasting Space - Stop Upscaling Uploaded Images

bump

ST, Please Add A Warning When A Size Limit Is Exceeded

Want to put a high-quality video in your project with better results than you can get from any GIF converter? Ask me on my profile and I can hook you up.

My Dumb Creations - THE BEST ANIMATION | The Windows 98 Experience (made on Windows 98) | nobody cares about Me… | the2000 Reveals Their New Profile Picture | Not Dumb Creations - Ten Years

Ctrl+Shift+Down for more…
Do evil kumquats keep eating your signature? Assert your dominance and eat the evil kumquats. Did you know that kumquats are only about the size of an olive?
Flowermanvista
Scratcher
1000+ posts

Stop Wasting Space - Stop Upscaling Uploaded Images

bump again, maybe the buggy forums will actually bump it this time

ST, Please Add A Warning When A Size Limit Is Exceeded

Want to put a high-quality video in your project with better results than you can get from any GIF converter? Ask me on my profile and I can hook you up.

My Dumb Creations - THE BEST ANIMATION | The Windows 98 Experience (made on Windows 98) | nobody cares about Me… | the2000 Reveals Their New Profile Picture | Not Dumb Creations - Ten Years

Ctrl+Shift+Down for more…
Do evil kumquats keep eating your signature? Assert your dominance and eat the evil kumquats. Did you know that kumquats are only about the size of an olive?
Flowermanvista
Scratcher
1000+ posts

Stop Wasting Space - Stop Upscaling Uploaded Images

bump

ST, Please Add A Warning When A Size Limit Is Exceeded

Want to put a high-quality video in your project with better results than you can get from any GIF converter? Ask me on my profile and I can hook you up.

My Dumb Creations - THE BEST ANIMATION | The Windows 98 Experience (made on Windows 98) | nobody cares about Me… | the2000 Reveals Their New Profile Picture | Not Dumb Creations - Ten Years

Ctrl+Shift+Down for more…
Do evil kumquats keep eating your signature? Assert your dominance and eat the evil kumquats. Did you know that kumquats are only about the size of an olive?
Flowermanvista
Scratcher
1000+ posts

Stop Wasting Space - Stop Upscaling Uploaded Images

^

ST, Please Add A Warning When A Size Limit Is Exceeded

Want to put a high-quality video in your project with better results than you can get from any GIF converter? Ask me on my profile and I can hook you up.

My Dumb Creations - THE BEST ANIMATION | The Windows 98 Experience (made on Windows 98) | nobody cares about Me… | the2000 Reveals Their New Profile Picture | Not Dumb Creations - Ten Years

Ctrl+Shift+Down for more…
Do evil kumquats keep eating your signature? Assert your dominance and eat the evil kumquats. Did you know that kumquats are only about the size of an olive?
BlueStarPort
Scratcher
100+ posts

Stop Wasting Space - Stop Upscaling Uploaded Images

bump (it's on 2nd page)
AFNNetworkK12
Scratcher
1000+ posts

Stop Wasting Space - Stop Upscaling Uploaded Images

BlueStarPort wrote:

bump (it's on 2nd page)
* every 24 hours please *

AFN!


| Okay | Hobbyist | Introvert | Active | OK! |


HELLO
BlueStarPort
Scratcher
100+ posts

Stop Wasting Space - Stop Upscaling Uploaded Images

AFNNetworkK12 wrote:

BlueStarPort wrote:

bump (it's on 2nd page)
* every 24 hours please *
It can be bumped if it's on the 2nd page.
Flowermanvista
Scratcher
1000+ posts

Stop Wasting Space - Stop Upscaling Uploaded Images

bump

ST, Please Add A Warning When A Size Limit Is Exceeded

Want to put a high-quality video in your project with better results than you can get from any GIF converter? Ask me on my profile and I can hook you up.

My Dumb Creations - THE BEST ANIMATION | The Windows 98 Experience (made on Windows 98) | nobody cares about Me… | the2000 Reveals Their New Profile Picture | Not Dumb Creations - Ten Years

Ctrl+Shift+Down for more…
Do evil kumquats keep eating your signature? Assert your dominance and eat the evil kumquats. Did you know that kumquats are only about the size of an olive?
BlueStarPort
Scratcher
100+ posts

Stop Wasting Space - Stop Upscaling Uploaded Images

bump (2nd page)
DaEpikDude
Scratcher
1000+ posts

Stop Wasting Space - Stop Upscaling Uploaded Images

Flowermanvista wrote:

I discovered that Scratch had nearest-neighbor upscaled every single image by 200%, and then resaved them as jpg, incurring quality loss.
Oh, is THAT why importing images into Scratch is so terrible?

Definite support, if it's not really annoying to do for some reason. If the image is in the format that Scratch is apparently using anyway, why would you go through all this processing?
I remember at one point downloading some costumes I made ON SCRATCH, importing them into an offline project, and the 200% scaling thing happened. Why!?

And all the world over, each nation's the same,
They've simply no notion of playing the game.
They argue with umpires, they cheer when they've won,
And they practice beforehand, which ruins the fun!
Flowermanvista
Scratcher
1000+ posts

Stop Wasting Space - Stop Upscaling Uploaded Images

bump

ST, Please Add A Warning When A Size Limit Is Exceeded

Want to put a high-quality video in your project with better results than you can get from any GIF converter? Ask me on my profile and I can hook you up.

My Dumb Creations - THE BEST ANIMATION | The Windows 98 Experience (made on Windows 98) | nobody cares about Me… | the2000 Reveals Their New Profile Picture | Not Dumb Creations - Ten Years

Ctrl+Shift+Down for more…
Do evil kumquats keep eating your signature? Assert your dominance and eat the evil kumquats. Did you know that kumquats are only about the size of an olive?
Flowermanvista
Scratcher
1000+ posts

Stop Wasting Space - Stop Upscaling Uploaded Images

bump

ST, Please Add A Warning When A Size Limit Is Exceeded

Want to put a high-quality video in your project with better results than you can get from any GIF converter? Ask me on my profile and I can hook you up.

My Dumb Creations - THE BEST ANIMATION | The Windows 98 Experience (made on Windows 98) | nobody cares about Me… | the2000 Reveals Their New Profile Picture | Not Dumb Creations - Ten Years

Ctrl+Shift+Down for more…
Do evil kumquats keep eating your signature? Assert your dominance and eat the evil kumquats. Did you know that kumquats are only about the size of an olive?
Flowermanvista
Scratcher
1000+ posts

Stop Wasting Space - Stop Upscaling Uploaded Images

bump

ST, Please Add A Warning When A Size Limit Is Exceeded

Want to put a high-quality video in your project with better results than you can get from any GIF converter? Ask me on my profile and I can hook you up.

My Dumb Creations - THE BEST ANIMATION | The Windows 98 Experience (made on Windows 98) | nobody cares about Me… | the2000 Reveals Their New Profile Picture | Not Dumb Creations - Ten Years

Ctrl+Shift+Down for more…
Do evil kumquats keep eating your signature? Assert your dominance and eat the evil kumquats. Did you know that kumquats are only about the size of an olive?

Powered by DjangoBB

Standard | Mobile