SlideShare a Scribd company logo
1 of 16
Animation File Format

       CHAPTER 4
Concept of Compression
                                  SL
                                  4.2

 There are several methods can be implemented to
 compress animation, such as;

    Reducing aspect ratio; eg. from 640 x 480 to 320 x 240.

    Reducing frame rate; eg. from 30 fps to 15 fps.
CODEC
                          SL
                          4.3

 Compression/Decompression algorithm
  (CODEC) has been developed to reduce the file size
  and enables animation to be stored in one storage
  media, such as CD or hard disk.
 A codec is software that is used to compress or
  decompress a digital media file, such as a song or
  video.
CODEC
                                SL
                                4.4

 In general, CODEC runs compression and
 decompression of data, where data will be
 compressed into smaller packets so that it can be
 stored and distributed easily.
    Compression replaces pixels with mathematical instructions,
     resulting much smaller size of file.
    Decompression decodes the mathematical instruction back
     into pixels.
Data Compression
                                 SL
                                 4.5


 Example of data compression software:
   7 ZIP, Advance Comp, Bzip2, File Roller, Gzip, P7zip,
    PNGOUT, Pngcrush, Zlib, Winrar, Winzip,

    Sensor                TRANSMISSION                    Reconstructed
     Data                                                     Data

                 Compressed             Compressed
                    Data                   Data




             Compressor                    Decompressor

                              Storage
Lossy and Lossless
                                SL
                                4.6

 Lossless
   Lossless compression enables user to compress the size of
    animation without affecting the quality.
   Resulting much smaller compression ratio.

   Uses Run Length Encoding
     E.g:
      WWWWWWWWWWWWBWWWWWWWWWWWWBBBWWW
      WWWWWWWWWWWWWWWWWWWWWBWWWWWWWW
      WWWWWW
     =12W 1B 12W 3B 24W 1B 14W
Run Length Encoding
                                    SL
                                    4.7




              7      4          2                    7   3
                    Compression in Run Length Encoding




   ABBBBBBBBBCDEEEEF
Using RLE compression, the compressed file takes up 10 bytes and
could look like this:


                  A *8B C D *4E F
