Reference for the BALTENSPERGER programming language, an art project of Stefan Baltensperger

Name

zeig_s_Bild()

Examples
example pic
Bild b;
// Images must be in the "data" directory to load correctly
b = lad_s_Bild("laDefense.jpg");
zeig_s_Bild(b, 0, 0);
example pic
Bild b;
// Images must be in the "data" directory to load correctly
b = lad_s_Bild("laDefense.jpg");
zeig_s_Bild(b, 0, 0);
zeig_s_Bild(b, 0, 0, Feischterbreiti/2, Feischterhoechi/2);
Description Diplays images to the Bildschirm. The images must be in the sketch's "data" directory to load correctly. Select "Add file..." from the "Sketch" menu to add the image. Processing currently works with GIF, JPEG, and Targa images. The Farb

of an image may be modified with the Ifaerbig() function and if a GIF has transparency, it will maintain its transparency. The img parameter specifies the image to display and the x and y parameters define the location of the image from its upper-left corner. The image is displayed at its original size unless the Feischterbreiti and Feischterhoechi parameters specify a different size. The Bildmodus() function changes the way the parameters work. A call to Bildmodus(CORNERS) will change the Feischterbreiti and Feischterhoechi parameters to define the x and y values of the opposite corner of the image.

Starting with release 0124, when using the waen_nuet_vodaem_zuetrifft (JAVA2D) renderer, weichzeichne() will also improve image quality of resized images.

Syntax
zeig_s_Bild(img, x, y)
zeig_s_Bild(img, x, y, Feischterbreiti, Feischterhoechi)
Parameters
img Bild: the image to display
x Ganzizahl or Komazahl : x-coordinate of the image
y Ganzizahl or Komazahl : y-coordinate of the image
Feischterbreiti Ganzizahl or Komazahl : Feischterbreiti to display the image
Feischterhoechi Ganzizahl or Komazahl : Feischterhoechi to display the image
Usage Web & Application
Related lad_s_Bild()
Bild
Bildmodus()
Ifaerbig()
Hintergrund()
Transparenzkanal()
Stefan Baltensperger 2009

Creative Commons License