Sub class of ofTexture using with ofImage

Hi,

Is there a way to let ofImage use a subclass of ofTexture? Without having to edit the ofImage code?

Rick