Professional Documents
Culture Documents
You can take a photograph using a conventional film camera, process the film chemically, print it onto photographic paper and then use a digital scanner to sample the print (record the pattern of light as a series of pi el values!" You can directly sample the original light that bounces off your sub#ect, immediately breaking that light pattern down into a series of pi el values -- in other words, you can use a digital camera"
$t its most basic level, this is all there is to a digital camera" %ust like a conventional camera, it has a series of lenses that focus light to create an image of a scene" &ut instead of focusing this light onto a piece of film, it focuses it onto a semiconductor device that records light electronically. ! computer then brea s this electronic information do"n into digital data. !ll the fun and interesting features of digital cameras come as a direct result of this process. 'he key difference between a digital camera and a film-based camera is that the digital camera has no film. #nstead, it has a sensor that converts light into electrical charges. 'he image sensor employed by most digital cameras is a charge coupled device ((()!" *ome low-end cameras use complementary metal o ide semiconductor ((+,*! technology" -hile (+,* sensors will almost certainly improve and become more popular in the future, they probably won't replace (() sensors in higher-end digital cameras" 'hroughout the rest of this article, we will mostly focus on (()" .or the purpose of understanding how a digital camera works, you can think of them as nearly identical devices" +ost of what you learn will also apply to (+,* cameras" 'he (() is a collection of tiny light-sensitive diodes, which convert photons (light! into electrons (electrical charge!" 'hese diodes are called photosites" In a nutshell, each photosite is sensitive to light -- the brighter the light that hits a single photosite, the greater the electrical charge that will accumulate at that site" ,ne of the drivers behind the falling prices of digital cameras has been the introduction of (+,* image sensors" (+,* sensors are much less e pensive to manufacture than (() sensors" &oth (() and (+,* image sensors start at the same point -- they have to convert light into electrons at the photosites" If you've read the article /ow *olar (ells -ork, you already understand one of the pieces of technology used to perform the conversion" $ simplified way to think about the sensor used in a digital camera (or camcorder! is to think of it as having a 0-) array of thousands or millions of tiny solar cells, each of which transforms the light from one small portion of the image into electrons" &oth (() and (+,* devices perform this task using a variety of technologies" 'he ne t step is to read the value (accumulated charge! of each cell in the image" In a (() device, the charge is actually transported across the chip and read at one corner of the array" $n analog-to-digital converter turns
each pi el's value into a digital value" In most (+,* devices, there are several transistors at each pi el that amplify and move the charge using more traditional wires" 'he (+,* approach is more fle ible because each pi el can be read individually" (()s use a special manufacturing process to create the ability to transport charge across the chip without distortion" 'his process leads to very high-2uality sensors in terms of fidelity and light sensitivity" (+,* chips, on the other hand, use completely standard manufacturing processes to create the chip -- the same processes used to make most microprocessors" &ecause of the manufacturing differences, there are several noticeable differences between (() and (+,* sensors"
(() sensors, as mentioned above, create high-2uality, low-noise images" (+,* sensors, traditionally, are more susceptible to noise" &ecause each pi el on a (+,* sensor has several transistors located ne t to it, the light sensitivity of a (+,* chip is lower" +any of the photons hitting the chip hit the transistors instead of the photodiode" (+,* sensors traditionally consume little power" Implementing a sensor in (+,* yields a lowpower sensor" (()s, on the other hand, use a process that consumes lots of power" (()s consume as much as 133 times more power than an e2uivalent (+,* sensor" (+,* chips can be fabricated on #ust about any standard silicon production line, so they tend to be e tremely ine pensive compared to (() sensors" (() sensors have been mass produced for a longer period of time, so they are more mature" 'hey tend to have higher 2uality pi els, and more of them"
&ased on these differences, you can see that (()s tend to be used in cameras that focus on high-2uality images with lots of pi els and e cellent light sensitivity" (+,* sensors usually have lower 2uality, lower resolution and lower sensitivity" /owever, (+,* cameras are less e pensive and have great battery life"
Resolution
'he amount of detail that the camera can capture is called the resolution, and it is measured in pi els" 'he more pi els your camera has, the more detail it can capture" 'he more detail you have, the more you can blow up a picture before it becomes 4grainy4 and starts to look out-of-focus" *ome typical resolutions that you find in digital cameras today include:
056 056 pi els - You find this resolution on very cheap cameras" 'his resolution is so low that the picture 2uality is almost always unacceptable" 'his is 65,333 total pi els" 673 783 pi els - 'his is the low end on most 4real4 cameras" 'his resolution is great if you plan to email most of your pictures to friends or post them on a -eb site" 'his is 93:,333 total pi els" 1016 ;10 pi els - If you are planning to print your images, this is a good resolution" 'his is a 4megapi el4 image si<e -- 1,13;,333 total pi els" 1633 1033 pi els - 'his is 4high resolution"4 Images taken with this resolution can be printed in larger si<es, such as 8 13 inches, with good results" 'his is almost 0 million total pi els" You can find cameras today with up to 13"0 million pi els"
You may or may not need lots of resolution, depending on what you want to do with your pictures" If you are planning to do nothing more than display images on a -eb page or send them in e-mail, then using 673 783 resolution has several advantages:
Your camera's memory will hold more images at this low resolution than at higher resolutions" It will take less time to move the images from the camera to your computer"
$n the other hand, if your goal is to print large images, you definitely "ant to ta e highresolution shots and need a camera "ith lots of pixels.
What picture resolution will give the best quality prints my inkjet printer
'here are many different technologies used in ink#et printers" In general, printer manufacturers will advertise the printer resolution in dots per inch (dpi!" /owever, all dots are not created e2ual" ,ne printer may place more drops of ink (black, cyan, magenta or yellow! per dot than another" .or instance, printers made by /ewlett =ackard that use =hoto>?t III technology can layer a combination of up to 0; drops of ink per dot, yielding about 9,533 possible colors per dot" 'his may sound like a lot, but most cameras can capture 16"8 million colors per pi el" *o these printers cannot replicate the e act color of a pi el with a single dot" Instead, they must create a grouping of dots that when viewed from a distance blend together to form the color of a single pi el" 'he rule of thumb is that you divide your printer's color resolution by about four to get the actual ma imum picture 2uality of your printer" *o for a 1033 dpi printer, a resolution of 933 pi els per inch would be #ust about the best 2uality that printer is capable of" 'his means that with a 1033 ;33 pi el image, you could print a 7-inch by 9-inch print" In practice, though, lower resolutions than this usually provide ade2uate 2uality" 'o make a reasonable print that comes close to the 2uality of a traditionally developed photograph, you need about 153 to 033 pi els per inch of print si<e" @odak recommends: =rint *i<e -allet 7 5 inches 5 : inches 8 13 inches +egapi els 3"9 3"7 3"8 1"6 Image >esolution 673 783 pi els :68 510 pi els 1150 :68 pi els 1596 1307 pi els
Capturing Color
Anfortunately, each photosite is colorblind" It only keeps track of the total intensity of the light that strikes its surface" In order to get a full color image, most sensors use filtering to look at the light in its three primary colors" ,nce all three colors have been recorded, they can be added together to create the full spectrum of colors that you've grown accustomed to seeing on computer monitors and color printers.
'here are several ways of recording the three colors in a digital camera" 'he highest 2uality cameras use three separate sensors, each with a different filter over it" Light is directed to the different sensors by placing a beam splitter in the camera" 'hink of the light entering the camera as water flowing through a pipe" Asing a beam splitter would be like dividing an identical amount of water into three different pipes" ?ach sensor gets an identical look at the imageB but because of the filters, each sensor only responds to one of the primary colors" 'he advantage of this method is that the camera records each of the three colors at each pi el location" Anfortunately, cameras that use this method tend to be bulky and e pensive" $ second method is to rotate a series of red, blue and green filters in front of a single sensor" 'he sensor records three separate images in rapid succession" 'his method also provides information on all three colors at each pi el locationB but since the three images aren't taken at precisely the same moment, both the camera and the target of the photo must remain stationary for all three readings" 'his isn't practical for candid photography or handheld cameras" $ more economical and practical way to record the three primary colors from a single image is to permanently place a filter over each individual photosite" &y breaking up the sensor into a variety of red, blue and green pi els, it is possible to get enough information in the general vicinity of each sensor to make very accurate guesses about the true color at that location" 'his process of looking at the other pi els in the neighborhood of a sensor and making an educated guess is called interpolation" 'he most common pattern of filters is the &ayer filter pattern" 'his pattern alternates a row of red and green filters with a row of blue and green filters" 'he pi els are not evenly divided -- there are as many green pi els as there are blue and red combined" 'his is because the human eye is not e2ually sensitive to all three colors" It's necessary to include more information from the green pi els in order to create an image that the eye will perceive as a 4true color"4 'here are other ways of handling color in a digital camera" *ome single-sensor cameras use alternatives to the &ayer filter pattern" $ company called .oveon has developed a sensor that captures all three colors by embedding red, green and blue photodetectors in silicon" 'his C9 technology works because red, green and blue light each penetrate silicon to a different depth" 'here is even a method that uses two sensors" *ome of the more advanced cameras don't add up the different values of red, green and blue, but instead subtract values using the typesetting colors cyan, yellow, green and magenta" /owever, most consumer cameras on the market today use a single sensor with alternating rows of greenDred and greenDblue filters"
Fovenon X !ehnology
Antil now, you haven't been getting the picture" $t least not the complete picture" 'hat's because revolutionary .oveon C9 technology features the first and only image sensors that capture red, green and blue light at each and every pi el location" $ll other image sensors record #ust one color per pi el location Ethat's why .oveon's direct image sensors deliver increased sharpness,
better color detail and resistance to unpredictable color artifacts" .rom point-and-shoot digital cameras to high-end professional e2uipment, .oveon C9 technology offers a wealth of benefits to consumers and manufacturers alike" $t the same time, it paves the way for other innovations, such as new kinds of cameras that record both video and still images without compromising the image 2uality" 'he revolutionary design of .oveon C9 direct image sensors features three layers of pi el sensors" 'he layers are embedded in silicon to take advantage of the fact that red, green, and blue light penetrate silicon to different depthsEforming the world's first direct image sensor" 'o capture the color that other image sensors miss, .oveon C9F direct image sensors use three layers of pi el sensors embedded in silicon" 'he layers are positioned to take advantage of the fact that silicon absorbs different wavelengths of light to different depths, so one layer records red, another layer records green, and the other layer records blue" 'his means that for every pi el location on .oveon C9 direct image sensors, there's actually a stack of three pi el sensors, forming the first and only direct image sensors"
Antil now, all other image sensors have featured #ust one layer of pi el sensors, with #ust one pi el sensor per pi el location" 'o capture color, pi el sensors are organi<ed in a grid, or mosaic, resembling a three-color checkerboard" ?ach pi el is covered with a filter and records #ust one colorEred, green, or blue" 'hat approach has inherent drawbacks, no matter how many pi els a mosaic-based image sensor might contain" *ince mosaic-based image sensors capture only one-third of the color, comple processing is re2uired to interpolate the color they miss" Interpolation leads to color artifacts and a loss of image detail" &lur filters are used to reduce color artifacts, but at the e pense of sharpness and resolution" -ith its revolutionary process for capturing light, .oveon C9 technology never needs to compromise on 2uality, so you get sharper pictures, truer colors, and fewer artifacts" $nd cameras e2uipped with .oveon C9 technology do not have to rely on processing power to fill in missing colors, reducing hardware re2uirements, simplifying designs and minimi<ing lag time between one shot and the ne t" )ollar for dollar, pi el for pi el, nothing compares to .oveon C9 technology"
'he grouping of pi el locations increases the signal-to-noise ratio, allowing the camera to take full-color pictures in low-light conditions with reduced noise" Asing the G=* capability to increase pi el si<e and reduce the resolution also allows the image sensor to run at higher frame rates, accelerating the speed at which images can be captured" 'his makes it possible to shoot high-2uality digital video, enabling the development of the first cameras with true dual-mode functionality" -ithout .oveon C9 technology, cameras attempting to accommodate both still and video functions must sacrifice performance in one mode to do the other well" $nd since the si<ing of pi els can be done in an instant, a .oveon C9 direct image sensor can capture a highEresolution still photo in the midst of recording videoEyet another first in digital photography"
Better %uality
'he uni2ue ability of .oveon C9 direct image sensors to capture all the light at every pi el location results in more than truer colorEit also translates into images of unprecedented sharpness and clarity" $ll colors, especially green, carry luminance information that the human visual system uses to discern and define image detail" >ecogni<ing the importance of green light, manufacturers of mosaic image sensors dedicate 53I of pi el locations to capturing green light, with the remaining 53I evenly divided between red and blue" Yet they still capture only half as much green as .oveon C9 direct image sensors, which capture 133I of every color for sharper, clearer images" In many cases, the difference in sharpness and detail is compounded by the use of blur filters in mosaicbased digital cameras" 'he blur filters are intended to minimi<e luminance and color artifacts" 'he artifacts are
unpredictable byproducts of the comple processing re2uired to interpolate the information mosaic image sensors miss" /owever, blur filters reduce artifacts at the e pense of resolution and sharpness" 'hese trade-offs are unnecessary with .oveon C9 direct image sensors" 'here's no need to rely on interpolation to reconstruct missing information, because all the information is captured by the revolutionary stacked pi el design of .oveon C9 technology"
(ew technology automatically corrects lighting problems in digital photographs) C9 .ill Light, a new software feature, dramatically improves the image 2uality of digital images affected by challenging lighting conditions" C9 .ill Light simulates the photographic method of adding e tra light to shadow regions, while preserving highlight detail" It is a powerful yet automatic method for 4dodging and burning4 an image, where each pi el is optimally ad#usted in relation to surrounding pi els" 'he C9 .ill Light feature is included in software designed to process the C9. files generated by cameras which use .oveon direct image sensors for capture" 'he C9 .ill Light feature is simple to apply: moving the slider in the positive direction from the default setting of 3"3 increases the affect, as illustrated in the e ample"
$s the C9 .ill Light slider is increased, the relationship between the regions of an image that contain shadows, midtones, and highlights are altered in relation to each other" &y increasing the amount of C9 .ill Light, the brightness and contrast of the shadow regions are increased to add visibility into areas that have been undere posed" *imultaneously, the contrast in highlight regions is increased and the brightness is ad#usted to avoid over saturation" ? amples of images where the use of C9 .ill Light is desirable are those taken in mi ed lighting conditions including shadow and direct sunlight, indoor-outdoor scenes (such as through a doorway or window!, back-lit sub#ects, or dramatic sky scenes" 'he end results are natural looking images that map from a wide-dynamic-range scene into a narrower dynamic range that can be properly reproduced on a print"
*mage Comparison
.oveon C9F technology visibly improves image 2uality, as these comparisons demonstrate" In this case, an image taken with a mosaic sensor is compared to an image taken with .oveon C9 technology" +osaic capture .oveon C9
$s you can see, the camera e2uipped with .oveon C9 technology takes sharper pictures" 'hat's because it captures twice as much green as mosaic image sensors, and the green wavelengths of light are critical in defining image detail" (olor )etail +osaic .oveon C9
'hese pictures demonstrate how .oveon C9 technology improves color detail" 'he difference is that .oveon C9 direct image sensors measure full color at each and every pi el location, while mosaic sensors capture 53I of the green and #ust 05I of the red and blue" $rtifacts +osaic .oveon C9
$s shown here, .oveon C9 technology offers resistance to unpredictable artifacts" $ mosaic image sensor is more vulnerable to artifacts, largely because it must rely on comple processing to interpolate the colors it missed" Ho amount of processing power can completely take the guesswork out of color interpolation"
+igiti,ing *n'ormation
'he light is converted to electrical chargeB but the electrical charges that build up in the (() are not digital signals that are ready to be used by your computer. #n order to digitize the information, the signal must be passed through an analog-to-digital converter %!&'(. #nterpolation is handled by a microprocessor after the data has been digitized. 'hink of each photosite as a bucket or a well, and think of the photons of light as raindrops" $s the raindrops fall into the bucket, water accumulates (in reality, electrical charge accumulates!" *ome buckets have more water and some buckets have less water, representing brighter and darker sections of the image" *ticking to the analogy, the $)( measures the depth of the water, which is considered analog information" 'hen it converts that information to binary form"
*s the number o' photosites the same as the number o' pi$elsJ
If you read digital camera claims carefully, you'll notice that the number of pi els and the ma imum resolution numbers don't 2uite compute" .or e ample, a camera claims to be a 0"1-megapi el camera and it is capable of producing images with a resolution of 1633 1033" Let's do the math: a 1633 1033 image contains 1,;03,333 pi els" &ut 40"1 megapi el4 means there ought to be at least 0,133,333 pi els" 'his isn't an error from rounding off, and it isn't binary mathematical trickery" 'here is a real discrepancy between these two numbers" If a camera says it has 0"1 megapi els, then there really are appro imately 0,133,333 photosites on the (()" -hat happens is that some of the photosites are not being used for imaging" >emember that the (() is an analog device" It's necessary to provide some circuitry to the photosites so that the $)( can measure the amount of charge" 'his circuitry is dyed black so that it doesn't absorb any light and distort the image"
'he current generation of digital sensors are smaller than film" 'ypical film emulsions that are e posed in a film-based camera measure 07mm 96mm" If you've look at the specifications of a typical 1"9-megapi el camera, you'll find that it has a (() sensor that measures 7"7mm 6"6mm" $s you'll see in a later section, a smaller sensor means smaller lenses"
1torage
?arly generations of digital cameras had fi ed storage inside the camera" You needed to connect the camera directly to a computer by cables to transfer the images" $lthough most of today's cameras are capable of connecting to a serial, parallel, *(*I, andDor A*& port, they usually provide you with some sort of removable storage device"
13
Creating Fun #hotos -ith the image-editing software that often comes with your camera you can do lots of neat things" You can: crop the picture to capture #ust the part you want add te t to the picture make the picture brighter or darker change the contrast and sharpness apply filters to the picture to make it look blurry, painted, embossed, etc" resi<e pictures rotate pictures cut stuff out of one picture and put it into another 4stitch4 together many pictures to create one large panoramicD963degree picture create a 9-) picture that you can rotate and <oom in on and out of
Built2in memory - *ome e tremely ine pensive cameras have built-in .lash memory" 1mart3edia cards - *mart+edia cards are CompactFlash - (ompact.lash cards are similar to but slightly larger than *mart+edia 3emory 1tick - +emory *tick is a proprietary *ony" Floppy disk - *ome cameras store images directly -ard disk - *ome higher-end cameras use =(+(I$ hard-disk cards, for image storage" Writeable C+ and +"+ - *ome of the writeable () and )G) drives to store images" small .lash memory modules" another form of .lash memory, cards" form of .lash memory used by onto floppy disks" small built-in hard disks, or newest cameras are using
In order to transfer the files from a .lash memory device to your computer without using cables, you will need to have a drive or reader for your computer" 'hese devices behave much like floppy drives and are ine pensive to buy"
11
'hink of all these storage devices as reusable digital film" -hen you fill one up, either transfer the data or put another one into the camera" 'he different types of .lash memory devices are not interchangeable" ?ach camera manufacturer has decided on one device or another" ?ach of the .lash memory devices also needs some sort of caddy or card reader in order to transfer the data"
,ne thing that becomes apparent is that a 1"77-+& disk cannot hold very many pictures" In fact, at some image si<es you can't even fit one picture on the disk" &ut the floppy disk does have its uses" .or Internet publishing and e-mailing pictures to friends, you almost never need a picture bigger than 673 783, and you will almost always save it in %=?K form" In this case, you might be able to fit 16 or so pictures on each disk" If you are trying to store the biggest, highest 2uality images you can, then you will want the highest capacity medium" $ 108-+& .lash memory card, for instance, could store more than 1,733 small compressed images or 01 of the uncompressed 1633 1033 images" You would probably never use the whole 108 +& if you were #ust taking small pictures, but if you were taking the big pictures this would be the only way to go" 'he large capacity might also come in handy if you were going on a long trip and wanted to be able to take lots of pictures"
Compression
It takes a lot of memory to store a picture with over 1"0 million pi els" $lmost all digital cameras use some sort of data compression to make the files smaller" 'here are two features of digital images that make compression possible" ,ne is repetition" 'he other is irrelevancy" You can imagine that throughout a given photo, certain patterns develop in the colors" .or e ample, if a blue sky takes up 93 percent of the photograph, you can be certain that some shades of blue are going to be repeated over and over again" -hen compression routines take advantage of patterns that repeat, there is no loss of information and the image can be reconstructed e actly as it was recorded" Anfortunately, this doesn't reduce files any more than 53 percent, and sometimes it doesn't even come close to that level" Irrelevancy is a trickier issue" $ digital camera records more information than is easily detected by the human eye" *ome compression routines take advantage of this fact to throw away some of the more meaningless data" If you need smaller files, you need to be willing to throw away more data" +ost cameras offer several
10
different levels of compression, although they may not call it that" +ore likely they will offer you different levels of resolution" 'his is the same thing" Lower resolution means more compression" Batteries )igital cameras, especially those that use a (() sensor and an L() display, tend to use lots of power -which means they eat batteries" >echargeable batteries help to lower the cost of using the digital camera, but rechargeable batteries are sometimes e pensive" /ere are some things to consider: )oes the camera use standard-si<e rechargeable batteries (e"g", $$!, or does it use special rechargeable batteries made by the manufacturerJ If it uses the special ones, check to see what the price of another battery pack is" If the camera takes $$ batteries, can you use normal alkaline batteries in a pinchJ $re the rechargeable batteries removable, or are they permanently mounted in the cameraJ If they are not removable, it means that once the batteries go dead you can't use the camera again until you can get to a recharger and power supply" 'his can be a ma#or pain in the neck if you want to take a lot of pictures at once"
4perture
'he aperture is the si<e of the opening in the camera" It's located behind the lens" ,n a bright sunny day, the light reflected off your image may be very intense, and it doesn't take very much of it to create a good picture" In this situation, you want a small aperture" &ut on a cloudy day, or in twilight, the light is not so intense and the camera will need more light to create an image" In order to allow more light, the aperture must be enlarged" Your eye works the same way" -hen you are in the dark, the iris of your eye dilates your pupil (that is, it makes it very large!" -hen you go out into bright sunlight, your iris contracts and it makes your pupil very small" If you can find a willing partner and a small flashlight, this is easy to demonstrate (if you do this, please
19
use a small flashlight, like the ones they use in a doctor's office!" Look at your partner's eyes, then shine the flashlight in and watch the pupils contract" +ove the flashlight away, and the pupils will dilate"
1hutter 1peed
'raditionally, the shutter speed is the amount of time that light is allowed to pass through the aperture" 'hink of a mechanical shutter as a window shade" It is placed across the back of the aperture to block out the light" 'hen, for a fi ed amount of time, it opens and closes" 'he amount of time it is open is the shutter speed" ,ne way of getting more light into the camera is to decrease the shutter speed -- in other words, leave the shutter open for a longer period of time" .ilm-based cameras must have a mechanical shutter" ,nce you e pose film to light, it can't be wiped clean to start again" 'herefore, it must be protected from unwanted light" &ut the sensor in a digital camera can be reset electronically and used over and over again" 'his is called a digital shutter" *ome digital cameras employ a combination of electrical and mechanical shutters"
You will find four different types of lenses on digital cameras: .i ed-focus, fi ed-<oom lenses - 'hese are the kinds of lenses you find on disposable and ine pensive film cameras -- ine pensive and great for snapshots, but fairly limited"
17
,ptical-<oom lenses with automatic focus - *imilar to the lens on a video camcorder, you have 4wide4 and 4telephoto4 options and automatic focus" 'he camera may or may not let you switch to manual focus" )igital-<oom lenses - -ith digital <oom, the camera takes pi els from the center of the image sensor and 4interpolates4 them to make a full-si<e image" )epending on the resolution of the image and the sensor, this approach may create a grainy or fu<<y image" It turns out that you can manually do the same thing a digital <oom is doing -- simply snap a picture and then cut out the center of the image using your image processing software" >eplaceable lens systems - If you are familiar with high-end 95mm cameras, then you are familiar with the concept of replaceable lenses" /igh-end digital cameras can use this same system, and in fact can use lenses from 95mm cameras in some cases"
*ince many photographers that use film-based cameras are familiar with the focal lengths that pro#ect an image onto 95mm film, digital cameras advertise their focal lengths with 495mm e2uivalents"4 'his is e tremely helpful information to have" In the chart below, you can compare the actual focal lengths of a typical 1"9-megapi el camera and its e2uivalent in a 95mm camera" .ocal 95mm Giew 'ypical Ases Length ?2uivalent 5"7 mm :": mm 16"0 mm 95 mm 53 mm 135 mm 'hings look smaller and farther away" -ide-angle shots, landscapes, large buildings, groups of people
'hings look about the same 4Hormal4 shots of people and as what your eye sees" ob#ects 'hings are magnified and appear closer" 'elephoto shots, close-ups
3acro
If you plan to take close-up images, look for a camera that has a macro focusing capability" 'his feature lets you move the camera's lens very close to the sub#ect" /ere is an e ample of a macro photograph -this is a picture of part of a small electric motor, and the white disk is about the si<e of a A"*" 2uarter coin" If your camera is not e2uipped with a macro setting, there is no way for you to take an image like this"
15
Cool Facts
In the Anited *tates, there is roughly one camera for every adult" -ith a 9-megapi el camera, you can take a higher-resolution picture than most computer monitors can display" " 'he first consumer-oriented digital cameras were sold by @odak and $pple in 1;;7" In 1;;8, *ony inadvertently sold over :33,333 camcorders with a limited ability to see through clothes" You can use various software programs to 4stitch4 together a series of digital pictures to create a large panorama
*mage Formats
,n the Het, luckily, we really only have to deal with three main types of images: (ompu*erve KI., %=?K, and &itmaps" $t the moment, those are the only three that are roundly supported by the ma#or browsers" &ut what's the difference between themJ -hat does it mean if a KI. is interlaced or non-interlacedJ Is a %=?K progressive because it en#oys art decoJ )oes a &itmap actually offer directions somewhereJ $nd the most often asked 2uestion:
When do I use a specific image format?
*mage or 7raphic.
'echnically, neither" If you really want to be strict, computer pictures are files, the same way -,>) documents or solitaire games are files" 'hey're all a bunch of ones and <eros all in a row" &ut we do have to communicate with one another so let's decide" Image" -e'll use 4image4" 'hat seems to cover a wide enough topic range" 4Kraphic4 is more of an ad#ective, as in 4graphic format"4 You see, we denote images on the Internet by their graphic format" KI. is not the name of the image" KI. is the compression factors used to create the raster format set up by (ompu*erve" (+ore on that in a moment!" *o, they're all images unless you're talking about something specific
16
>aster image formats can also save at 16, 07, and 90 bits-per-pi el" $t the two highest levels, the pi els themselves can carry up to 16,:::,016 different colors" 'he image looks greatM &itmaps saved at 07 bits-perpi el are great 2uality images, but of course they also run about a megabyte per picture" 'he three main Internet formats, KI., %=?K, and &itmap, are all >aster formats *ome other >aster formats include the following: C5# +CX +*B F#X *37 9*F 34C 31# #C! #CX ##3 #1# R4W R5& !*FF W#7 -indows (lipart L,.' =aintbrush ,*D0 -arp format @odak's .lash=ic K?+ =aint format %=?K >elated Image format +ac=aint +ac=aint Hew Gersion +acintosh =I(' format L*oft =aintbrush =ortable =i el +ap (AHIC! =aint *hop =ro format Anencoded image format >un-Length ?ncoding (Ased to lower image bit rates! $ldus (orporation format -ord=erfect image format
1:
cannot produce that arc as well" In addition, since the information is encoded in vectors, +etaDGector image formats can be blown up or down (a property known as 4scalability4! without looking #agged or crowded (a property known as 4pi elating4!" *o that I do not receive e-mail from those in the computer image know, there is a difference in +eta and Gector formats" Gector formats can contain only vector data whereas +eta files, as is implied by the name, can contain multiple formats" 'his means there can be a lovely &itmap plopped right in the middle of your -indows +eta file" You'll never know or see the difference but, there it is" I'm #ust trying to keep everybody happy"
What;s 4 Bitmap.
I get that 2uestion a lot" Asually it's followed with 4/ow come it only works on +icrosoft Internet ? plorerJ4 'he second 2uestion's the easiest" +icrosoft invented the &itmap format" It would only make sense they would include it in their browser" ?very time you boot up your =(, the ma#ority of the images used in the process and on the desktop are &itmaps" $gainst what I said above, &itmaps will display on all browsers, #ust not in the familiar NI+K *>(O4--4P format we're all used to" I see &itmaps used mostly as return images from =?>L (ommon Kateway Interfaces ((KIs!" $ counter is a perfect e ample" =age counters that have that 4odometer4 effect are &itmap images created by the server, rather than as an inline image" &itmaps are perfect for this process because they're a simple series of colored dots" 'here's nothing fancy to building them" It's actually a fairly simple process" In the script that runs the counter, you 4build4 each number for the counter to display" Hote the counter is black and white" 'hat's only a one bit-per-pi el level image" 'o create the number <ero in the counter above, you would build a grid : pi els wide by 13 pi els high" 'he pi els you < < < < < < < want to remain black, you would denote as <ero" 'hose you wanted white, you'd denote as < < 1 1 1 < < < 1 1 1 1 1 < one" < 1 1 < 1 1 < < 1 1 < 1 1 < < 1 1 < 1 1 < < 1 1 < 1 1 < < 1 1 1 1 1 < < < 1 1 1 < < < < < < < < < *ee the number <ero in the graph aboveJ I made it red so it would stand out a bit more" You create one of those patterns for the numbers 3 through ;" 'he =?>L script then returns the &itmap image representing the numbers and you get that neat little odometer effect" 'hat's the concept of a &itmap" $ grid of colored points" 'he more bits per pi el, the more fancy the &itmap can be" &itmaps are good images, but they're not great" If you've played with &itmaps versus any other image formats, you might have noticed that the &itmap format creates images that are a little heavy on the bytes" 'he reason is that the &itmap format is not very efficient at storing data" -hat you see is pretty much what you get, one series of bits stacked on top of another" Bitmap Image
Compression
I said above that a &itmap was a simple series of pi els all stacked up" &ut the same image saved in KI. or %=?K format uses less bytes to make up the file" /owJ (ompression" 4(ompression4 is a computer term that represents a variety of mathematical formats used to compress an image's byte si<e" Let's say you have an image
18
where the upper right-hand corner has four pi els all the same color" -hy not find a way to make those four pi els into oneJ 'hat would cut down the number of bytes by three-fourths, at least in the one corner" 'hat's a compression factor" &itmaps can be compressed to a point" 'he process is called 4run-length encoding"4 >uns of pi els that are all the same color are all combined into one pi el" 'he longer the run of pi els, the more compression" &itmaps with little detail or color variance will really compress" 'hose with a great deal of detail don't offer much in the way of compression" &itmaps that use the run-length encoding can carry either the common 4"bmp4 e tension or 4"rle4" $nother difference between the two files is that the common &itmap can accept 16 million different colors per pi el" *aving the same image in run-length encoding knocks the bits-per-pi el down to 8" 'hat locks the level of color in at no more than 056" 'hat's even more compression of bytes to boot"
.o, "hy not create a single pixel "hen all of the colors are close/ *ou could even lo"er the number of colors available so that you "ould have a better chance of the pixels being close in color. 0ood idea. The people at 'ompu.erve felt the same "ay.
9#&7 *mage Formats %=?K is a compression algorithm developed by the people the format is named after, the %oint =hotographic ? perts Kroup" %=?K's big selling point is that its compression factor stores the image on the hard drive in less bytes than the image is when it actually displays" 'he -eb took to the format straightaway because not only did the image store in fewer bytes, it transferred in fewer bytes" $s the Internet adage goes, the pipeline isn't getting any bigger so we need to make what is traveling through it smaller" .or a long while, KI. ruled the Internet roost but when %=?K appeared it was adopted 2uickly, even though it brought some problems with it" %=?K pictures can be saved at different compressions and there are presented a few e emples below of a picture at 733Q996, with 159 kilobiti, the si<e: (ompression 03I - 9: kb (ompression 73I - 05 @b (ompression 63I - 1; kb
(ompression 83I - 10 kb
(ompression ;3I - : kb
(ompression ;5I - 7 kb
'he difference between 1I and 63I is not great, from the 2uality point of view, but the pictureRs si<e decreased very much" $t ;5I the picture looks horrible, it is not worth it" In some cases you canRt tell what the picture wants to show, because of high compression"
KI., which stands for 4Kraphic Interchange .ormat,4 was first standardi<ed in 1;8: by (ompu*erve, although the patent for the algorithm (mathematical formula! used to create KI. compression actually belongs to Anisys" 'he first format of KI. used on the -eb was called KI.8:a, representing its year and version" It saved images at 8 pits-per-pi el, capping the color level at 056" 'hat 8-bit level allowed the image to work across multiple server styles, including (ompu*erve, '(=DI=, and $,L" It was a graphic for all seasons, so to speak" (ompu*erve updated the KI. format in 1;8; to include animation, transparency, and interlacing" 'hey called the new format, you guessed it: KI.8;a" 'here's no discernable difference between a basic (known as non-interlaced! KI. in 8: and 8; formats"
GIF87a
GIF89a
4nimation
'he concept of KI.8;a animation is much the same as a picture book with small animation cells in each corner" .lip the pages and the images appear to move" /ere, you have the ability to set the cell's (technically called an 4animation frame4! movement speed in 1D133ths of a second" $n internal clock embedded right into the KI. keeps count and flips the image when the time comes" 'he animation process has been bettered along the way by companies who have found their own method of compressing the KI.s further" $s you watch an animation you might notice that very little changes from frame to frame" *o, why put up a whole new KI. image if only a small section of the frame needs to be changedJ 'hat's the key to some of the newer compression factors in KI. animation" Less changing means fewer bytes" !ransparency 'he process is best described as similar to the weather forecaster on your local news" ?ach night they stand in front of a big green (sometimes blue! screen and deliver the weather while that blue or green behind them is 4keyed4 out and replaced by another source" In the case of the weather forecaster, it's usually a large map with lots of Ls and /s" 'he process in television is called a 4chroma key"4 $ computer is told to hone in on a specific color, let's say it's green" (hroma key screens are usually green because it's the color least likely to be found in human skin tones" You don't want to use a blue screen and then chroma out someone's pretty blue eyes" 'hat chroma (color! is then 4erased4 and replaced by another image" 'hink of that in terms of a transparent KI." 'here are only 056 colors available in the KI." 'he computer is told to hone in on one of them" It's done by choosing a particular redDgreenDblue shade already found in the image and blanking it out" 'he color is basically dropped from the palette that makes up the image" 'hus whatever is behind it shows through"
03
'he shape is still there though" 'ry this: Ket an image with a transparent background and alter its height and width in your /'+L code" You'll see what should be the transparent color seeping through" $ny color that's found in the KI. can be made transparent, not #ust the color in the background" If the background of the image is speckled then the transparency is going to be speckled" If you cut out the color blue in the background, and that color also appears in the middle of the image, it too will be made transparent"
#rogressive 9#&7s
You can almost guess what this is all about" $ progressive %=?K works a lot like the interlaced KI.8;a by filling in every other line, then returning to the top of the image to fill in the remainder" 'he e ample is again presented three times at 1I, 53I, and ;;I compression" ,bviously, here's where bumping up the compression does not pay off" >ule of thumb: If you're going to use progressive %=?K, keep the compression up high, :5I or better"
01