Menu Expand
Digital Media Primer: International Edition

Digital Media Primer: International Edition

Yue-Ling Wong

(2013)

Additional Information

Book Details

Abstract

Digital Media encompasses a wide variety of topics including: the study of image, sound, and video processing, compression, interactive multimedia development, and advanced web programming. Digital Media Primer is designed for students from all disciplines interested in learning the foundational concepts and basic techniques in digital media production. This edition has been expanded so that while students learn the concepts and techniques of digital media production, they will also learn basic computer programming skills. 

 

The Primer is not tied to a specific application program like Flash or Photoshop; instead, the author introduces tools and techniques using a task-based approach and provides the rationale for the techniques. This way, the skills students learn are transferable to whatever tool they end up using or have access to. For students that do not know how to navigate certain tools, Wong provides brief Application tutorials as supplemental material.

 

Instructor/Student resources include: web-based interactive material, worksheets, programming assignments, demos, solutions to exercises, lecture notes and exam questions.



Table of Contents

Section Title Page Action Price
Cover Cover
TABLE OF CONTENTS 4
PREFACE 17
CHAPTER 1 BACKGROUND 27
Key Concepts 28
General Learning Objectives 28
1.1 Introduction 28
1.1.1 Relevance of Binary Notation, Bits, and Bytes to Digital Media Studies 29
1.2 Analog versus Digital Representations 29
1.2.1 Analog Information 30
1.2.2 Digital Data 31
1.3 Bits 32
1.3.1 Prefixes 32
1.4 Using Bits to Represent Numeric Values 34
1.4.1 Base-10 34
1.4.2 Base-2 35
1.5 Using Bits to Represent Non-Numeric Values 36
1.6 The Finite and Discrete Nature of Computers 37
1.6.1 Limitations 37
1.6.2 Advantages 38
1.7 Converting Analog to Digital 38
1.7.1 Problems in Representing Analog Media on Computers 41
1.8 File Sizes 41
1.9 Compression 42
1.9.1 Lossy and Lossless Compression 43
1.10 Summary 44
Terms 44
Learning Aids 45
Review Questions 45
CHAPTER 2 FUNDAMENTALS OF DIGITAL IMAGING 49
Key Concepts 50
General Learning Objectives 50
2.1 Introduction 50
2.2 Digitizing Images 51
2.2.1 Step 1: Sampling 51
2.2.2 Step 2: Quantizing 53
2.3 Bitmapped Images 57
2.4 Vector Graphics 57
2.5 File Types of Digital Images 59
2.6 Digital Image File Size and Optimization 59
2.7 Color Representation 64
2.7.1 RGB Color Model 64
2.7.2 CMYK Color Model 69
2.7.3 HSB Color Model 70
2.7.4 CIE XYZ 71
2.7.5 Other Color Models 73
2.8 Color Modes 73
2.9 Difficulties in Reproducing Colors in Digital Images 77
2.10 Summary 78
Terms 79
Learning Aids 79
Review Questions 80
CHAPTER 3 CAPTURING AND EDITING DIGITAL IMAGES 83
Key Concepts 84
General Learning Objectives 84
3.1 Introduction 84
3.2 Scanners 84
3.3 Capturing Digital Images by Scanning 85
3.3.1 Scanning Resolution Determination 86
3.3.2 Tonal Adjustments 89
3.4 Capturing Digital Images by Digital Photography 90
3.4.1 Megapixels 90
3.4.2 Digital Cameras 93
3.5 Digital Image Editing 93
3.6 Color and Tonal Adjustments 98
3.6.1 Understanding and Reading Histograms 98
3.6.2 Applying Histograms to Adjustment of Brightness and Contrast 99
3.6.3 Curves Adjustment Tool 102
3.7 Selection Tools in Image Editing Programs 107
3.8 Layer Basics and Advanced Layer Techniques 108
3.9 Printing the Final Image 111
3.10 Optimizing the Final Image for the Web 114
3.11 Working with Vector Graphics Programs 118
3.11.1 Paths and Points 118
3.11.2 Strokes and Fills 121
3.11.3 Preset Shapes and Free-Form Drawing 121
3.11.4 Selection Tool 122
3.11.5 Layers, Effects, and Filters 122
3.11.6 Creating Complex Shapes Using Boolean Tools 123
3.12 Summary 124
Terms 126
Learning Aids 126
Review Questions 128
Exploring The Applications 131
CHAPTER 4 FUNDAMENTALS OF DIGITAL AUDIO 133
Key Concepts 134
General Learning Objectives 134
4.1 Introduction 134
4.2 The Nature of Sound Waves 134
4.2.1 Frequency and Pitch 136
4.2.2 Sound Intensity and Loudness 137
4.3 Adding Sound Waves 139
4.4 Digitizing Sound 141
4.4.1 Step 1: Sampling 141
4.4.2 Step 2: Quantizing 142
4.5 Dynamic Range 143
4.6 File Size, File Compression, and File Types of Digital Audio 145
4.7 Midi 150
4.8 Summary 151
Terms 152
Learning Aids 152
Review Questions 152
CHAPTER 5 CAPTURING AND EDITING DIGITAL AUDIO 155
Key Concepts 156
General Learning Objectives 156
5.1 Acquiring Digital Audio 156
5.1.1 Recording 156
5.1.2 Field Recording 162
5.1.3 Digitizing Analog Media 162
5.2 Basic Workspace Elements in Digital Audio Editing Programs 163
5.2.1 Basic Editing: Working with One Audio at a Time 163
5.2.2 Audio Mixing: Working with Multiple Audio 164
5.2.3 Spectral View 165
5.3 Basic Digital Audio Editing 167
5.3.1 Reassembling a Waveform 167
5.3.2 Changing Volume 168
5.3.3 Noise Reduction 168
5.3.4 Special Effects 169
5.3.5 Downsampling and Reduction of Bit Depth 169
5.3.6 General Steps of Digital Audio Recording Touch-up 170
5.4 Multitrack Basics 170
5.4.1 Placing Clips on a Track 171
5.4.2 Applying Effects in Multitrack 171
5.5 Music Creation 173
5.5.1 MIDI 173
5.5.2 Loop Music 173
5.6 Sharing Your Digital Audio 176
5.6.1 Video 177
5.6.2 Multimedia Authoring 177
5.6.3 For the Web 177
5.6.4 Audio CD 179
5.6.5 Podcast 179
5.7 Summary 183
Terms 184
Learning Aids 184
Review Questions 185
Exploring The Applications 188
CHAPTER 6 FUNDAMENTALS OF DIGITAL VIDEO 189
Key Concepts 190
General Learning Objectives 190
6.1 The Nature of Motion and Broadcast Video 190
6.1.1 Broadcast Standards 191
6.1.2 Frame Rate 191
6.1.3 Interlaced and Progressive Scan 191
6.1.4 Overscan and Safe Zones 193
6.1.5 Color Format 194
6.2 Sampling and Quantization of Motion 195
6.3 Measuring Frame Size and Resolution of Digital Video 195
6.3.1 Frame Size 195
6.3.2 Frame Aspect Ratio 195
6.3.3 Pixel Aspect Ratio 196
6.4 Counting Time in Digital Video 198
6.5 Digital Video Standards 200
6.5.1 Standard Definition 200
6.5.2 High Definition 202
6.5.3 Digital Television (DTV) 206
6.6 File Types of Digital Video 207
6.7 Digital Video File Size and Optimization 210
6.7.1 Data Rate 211
6.8 General Concepts of Video File Compression Methods 214
6.8.1 Spatial Compression 215
6.8.2 Temporal Compression 215
6.8.3 Lossless and Lossy Compression 215
6.8.4 Symmetrical and Asymmetrical Compression 216
6.9 MPEG Compression 216
6.9.1 MPEG-1 216
6.9.2 MPEG-2 216
6.9.3 MPEG-4 221
6.10 Streaming Video and Progressive Download 223
6.11 Summary 224
Terms 226
Learning Aids 226
Review Questions 227
CHAPTER 7 DIGITAL VIDEO: POST-PRODUCTION 235
Key Concepts 236
General Learning Objectives 236
7.1 Acquiring Digital Videos 236
7.1.1 Analog Sources 236
7.1.2 Digital Video 237
7.2 Digital Video Cameras 238
7.2.1 Video File Format and Storage Media 238
7.2.2 Resolution 239
7.2.3 Stereoscopic 3-D 240
7.3 Basic Workspace Elements in Digital Video Editing Programs 241
7.4 Basic Steps of Digital Video Editing 243
7.5 Exporting and Sharing Your Final Video 247
7.5.1 The Web 247
7.5.2 Optical Disc: Blu-ray and DVD 248
7.5.3 Optical Disc: CD-R/RW and DVD+/-R/RW 250
7.5.4 Tapes and Other Media 251
7.6 Creating a DVD-Video Disc 251
7.6.1 Menu Structures and Navigation Hierarchy 251
7.6.2 Authoring a DVD Project 252
7.7 Summary 256
Terms 258
Learning Aids 258
Review Questions 259
Exploring the Applications 260
CHAPTER 8 INTERACTIVE MULTIMEDIA AUTHORING WITH FLASH: ANIMATION 263
Key Concepts 264
General Learning Objectives 264
8.1 What Is Multimedia Authoring? 264
8.2 The Multimedia Production Process 265
8.2.1 Developing for iOS and Android Using Flash 266
8.3 Animation 269
8.3.1 Frame-by-Frame Animation 269
8.3.2 Tweened Animation 270
8.3.3 Scripted Animation 270
8.3.4 Frame-by-Frame versus Tweened versus Scripted Animation 270
8.3.5 Frame Rate and Frame Size 271
8.4 Adjusting the Speed of Animation Playback 271
8.4.1 Slowing Down Motion by Adding More Frames 271
8.4.2 Speeding up Motion 273
8.5 Flash CS5.5 Workspace 273
8.5.1 Tools Panel 274
8.5.2 Stage 274
8.5.3 Timeline 274
8.5.4 Property Inspector 274
8.5.5 Library Panel 275
8.6 Flash: Essential Terminology 275
8.6.1 Shape 275
8.6.2 Symbol 278
8.6.3 Tweening 282
8.6.4 Motion Path and Motion Guide 288
8.6.5 Mask 290
8.7 Summary 296
Terms 297
Learning Aids 298
Review Questions 299
CHAPTER 9 INTERACTIVE MULTIMEDIA AUTHORING WITH FLASH: ActionScript—PART 1 305
Key Concepts 306
General Learning Objectives 306
9.1 Programming Languages versus Scripting Languages 306
9.2 Programming and Scripting Fundamentals—Part A 306
9.2.1 Syntax 307
9.2.2 Data Types 307
9.2.3 Variables 309
9.2.4 Statements 311
9.2.5 Assignment Statements 311
9.2.6 Operators 312
9.2.7 Constants 316
9.2.8 Keywords 317
9.2.9 Expressions 317
9.3 Programming and Scripting Fundamentals—Part B 321
9.3.1 Control Structures 321
9.3.2 Functions and Procedures 331
9.3.3 Parameters and Arguments 333
9.3.4 Comments 334
9.4 Summary 338
Terms 340
Learning Aids 341
Review Questions 341
CHAPTER 10 INTERACTIVE MULTIMEDIA AUTHORING WITH FLASH: ActionScript—PART 2 345
Key Concepts 346
General Learning Objectives 346
10.1 ActionScript: Essential Terminology and Basic Concepts 346
10.1.1 Movie Clips: Instances and Naming 346
10.1.2 Movie Clips: Each Has Its Own Timeline 347
10.1.3 Nesting Movie Clips and Dot Syntax 348
10.2 Where Do Scripts Go? 349
10.2.1 Keyframe 349
10.2.2 Actions Panel 349
10.2.3 “actions” Layer 350
10.3 Script Errors 351
10.3.1 Syntactical Errors 351
10.3.2 Logical Errors 352
10.3.3 trace() Statement 353
10.3.4 Lists of Common Errors 355
10.4 Summary 355
Terms 356
Learning Aids 356
Review Questions 357
CHAPTER 11 INTERACTIVE MULTIMEDIA AUTHORING WITH FLASH: ActionScript—PART 3 359
Key Concepts 360
General Learning Objectives 360
11.1 Adding Interactivity 360
11.2 Concepts of Event Listeners and Event Handlers 361
11.3 Writing Event Listener Code in ActionScript 3.0 362
11.4 Mouse Events 365
11.5 Keyboard Events 366
11.6 Frame Events for Animation 368
11.6.1 Adding Gravity in Games 370
11.7 Controlling Objects on Stage 371
11.7.1 Controlling and Monitoring an Object’s Screen Position: x and y 371
11.7.2 Making Objects Disappear: x, y, alpha, and visible 374
11.7.3 Changing the Visual Content of an Object 374
11.7.4 Making an Object Draggable: startDrag() and stopDrag() 376
11.8 Monitoring the Mouse Position 377
11.9 Detecting Collision between Two Objects 378
11.9.1 hitTestObject() 378
11.9.2 hitTestPoint() 379
11.10 Other Useful Functions and Constructs for Interactive Multimedia Authoring 383
11.10.1 Randomize 384
11.10.2 Array 386
11.10.3 Loop 388
11.10.4 Generate Movie Clip Instances Dynamically 392
11.11 Using Actionscript to Play Sound 394
11.12 Summary 396
Terms 398
Learning Aids 399
Review Questions 401
CHAPTER 12 OOP BASICS WITH FLASH ActionScript 3.0 408
Key Concepts 408
General Learning Objectives 408
12.1 Concepts of Objects 408
12.2 Concepts of Classes 409
12.3 Object-Oriented Programming (OOP) 409
12.4 Creating Classes in ActionScript 411
12.4.1 Improving the Game 417
12.5 Instantiating a Class to Create Objects 418
12.6 Adding Visual Representation of Objects 418
12.7 Using Parameters in the Constructor 421
12.8 Class Diagrams 424
12.9 More Class Examples 425
12.9.1 A Car Class 425
12.9.2 A Car Class with a Constructor That Takes One Parameter 427
12.9.3 A LaserTurret Class 427
12.9.4 A LaserTurret Class with Event Listener Code 431
12.10 Multiple Objects Using Arrays 433
12.11 The Keyword static 434
12.11.1 In Its Class File: No Keyword this 434
12.11.2 Used Outside Its Class Definition: Use with Class Name NOT Object Name 435
12.12 Deciding what Needs to Be static 439
12.12.1 Static Properties 439
12.12.2 Static Methods 445
12.13 Notation for Static Properties and Methods in Class Diagrams 445
12.14 Using Event Listener Code in Class Files 445
12.15 Summary 450
Terms 452
Learning Aids 452
Review Questions 453
CHAPTER 13 INHERITANCE AND POLYMORPHISM 455
Key Concepts 456
General Learning Objectives 456
13.1 Start with a Scenario 456
13.2 Inheritance 458
13.2.1 Class Hierarchy 458
13.2.2 Notation in Class Diagrams 459
13.3 Coding Inheritance in ActionScript 461
13.3.1 The Keyword super 461
13.3.2 Accessing a Subclass’s Members 466
13.4 Inheritance Examples 466
13.4.1 Parent Class: Car Subclass: TimeVehicle 466
13.4.2 Parent Class: Item Subclasses: Coin and Bee 469
13.4.3 Parent Class: Character Subclasses: Hero, Villain, and Wizard 471
13.5 The Keywords extends MovieClip 473
13.6 Access Specifiers: public, protected, and private 474
13.6.1 Notation for Access Specifiers in Class Diagrams 480
13.6.2 Motivation 480
13.6.3 Setters and Getters 484
13.7 Polymorphism 487
13.7.1 An Example: Violinist, Pianist, and TrumpetPlayer 487
13.7.2 The Keyword override 491
13.8 Identifying Inheritance and Polymorphism 492
13.8.1 Example: Hero and Villain 492
13.8.2 Example: Coin, Bee, and Cloud for the Side-Scrolling Platform Game Lab 493
13.9 Summary 495
Terms 496
Learning Aids 496
Review Questions 496
CHAPTER 14 INTRODUCTION TO HTML 499
Key Concepts 500
General Learning Objectives 500
14.1 Web Pages, HTML, and Web Browsers 500
14.2 Basic Anatomy of an HTML Document 502
14.2.1 Tags and Attributes 502
14.2.2 A Bare-Bones Structure of an HTML Document 503
14.2.3 XHTML 504
14.3 Common HTML Tags 505
14.3.1 Paragraph 506
14.3.2 Line Break 506
14.3.3 Headings 507
14.3.4 Bold and Italics 507
14.3.5 List 509
14.3.6 Link 510
14.3.7 Image 510
14.3.8 Table 511
14.4 Understanding File Paths 513
14.4.1 File Paths 514
14.4.2 Types of File Paths for Web Pages 514
14.4.3 Rules for Creating Links Using Document-Relative Paths 515
14.4.4 Why Is It Important to Understand File Paths for Web Page Creation? 519
14.5 Summary 519
Terms 520
Learning Aids 521
Review Questions 521
CHAPTER 15 HTML5 VIDEO AND AUDIO 525
Key Concepts 526
General Learning Objectives 526
15.1 Introduction to HTML5 526
15.1.1 HTML5 versus XHTML 527
15.2 HTML5 Video and Audio 529
15.2.1 Setting up a Source List for Fallback Content 531
15.2.2 Preloading 531
15.2.3 Autoplay, Looping, Width, and Height 532
15.2.4 Poster Image 533
15.3 Fallback Strategies 534
15.3.1 Flash Video 534
15.3.2 Links to Download Video 535
15.3.3 Image 535
15.4 Creating HTML5 Video and Audio 536
15.5 Summary 537
Terms 538
Learning Aids 538
Review Questions 538
INDEX 543
A 543
B 543
C 544
D 545
E 546
F 546
G 547
H 547
I 547
J 548
K 548
L 548
M 548
N 549
O 549
P 549
Q 550
R 550
S 550
T 551
U 551
V 551
W 552
X 552
Y 552