Restructed the ref counting of the rawImageRec structure so that it's done with a separate refImageRec struct so it doesn't interfer with the writing of the rawImageRec as a header when writing to .rgb
Restructed the ref counting of the rawImageRec structure so that it's done with a separate refImageRec struct so it doesn't interfer with the writing of the rawImageRec as a header when writing to .rgb

openscenegraph/osg,openscenegraph/osg,scrawl/osg,scrawl/osg,scrawl/osg,openscenegraph/osg,openscenegraph/osg,scrawl/osg