Presentation is loading. Please wait.

Presentation is loading. Please wait.

An bitmapped image on the computer is represented by many pixels. A pixel is basically a dot on the computer screen.

Similar presentations


Presentation on theme: "An bitmapped image on the computer is represented by many pixels. A pixel is basically a dot on the computer screen."— Presentation transcript:

1

2 An bitmapped image on the computer is represented by many pixels. A pixel is basically a dot on the computer screen.

3 A pixel is made up of an RGB (Red, Green, Blue) value. Red, green and blue each have a value of 0 to 255. Examples  Black (0,0,0)  Red (255, 0, 0)  Green (0, 255, 0)  Blue (0, 0, 255)

4 Common bitmapped images ExtensionName BMPBitmap GIFGraphics Interchange Format JPGJoint Photographics Expert Group PNGPortable Network Graphics TIFFTagged Image File Format

5 Although many different types of bitmapped images exist GIF and JPG are used most (especially on the web) JPGs are used for photographs GIFs are mainly used for graphics (clip art, animations) These formats do the best job of balancing quality and file size

6 GIFJPG

7 Vectors are another image format but quite different from bitmaps Uses points, line and curves and relies on mathematical equations to create images The main format for vectors is Scalable Vector Graphics

8

9 By combining our programming skills and our new knowledge of images we can easily manipulate images This allows us to create “filters” much like an image editing program such as Photoshop or Fireworks

10 Images can easily be added to Java programs However, this topic will be covered in Intermediate Programming A package named Javax.Swing must be imported Just remember JPG and GIF work best with Java for now

11 By using a pre-existing Picture class (courtesy of Mark Guzdial and Barb Ericson at Georgia Tech) we can easily create Picture objects and modify them We will work with bitmapped images (GIF and JPG)

12 Using the Picture class we can create an image object The pixels that make up the image can easily be placed into an array So, if we access the pixels through an enhanced for loop we can modify the RGB values If every pixel is modified a filter is created

13 Follow along with my demonstration and we will modify our first picture together

14 MIDI (Musical Instrument Digital Interface) industry-standard protocol than allows electronic instruments and computers to communicate with one another MIDI makes is possible for computers, synthesizers, sounds cards, drum machines and samplers to control one another and exchange data No audio signal is produced, rather data is sent to determine the pitch and intensity of music

15 Sampled sounds (such as WAV files) are actual recordings Sampled sound allows for human voice to be synthesized


Download ppt "An bitmapped image on the computer is represented by many pixels. A pixel is basically a dot on the computer screen."

Similar presentations


Ads by Google