11.07.2015 Views

Encyclopedia of Computer Science and Technology

Encyclopedia of Computer Science and Technology

Encyclopedia of Computer Science and Technology

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

372 PHPeach <strong>of</strong> the three RGB colors <strong>and</strong> thus making <strong>and</strong> combiningthree complete exposures that directly capture thecolors. This produces the best possible color accuracy but ismore expensive.The final image data is stored using a st<strong>and</strong>ard file format,usually JPEG (see graphics formats). The most commonlyused storage medium is an insertable “flash” memorymodule. The major competing memory card st<strong>and</strong>ards areCompactFlash, SD, <strong>and</strong> Sony Memory Stick. Storage capacitiesrun to 4 GB. As with regular RAM, the cost <strong>of</strong> flashmemory has declined considerably in recent years.In determining the adequacy <strong>of</strong> the camera’s storagecapacity, the user must also consider the camera’s resolution(number <strong>of</strong> pixels) <strong>and</strong> whether images will be compressedbefore storage (see data compression). While acertain amount <strong>of</strong> compression can be achieved withoutdiscernable degradation <strong>of</strong> the image, more drastic “lossy”compression sacrifices image quality for compactness. Itshould also be noted that as image resolution (<strong>and</strong> thus filesize) increases, the time needed to process <strong>and</strong> store eachimage will also increase, limiting how rapidly successiveexposures can be made.Most digital cameras have a USB connector (see USB),making it easy to upload the stored images from the camerato a PC. Once in the PC, images can be edited or otherwisemanipulated using the basic photo editing s<strong>of</strong>tware usuallyincluded with the camera or a full-featured pr<strong>of</strong>essionalproduct such as Adobe Photoshop.The same trends that have brought more capabilityper dollar spent on digital cameras have been even moreevident in printers (see printer). Using resolutions <strong>of</strong>2880 dots per inch or more <strong>and</strong> special papers, digitalcamera users can make prints with a quality similar tothat produced by traditional photo developers. <strong>Computer</strong>prints are more subject to color fading over time than areconventional prints, although some printer manufacturersnow <strong>of</strong>fer toner that will resist fading for 25 years ormore.Future TrendsHigh-end consumer digital cameras reached the 8–10 megapixelrange by 2008, allowing for images that can be “blownup” to 10 by 12 inches or larger while retaining image qualitycomparable to conventional photos. Pr<strong>of</strong>essional-gradedigital cameras (“digital SLRs”) are rated at 10 megapixelsor more. The need for such cameras for pr<strong>of</strong>essional workarises not only from the higher resolution requirementsbut also because these cameras have the very high-qualityoptics used in fine 35 mm cameras, as well as having agreater variety <strong>of</strong> available specialty lenses. (Consumer digital“superzoom” cameras, however, do <strong>of</strong>fer zoom lensesroughly comparable to those for low-cost 35-mm cameras.)The quality <strong>and</strong> convenience <strong>of</strong> digital photography ensurethat digital cameras will supplant conventional cameras formost consumer <strong>and</strong> many pr<strong>of</strong>essional applications. Manydigital cameras also have the ability to shoot short videosequences. The ubiquity <strong>of</strong> digital cameras <strong>and</strong> digital video(even in many cell phones) has had important social consequencesby facilitating transmission <strong>of</strong> pictures <strong>of</strong> disasters,political gaffes, <strong>and</strong> other events <strong>of</strong>ten outside the mainstreammedia (see user-created content <strong>and</strong> YouTube).Digital camcorders will also become more widely used.Their resolution is generally from about a quarter millionpixels to a million pixels—considerably lower than fordigital still cameras, but adequate <strong>and</strong> likely to improve.Digital video cameras are also rated according to lux value,indicating the minimum light level for satisfactory recording.Most digital videos store the captured image to tape(either MiniDV or Hi-8), but some newer cameras use builtinrecordable DVD disks instead (see CD-Rom <strong>and</strong> DVD-ROM). The ability to digitally edit video direct from thecamera is also an important advantage.Further ReadingBusch, David D. Digital SLR Cameras & Photography for Dummies.2nd ed. Hoboken, N.J.: Wiley, 2007.Etchells, Dave. “Finding the Right Digital Camera.” ImagingResource Newsletter. Available online. URL: http://www.imaging-resource.com /TIPS/ BUYGD/ BUYGUID.HTM.Accessed August 17, 2007.King, Julie Adair. Digital Photography for Dummies. 5th ed. Hoboken,N.J.: Wiley, 2005.Silva, Robert. “Digital Camcorder Formats.” Available online. URL:http://hometheater.about.com/od/camcorders/a/camformats_2.htm. Accessed August 17, 2007.Wilson, Tracy V., K. Nice, <strong>and</strong> G. Gurevich. “How Digital CamerasWork.” Available online. URL: http://www.howstuffworks.com/digital-camera.htm. Accessed August 17, 2007.PHPPHP is a very popular scripting language primarily usedfor creating dynamic Web pages (see Ajax <strong>and</strong> scriptinglanguages). PHP originated in 1994 as a way for Danishprogrammer Rasmus Lerdorf to replace a set <strong>of</strong> Perl scriptsused to manage his own Web page—hence the originalname “personal home page.” Lerdorf released the first versiontogether with a “form interpreter” in 1995. In 1997 thelanguage parser was rewritten by Israeli developers ZeevSuraski <strong>and</strong> Andi Gutmans, who launched PHP3 in 1998;since then the initials PHP have (recursively) stood for PHP:Hypertext Processor. In 2004 the current version, PHP5,was released. As the language has evolved, it has improvedin its support for objects (see object-oriented programming)as well as in its connectivity to MySQL <strong>and</strong> otherdatabase <strong>and</strong> Web-application coordination technologies.PHP normally runs on a Web server <strong>and</strong> processes PHPcode, which is <strong>of</strong>ten embedded within Web pages (seeHTML). The classic Hello World program would look likethis:The PHP processor parses only the code within the delimiters. (An alternative set <strong>of</strong> delimiters is .Besides being embedded in HTML pages, PHP canbe used interactively at the comm<strong>and</strong> line, where it hasreplaced older languages such as awk, Perl, or shell script-

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!