openframeworks / openframeworks/openFrameworks
deprecate ofBufferToFile() procedural style loaders and savers
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
ofBufferToFile
ofBufferFromFile
ofLoadImage
ofSaveImage etc.
Lets discuss better options for loading and saving ofBuffer, ofTexture, ofImage, ofPixels.
Suspect that the c-style methods are not being used / don't feel intuitive.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with libs/openFrameworks/utils/ofFileUtils.h around the referenced declarations for ofBufferToFile, ofBufferFromFile, ofLoadImage, and ofSaveImage. Read the issue discussion to understand the proposed alternatives for loading and saving ofBuffer, ofTexture, ofImage, and ofPixels. This is done only after a replacement API and deprecation scope are agreed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100