Visitar URL original
Reference documentation, problem in code example given for PImage.height · Issue #605 · processing/processing-website · GitHub
Skip to content

Reference documentation, problem in code example given for PImage.height #605

Description

@MegaCurious

Select the type of content error.

Factual Mistake

Section

Reference

Location of the error

content/references/examples/processing/PImage_height/PImage_height.pde

Describe the error

The code example given in reference section for Pimage_height doesn’t have any mention at all of height in it. It should be updated to be relevant to the heading under which it occurs.

Suggested correction

Perhaps the content could be updated to be parallel in structure to the documentation for Pimage_width

Language

English

Screenshots or references

// this is the code example given, which does not illustrate how PImage.height works and does not even reference it

PImage photo;

void setup() {
size(400, 400);
photo = loadImage("mt-horai.jpg");
}

void draw() {
image(photo, 0, 0);
}

Additional context

No response

Activity

  1. SableRaf commented on Jan 23, 2025

    @SableRaf
    Collaborator

    Hi @MegaCurious and thanks for reporting this issue. I see this is your first one on GitHub. Congratulations and welcome!

    For reference, the file with the code for this example is located here:

    /content/references/examples/processing/PImage_height/PImage_height.pde

    Would you like to help resolve this issue? I'll be happy to offer any guidance on making your first contribution.

  2. MegaCurious commented on Jan 28, 2025

    @MegaCurious
    Author
  3. MegaCurious commented on Feb 18, 2025

    @MegaCurious
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions