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

feat(YNOProject): Draw a pixel of random color to resized image #9235

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

luo3house
Copy link
Contributor

Description

An almost transparent pixel is placed at left top on each resize.

Experimental fix: #8879 (comment)

Acknowledgements

Screenshots

Comment on lines 145 to 152
slot = Array.from(Array(6), () => "0");
slot.splice(
slot.length - colorInHex.length,
colorInHex.length,
...colorInHex.split("")
);
return slot.join("");
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as padStart(color, 6, "0")

@luo3house
Copy link
Contributor Author

#9229

@luo3house luo3house marked this pull request as draft February 2, 2025 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant