setFromPixels vs setFromExternalPixels #589

kylemcdonald opened this Issue May 31, 2011 · 1 comment


None yet
1 participant

kylemcdonald commented May 31, 2011

setFromPixels has two forms: one that takes an int channels, another that takes ofImageType.

setFromExternalPixels only has one form: it takes an int channels.

in my opinion, it makes sense to change them both to ofImageType only, because the int channels is susceptible to accidentally passing an ofImageType to it.


kylemcdonald commented Dec 12, 2014

closing this, as pixel format vs image type changes has made this irrelevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment