#include "HxImageRep.h"
Go to the source code of this file.
Functions | |
| HxImageRep L_HXIMAGEREP | HxImageAsInt (HxImageRep img) |
| Convert the pixel representation to int. More... | |
|
|
Convert the pixel representation to int. Conversion is done via a cast.
00014 {
00015 HxImageSignature signature(HXIMAGESIG2DINT);
00016 signature.setImageDimensionality(img.dimensionality());
00017 return img.signature() == signature ?
00018 img : HxImageFactory::instance().fromImage(signature, img);
00019 }
|
1.2.12 written by Dimitri van Heesch,
© 1997-2001