Skip to content

Refactor oslWriteImageFilePNG - #70

Merged
dogo merged 2 commits into
masterfrom
refactor/osWriteImagePNG
Sep 9, 2024
Merged

Refactor oslWriteImageFilePNG #70
dogo merged 2 commits into
masterfrom
refactor/osWriteImagePNG

Conversation

@dogo

@dogo dogo commented Sep 9, 2024

Copy link
Copy Markdown
Owner
  • Refactored oslWriteImageFilePNG function for better readability, error handling, and memory management.
    • Added proper resource cleanup in case of errors.
    • Improved pixel format handling with a clearer switch-case structure.
    • Enhanced error reporting with informative messages during file operations and memory allocation.

dogo added 2 commits September 9, 2024 12:38
- Refactored oslWriteImageFilePNG function for better readability, error handling, and memory management.
  - Added proper resource cleanup in case of errors.
  - Improved pixel format handling with a clearer switch-case structure.
  - Enhanced error reporting with informative messages during file operations and memory allocation.
@dogo
dogo merged commit 9399060 into master Sep 9, 2024
@dogo
dogo deleted the refactor/osWriteImagePNG branch September 9, 2024 15:44
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.

1 participant