Lossy and Lossless
                                          SL
                                          4.8

 Lossy
   Lossy compression can reduce the size of file smaller than
    lossless compression.
   Resulting much larger compression ratio.

   Erasing some bit data may result low quality display in
    animation.
   Eg: JPEG

                    Original Image                    High compression
                    (lossless PNG, 60.1               (98% less
                    KB size) —                        information than
                    uncompressed is                   uncompressed
                    108.5 KB                          PNG, 1.14 KB
Compression/Decompression Standard
                                  SL
                                  4.9

 Motion Picture Expert Group (MPEG)
   MPEG use asymmetric algorithm where the mathematical
    instructions will determine data for each frames.

     MPEG will only recording location and moving object only,
      while static images will be recorded once and be used over and
      over again.
Compression/Decompression Standard
                                 SL
                                4.10

 Cinepak
   Using vector algorithm compression where it enables video
    clip or animation be played at a fast rate.


     Cinepak is a QuickTime software
Compression/Decompression Standard
                                      SL
                                     4.11

 Apple’s QuickTime
   Using lossy compression, it can produce compression at a ratio
    5:1 up to 25:1.

     Advantages:
       Plug-in for QuickTime (known as QuickTime Players) distributed
        free of charge.
       Does not require special equipment for playback or distribution.


     Disadvantages:
       Small display area.
       Requires large RAM and hard disk because of its large size of file.
Compression/Decompression Standard
                                  SL
                                 4.12

 SWF - Shockwave Flash
   Advantage : File size is small for a complex
    animation




 DCR – Interactive in nature
   Developed by Macromedia Director

   Used for distribution through web, due to its
    file size
Compression/Decompression Standard
                                   SL
                                  4.13

 MOV –
   Use to distribute animation file in video format

   Advantages :
     cross platform
     good quality of audio and video
      presentation


 AVI - Audio Video Interleave
   distributing animation file in video format

   quality of presentation is less compared to MOV
Compression/Decompression Standard
                                SL
                               4.14

 MPEG - to set standards for audio and video
  compression and transmission

 Have several levels of functionality:
   MPEG-1: Initial video and audio compression standard, used
    as the standard for Video CD and Layer 3 (MP3) audio
    compression format
   MPEG-2: video and audio standards for broadcast quality
    television. Used for digital television, digital satellite TV
    services, digital signals, and for DVD video discs.
Compression/Decompression Standard
                               SL
                              4.15

   MPEG-4: Expands MPEG-1 to support video, audio or 3D
    content.

   MPEG-7: A formal system for describing multimedia content.
Compression/Decompression Standard
                                     SL
                                    4.16

 GIF
   Factors that make GIF most commonly used:
       Support transparency to image.
       Animation played non-stop.
       Cross-platform.
       Doesn’t require any kind of plug-in.



     Disadvantages:
       Not supporting audio file format.
       No interactivity.
       Only 256 colors.

More Related Content

What's hot

simple video compression
simple video compression simple video compression
simple video compression LaLit DuBey
 
Motion graphics and_compositing_video_analysis_worksheet
Motion graphics and_compositing_video_analysis_worksheetMotion graphics and_compositing_video_analysis_worksheet
Motion graphics and_compositing_video_analysis_worksheetClaySkorski
 
video_compression_2004
video_compression_2004video_compression_2004
video_compression_2004aniruddh Tyagi
 
Video Compression Basics by sahil jain
Video Compression Basics by sahil jainVideo Compression Basics by sahil jain
Video Compression Basics by sahil jainSahil Jain
 
Technical Aspects of Digital Video
Technical Aspects of Digital VideoTechnical Aspects of Digital Video
Technical Aspects of Digital VideoWatson Leese
 
Digital Video
Digital VideoDigital Video
Digital VideoVideoguy
 
Adaptive playoutnov10 2011
Adaptive playoutnov10 2011Adaptive playoutnov10 2011
Adaptive playoutnov10 2011msinky
 
MPEG Compression Standards
MPEG Compression StandardsMPEG Compression Standards
MPEG Compression StandardsAjay
 
Avlm 2009 Compression Erik Luyten
Avlm 2009  Compression   Erik LuytenAvlm 2009  Compression   Erik Luyten
Avlm 2009 Compression Erik Luytenavlm2009avnet
 
Analysis sheet web banner
Analysis sheet web bannerAnalysis sheet web banner
Analysis sheet web bannerJoe Hayes
 
Analysis sheet title and credit sequence
Analysis sheet title and credit sequenceAnalysis sheet title and credit sequence
Analysis sheet title and credit sequenceJoe Hayes
 
Tutorial about how to convert powerpoint to dvd
 Tutorial about how to convert powerpoint to dvd Tutorial about how to convert powerpoint to dvd
Tutorial about how to convert powerpoint to dvdcrysatal16
 

What's hot (20)

simple video compression
simple video compression simple video compression
simple video compression
 
Xmen analysis
Xmen analysisXmen analysis
Xmen analysis
 
Motion graphics and_compositing_video_analysis_worksheet
Motion graphics and_compositing_video_analysis_worksheetMotion graphics and_compositing_video_analysis_worksheet
Motion graphics and_compositing_video_analysis_worksheet
 
video_compression_2004
video_compression_2004video_compression_2004
video_compression_2004
 
Video Compression Basics by sahil jain
Video Compression Basics by sahil jainVideo Compression Basics by sahil jain
Video Compression Basics by sahil jain
 
Web banner
Web bannerWeb banner
Web banner
 
Technical Aspects of Digital Video
Technical Aspects of Digital VideoTechnical Aspects of Digital Video
Technical Aspects of Digital Video
 
Worksheet 1
Worksheet 1Worksheet 1
Worksheet 1
 
Digital Video
Digital VideoDigital Video
Digital Video
 
Adaptive playoutnov10 2011
Adaptive playoutnov10 2011Adaptive playoutnov10 2011
Adaptive playoutnov10 2011
 
MPEG Compression Standards
MPEG Compression StandardsMPEG Compression Standards
MPEG Compression Standards
 
Avlm 2009 Compression Erik Luyten
Avlm 2009  Compression   Erik LuytenAvlm 2009  Compression   Erik Luyten
Avlm 2009 Compression Erik Luyten
 
Sherlock End Credits
Sherlock End Credits Sherlock End Credits
Sherlock End Credits
 
Analysis sheet web banner
Analysis sheet web bannerAnalysis sheet web banner
Analysis sheet web banner
 
Greenstreeet
GreenstreeetGreenstreeet
Greenstreeet
 
Filmpostprodmantest
FilmpostprodmantestFilmpostprodmantest
Filmpostprodmantest
 
85 videocompress
85 videocompress85 videocompress
85 videocompress
 
Analysis sheet title and credit sequence
Analysis sheet title and credit sequenceAnalysis sheet title and credit sequence
Analysis sheet title and credit sequence
 
Tutorial about how to convert powerpoint to dvd
 Tutorial about how to convert powerpoint to dvd Tutorial about how to convert powerpoint to dvd
Tutorial about how to convert powerpoint to dvd
 
Unit iv
Unit ivUnit iv
Unit iv
 

Viewers also liked

Partner excellence china distributor_portal_plan
Partner excellence china distributor_portal_planPartner excellence china distributor_portal_plan
Partner excellence china distributor_portal_plancorruptedash
 
TMD2063 | Digital Animation — Chapter 1
TMD2063 | Digital Animation — Chapter 1TMD2063 | Digital Animation — Chapter 1
TMD2063 | Digital Animation — Chapter 1Diyana Harithuddin
 
TMD2063 | Digital Animation - Chapter 2
TMD2063 | Digital Animation - Chapter 2TMD2063 | Digital Animation - Chapter 2
TMD2063 | Digital Animation - Chapter 2Diyana Harithuddin
 
TMD2063 | Digital Animation - Chapter 3
TMD2063 | Digital Animation - Chapter 3TMD2063 | Digital Animation - Chapter 3
TMD2063 | Digital Animation - Chapter 3Diyana Harithuddin
 
multimedia data and file format
multimedia data and file formatmultimedia data and file format
multimedia data and file formatALOK SAHNI
 
How To Make An Effective Presentation
How To Make An Effective PresentationHow To Make An Effective Presentation
How To Make An Effective Presentationbrianbelen
 
multimedia technologies Introduction
multimedia technologies Introductionmultimedia technologies Introduction
multimedia technologies IntroductionMohammed Fareed
 
Introduction to Animation
Introduction to AnimationIntroduction to Animation
Introduction to Animationmrnasim
 

Viewers also liked (11)

Partner excellence china distributor_portal_plan
Partner excellence china distributor_portal_planPartner excellence china distributor_portal_plan
Partner excellence china distributor_portal_plan
 
TMD2063 | Digital Animation — Chapter 1
TMD2063 | Digital Animation — Chapter 1TMD2063 | Digital Animation — Chapter 1
TMD2063 | Digital Animation — Chapter 1
 
TMD2063 | Digital Animation - Chapter 2
TMD2063 | Digital Animation - Chapter 2TMD2063 | Digital Animation - Chapter 2
TMD2063 | Digital Animation - Chapter 2
 
Ch07
Ch07Ch07
Ch07
 
TMD2063 | Digital Animation - Chapter 3
TMD2063 | Digital Animation - Chapter 3TMD2063 | Digital Animation - Chapter 3
TMD2063 | Digital Animation - Chapter 3
 
Multimedia chapter 5
Multimedia chapter 5Multimedia chapter 5
Multimedia chapter 5
 
multimedia data and file format
multimedia data and file formatmultimedia data and file format
multimedia data and file format
 
How To Make An Effective Presentation
How To Make An Effective PresentationHow To Make An Effective Presentation
How To Make An Effective Presentation
 
multimedia technologies Introduction
multimedia technologies Introductionmultimedia technologies Introduction
multimedia technologies Introduction
 
File formats
File formatsFile formats
File formats
 
Introduction to Animation
Introduction to AnimationIntroduction to Animation
Introduction to Animation
 

Similar to TMD2063 | Digital Animation — Chapter 4

Similar to TMD2063 | Digital Animation — Chapter 4 (20)

Video
VideoVideo
Video
 
CHAPTER – 6 Video
CHAPTER – 6    VideoCHAPTER – 6    Video
CHAPTER – 6 Video
 
Multimedia lossy compression
Multimedia lossy compressionMultimedia lossy compression
Multimedia lossy compression
 
MPEG video compression standard
MPEG video compression standardMPEG video compression standard
MPEG video compression standard
 
Ch07_-_Multimedia_Element-Video_1_.ppt
Ch07_-_Multimedia_Element-Video_1_.pptCh07_-_Multimedia_Element-Video_1_.ppt
Ch07_-_Multimedia_Element-Video_1_.ppt
 
Mm video
Mm videoMm video
Mm video
 
Video Workshop by Frederick Rodrigues
Video Workshop by Frederick RodriguesVideo Workshop by Frederick Rodrigues
Video Workshop by Frederick Rodrigues
 
Mm Unit 4
Mm Unit 4Mm Unit 4
Mm Unit 4
 
3
33
3
 
Dcp
DcpDcp
Dcp
 
Chap55
Chap55Chap55
Chap55
 
Unit 3 Lesson 11
Unit 3 Lesson 11Unit 3 Lesson 11
Unit 3 Lesson 11
 
Chap62
Chap62Chap62
Chap62
 
Digital video
Digital videoDigital video
Digital video
 
Video compression
Video compressionVideo compression
Video compression
 
Compression
CompressionCompression
Compression
 
Project presentation image compression by manish myst, ssgbcoet
Project presentation image compression by manish myst, ssgbcoetProject presentation image compression by manish myst, ssgbcoet
Project presentation image compression by manish myst, ssgbcoet
 
Vste r2
Vste r2Vste r2
Vste r2
 
10lecture10datacompression-171023182241.pdf
10lecture10datacompression-171023182241.pdf10lecture10datacompression-171023182241.pdf
10lecture10datacompression-171023182241.pdf
 
lecture on data compression
lecture on data compressionlecture on data compression
lecture on data compression
 

Recently uploaded

Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsManeerUddin
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 

Recently uploaded (20)

Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture hons
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 

TMD2063 | Digital Animation — Chapter 4

  • 2. Concept of Compression SL 4.2  There are several methods can be implemented to compress animation, such as;  Reducing aspect ratio; eg. from 640 x 480 to 320 x 240.  Reducing frame rate; eg. from 30 fps to 15 fps.
  • 3. CODEC SL 4.3  Compression/Decompression algorithm (CODEC) has been developed to reduce the file size and enables animation to be stored in one storage media, such as CD or hard disk.  A codec is software that is used to compress or decompress a digital media file, such as a song or video.
  • 4. CODEC SL 4.4  In general, CODEC runs compression and decompression of data, where data will be compressed into smaller packets so that it can be stored and distributed easily.  Compression replaces pixels with mathematical instructions, resulting much smaller size of file.  Decompression decodes the mathematical instruction back into pixels.
  • 5. Data Compression SL 4.5  Example of data compression software:  7 ZIP, Advance Comp, Bzip2, File Roller, Gzip, P7zip, PNGOUT, Pngcrush, Zlib, Winrar, Winzip, Sensor TRANSMISSION Reconstructed Data Data Compressed Compressed Data Data Compressor Decompressor Storage
  • 6. Lossy and Lossless SL 4.6  Lossless  Lossless compression enables user to compress the size of animation without affecting the quality.  Resulting much smaller compression ratio.  Uses Run Length Encoding  E.g: WWWWWWWWWWWWBWWWWWWWWWWWWBBBWWW WWWWWWWWWWWWWWWWWWWWWBWWWWWWWW WWWWWW  =12W 1B 12W 3B 24W 1B 14W
  • 7. Run Length Encoding SL 4.7 7 4 2 7 3 Compression in Run Length Encoding ABBBBBBBBBCDEEEEF Using RLE compression, the compressed file takes up 10 bytes and could look like this: A *8B C D *4E F
  • 8. Lossy and Lossless SL 4.8  Lossy  Lossy compression can reduce the size of file smaller than lossless compression.  Resulting much larger compression ratio.  Erasing some bit data may result low quality display in animation.  Eg: JPEG Original Image High compression (lossless PNG, 60.1 (98% less KB size) — information than uncompressed is uncompressed 108.5 KB PNG, 1.14 KB
  • 9. Compression/Decompression Standard SL 4.9  Motion Picture Expert Group (MPEG)  MPEG use asymmetric algorithm where the mathematical instructions will determine data for each frames.  MPEG will only recording location and moving object only, while static images will be recorded once and be used over and over again.
  • 10. Compression/Decompression Standard SL 4.10  Cinepak  Using vector algorithm compression where it enables video clip or animation be played at a fast rate.  Cinepak is a QuickTime software
  • 11. Compression/Decompression Standard SL 4.11  Apple’s QuickTime  Using lossy compression, it can produce compression at a ratio 5:1 up to 25:1.  Advantages:  Plug-in for QuickTime (known as QuickTime Players) distributed free of charge.  Does not require special equipment for playback or distribution.  Disadvantages:  Small display area.  Requires large RAM and hard disk because of its large size of file.
  • 12. Compression/Decompression Standard SL 4.12  SWF - Shockwave Flash  Advantage : File size is small for a complex animation  DCR – Interactive in nature  Developed by Macromedia Director  Used for distribution through web, due to its file size
  • 13. Compression/Decompression Standard SL 4.13  MOV –  Use to distribute animation file in video format  Advantages :  cross platform  good quality of audio and video presentation  AVI - Audio Video Interleave  distributing animation file in video format  quality of presentation is less compared to MOV
  • 14. Compression/Decompression Standard SL 4.14  MPEG - to set standards for audio and video compression and transmission  Have several levels of functionality:  MPEG-1: Initial video and audio compression standard, used as the standard for Video CD and Layer 3 (MP3) audio compression format  MPEG-2: video and audio standards for broadcast quality television. Used for digital television, digital satellite TV services, digital signals, and for DVD video discs.
  • 15. Compression/Decompression Standard SL 4.15  MPEG-4: Expands MPEG-1 to support video, audio or 3D content.  MPEG-7: A formal system for describing multimedia content.
  • 16. Compression/Decompression Standard SL 4.16  GIF  Factors that make GIF most commonly used:  Support transparency to image.  Animation played non-stop.  Cross-platform.  Doesn’t require any kind of plug-in.  Disadvantages:  Not supporting audio file format.  No interactivity.  Only 256 colors.