Language \ Environment \ Comparison
 
Index
 
  The Processing 1.0 _ALPHA_ Reference is a work in progress.
If you see any errors or have any comments, please write to: reas at groupc.net
Name  

BImage

   
Examples  
BImage b; 
b = loadImage("laDefense.jpg"); 
image(b, 0, 0); 
Description   Datatype for storing images. Processing allows display of .gif and .jpg images. Images may be displayed in 2D and 3D space. Before an image is used, it must be loaded with the loadImage() function. The BImage object contains properties for the width and height of the image, as well as an array called pixels[] which contains the values for every pixel in the image.
   
Syntax  
BImage name 
name.pixels[]
name.width
name.height
   
Parameters  
name   any legal variable name

   
Usage   Web & Application
   
Related   loadImage()
imageMode()
   
© 2004 - 2001 Massachusetts Institute of Technology and Interaction Design Institute Ivrea
Processing is an open project initiated by Ben Fry and Casey Reas