Connexions

Sections
You are here: Home » Content » Fundamentals of Image Pixel Processing

About: Fundamentals of Image Pixel Processing

Module by: Richard Baldwin. E-mail the author

View the content: Fundamentals of Image Pixel Processing

Metadata

Name: Fundamentals of Image Pixel Processing
ID: m34461
Language: English (en)
Summary: Learn how to write skeleton code for creating a Bitmap object from an image file and how to display the bitmap. Learn two different ways to handle the image file, one of which results in a security issue that must be handled at compile time. Learn how to extract the BitmapData object from the Bitmap object and how to use the getPixels, setPixels, and setPixel32 methods to process the pixels in the bitmap. Learn how to apply a color inversion algorithm to invert the colors in a BitmapData object.
Subject: Science and Technology
Keywords: actionscript, addEventListener, alpha, base class, Bitmap, BitmapData, class, custom effects, derived class, dynamic binding, effect, encapsulation, event, event handler, extends, flash, flex mxml, inheritance, late binding, method, object, overload, override, polymorphism, programming, run-time, subclass, superclass, transparency, trigger
License: Creative Commons Attribution License CC-BY 3.0

Authors: Richard Baldwin (Baldwin@DickBaldwin.com)
Copyright Holders: Richard Baldwin (Baldwin@DickBaldwin.com)
Maintainers: Richard Baldwin (Baldwin@DickBaldwin.com)

Latest version: 1.1 (history)
First publication date: May 22, 2010 2:16 pm -0500
Last revision to module: May 22, 2010 3:15 pm -0500

Downloads

PDF: m34461_1.1.pdf PDF file, for viewing content offline and printing. Learn more.
XML: m34461_1.1.cnxml XML that defines the structure and contents of the module, minus any included media files. Can be reimported in the editing interface. Learn more.

Version History

Version: 1.1 May 22, 2010 3:15 pm -0500 by Richard Baldwin
Changes:
Initial publication

How to Reuse and Attribute This Content

If you derive a copy of this content using a Connexions account and publish your version, proper attribution of the original work will be automatically done for you.

If you reuse this work elsewhere, in order to comply with the attribution requirements of the license (CC-BY 3.0), you must include

  • the authors' names: Richard Baldwin
  • the title of the work: Fundamentals of Image Pixel Processing
  • the Connexions URL where the work can be found: http://cnx.org/content/m34461/1.1/

See the citation section below for examples you can copy.

How to Cite and Attribute This Content

The following citation styles comply with the attribution requirements for the license (CC-BY 3.0) of this work:

American Chemical Society (ACS) Style Guide:

Baldwin, R. Fundamentals of Image Pixel Processing, Connexions Web site. http://cnx.org/content/m34461/1.1/, May 22, 2010.

American Medical Assocation (AMA) Manual of Style:

Baldwin R. Fundamentals of Image Pixel Processing [Connexions Web site]. May 22, 2010. Available at: http://cnx.org/content/m34461/1.1/.

American Psychological Assocation (APA) Publication Manual:

Baldwin, R. (2010, May 22). Fundamentals of Image Pixel Processing. Retrieved from the Connexions Web site: http://cnx.org/content/m34461/1.1/

Chicago Manual of Style (Bibliography):

Baldwin, Richard. "Fundamentals of Image Pixel Processing." Connexions. May 22, 2010. http://cnx.org/content/m34461/1.1/.

Chicago Manual of Style (Note):

Richard Baldwin, "Fundamentals of Image Pixel Processing," Connexions, May 22, 2010, http://cnx.org/content/m34461/1.1/.

Chicago Manual of Style (Reference, in Author-Date style):

Baldwin, R. 2010. Fundamentals of Image Pixel Processing. Connexions, May 22, 2010. http://cnx.org/content/m34461/1.1/.

Modern Languages Association (MLA) Style Manual:

Baldwin, Richard. Fundamentals of Image Pixel Processing. Connexions. 22 May 2010 <http://cnx.org/content/m34461/1.1/>.