Skip to content

image() does not match Processing API #129

@SableRaf

Description

@SableRaf

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions