Permalink
Browse files

Merge branch 'develop' of github.com:openframeworks/openFrameworks in…

…to feature-subsection
  • Loading branch information...
2 parents 25aa585 + 3ddcc0d commit 0f1c53db9fafe7af89b574791ef5c6cea494ec94 @kylemcdonald kylemcdonald committed Apr 10, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 libs/openFrameworks/graphics/ofImage.cpp
@@ -883,6 +883,11 @@ void ofImage_<PixelType>::update(){
}
tex.loadData(pixels);
}
+
+ width = pixels.getWidth();
+ height = pixels.getHeight();
+ bpp = pixels.getBitsPerPixel();
+ type = pixels.getImageType();
}
//------------------------------------

0 comments on commit 0f1c53d

Please sign in to comment.