Skip to content

Add an indication of whether the PNG/JPG image saving was successful …#912

Merged
leejet merged 2 commits into
leejet:masterfrom
akleine:sync/leejet-master-img_write_result
Nov 22, 2025
Merged

Add an indication of whether the PNG/JPG image saving was successful …#912
leejet merged 2 commits into
leejet:masterfrom
akleine:sync/leejet-master-img_write_result

Conversation

@akleine

@akleine akleine commented Oct 23, 2025

Copy link
Copy Markdown
Contributor

…or not, also see issue #528.
Unfortunately the library used does not give any detailed information about possible errors.
In fact stb_image_write.h (line 77) tells: "Each function returns 0 on failure and non-0 on success."

…or not,

see issue leejet#528. Unfortunately the library used does not give any detailed
information about possible errors. In fact  stb_image_write.h (line 77)
tells:   "Each function returns 0 on failure and non-0 on success."
@leejet leejet merged commit 490c51d into leejet:master Nov 22, 2025
9 checks passed
@akleine

akleine commented Nov 22, 2025

Copy link
Copy Markdown
Contributor Author

Hi @leejet, thank you for your work and for merging all that PR of last weeks.

BTW I think now it is a good time to close this old issue in #528

@akleine akleine deleted the sync/leejet-master-img_write_result branch November 22, 2025 18:47
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

Successfully merging this pull request may close these issues.

2 participants