Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MegaCurious opened this issue Jan 23, 2025 · 1 comment

Comments

@MegaCurious
Copy link

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

@SableRaf
Copy link
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants