← Back

ofxFastIOImage

github.com/armadillu/ofxFastIOImage · @armadillu
OF 0.9 Graphics

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

14 4 Last commit 8y ago Created 14y ago

Forks

Forks pushed to more recently than armadillu/ofxFastIOImage itself, plus any admin-confirmed fork with commits of its own — worth checking if you're hitting issues with the original.

local-projects/ofxFastIOImage by @local-projects · ★ 0 · pushed 8y ago

README

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

Get this addon

HTTPS
SSH