In libprocessing / mewnala, image() is used to load an image:
def image(self, /, file: str) -> Image: ...
In Processing, image() displays an image, while loading is done with loadImage().
Processing behavior
PImage img = loadImage("image.png");
image(img, x, y);
Expected
loadImage(path) -> Image for loading
image(img, x, y, [w, h]) for drawing
See also
In libprocessing / mewnala,
image()is used to load an image:In Processing,
image()displays an image, while loading is done withloadImage().Processing behavior
Expected
loadImage(path) -> Imagefor loadingimage(img, x, y, [w, h])for drawingSee also