an bitmapped image on the computer is represented by many pixels. a pixel is basically a dot on the...
TRANSCRIPT
An bitmapped image on the computer is represented by many pixels.
A pixel is basically a dot on the computer screen.
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)
Common bitmapped images
Extension Name
BMP Bitmap
GIF Graphics Interchange Format
JPG Joint Photographics Expert Group
PNG Portable Network Graphics
TIFF Tagged Image File Format
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
GIF JPG
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
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
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
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)
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
Follow along with my demonstration and we will modify our first picture together
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
Sampled sounds (such as WAV files) are actual recordings
Sampled sound allows for human voice to be synthesized