Reference+
Name
width
Description
The width of the image in units of pixels.
Examples
PImage tiles = loadImage("trees.jpg"); size(400, 400); image(tiles, 75, 20); rect(225, 20, tiles.width, tiles.height); saveFrame("name_.png");
Syntax
pimg.width
Parameters
pimg

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.