This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-06-15 18:15:21

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Compressing

What exactly does compressing do besides use less space?


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#2 2012-06-15 18:54:21

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: Compressing

That's all it does.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#3 2012-06-15 18:59:24

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Re: Compressing

How, though?  It's the same amount of binary space...


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#4 2012-06-15 19:14:31

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: Compressing

I think that if a background is all white, it remembers that, and it blends image pixels and audio frames, etc.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#5 2012-06-15 19:40:16

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: Compressing


http://trinary.tk/images/signature_.php

Offline

 

#6 2012-07-09 00:29:35

lhlien
Scratcher
Registered: 2012-02-05
Posts: 23

Re: Compressing

Pretend you were to write a sentence. Ex: The big, furry, cat walked. Compression is like that, just with binary. The previous sentence would be like: The cat walked. The details were taken out, but the main sentence structure is the same.


http://s1162.beta.photobucket.com/user/Victini999/media/e350abb2.png.html

Offline

 

#7 2012-07-09 19:38:00

zbugni
Scratcher
Registered: 2008-12-13
Posts: 500+

Re: Compressing

Sorta reduces quality and blends things together, I'd reccomend it for a big project but not for a smaller one.

Offline

 

#8 2012-07-09 21:22:17

SJRCS_011
Scratcher
Registered: 2011-02-07
Posts: 1000+

Re: Compressing

lhlien wrote:

Pretend you were to write a sentence. Ex: The big, furry, cat walked. Compression is like that, just with binary. The previous sentence would be like: The cat walked. The details were taken out, but the main sentence structure is the same.

Somewhat  tongue
That's what lossy compression does.  It eliminates detail, resulting in a smaller filesize, but lower quality.
Lossless compression (which doesn't lose quality [theoretically]) takes similar bytes and merges them.  This, however, doesn't compress a file as much.


http://i.imgur.com/vQqtH.png
Learning to Program in a Nutshell:  "You're missing a closing parentheses" - LS97

Offline

 

#9 2012-07-09 21:35:16

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: Compressing

With lossy compression like jpeg and mp3, you lose data, but depending on the algorithms, it tries to remove data you won't notice  smile


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#10 2012-07-10 09:53:46

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Compressing

In the case of images, it reduces their quality

Offline

 

#11 2012-07-10 10:18:25

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Re: Compressing

Ok thanks.


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#12 2012-07-10 10:30:11

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Compressing

Closed by request of the topic owner


http://i39.tinypic.com/2nav6o7.gif

Offline

 

Board footer