Skip to content

load / save ofImages byte-to-byte as binary files, faster than ofImage load / save

Notifications You must be signed in to change notification settings

armadillu/ofxFastIOImage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

ofxFastIOImage

Simple OF addon to load / save ofImages byte-to-byte as binary files, instead of traditional png / jpg approach. I found that saving png's using ofImage's load / save methods is especially slow on iOS. This add-on might speed up save/load for platforms with slow cpu and fast i/o. Of course the downside is that the files are not readable by anything else, and they are much bigger.

Requires ofxXmlSettings, and the example uses ofxTimeMeasurements to measure times.

On an iPhone 4s, ofxFastIOImage is 2x faster at loading and 5x faster at saving than the usual ofImage methods.

ofxFastIOImage screenshot

About

load / save ofImages byte-to-byte as binary files, faster than ofImage load / save

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published