TASImage Constructor failure

I suspect that no one has ever tried this before. I’ve created a TASImage with just the width and height specified. I then intend to populate the image directly.
However, I find after construction the width is of size 1. Example code:

 cout << __FUNCTION__ << " NCol " << NCol << " NRows " << NRows << endl;
fImage = new TASImage("MyImage" ,NCol, NRows);
fImageData = fImage->GetArgbArray();
cout << __FUNCTION__ 
 << " Width "  << fImage->GetWidth() 
 << " Height " << fImage->GetHeight() 
 << " argb "   << fImageData[0] << endl;

The first cout has NCol and NRows going in as 1000.
The second has Width as 1000 and Height as 1.
Has anyone else experienced this?
Chris

It appears that the following works. Not quite sure why, just guessing the documentation is a bit differnt than the coding.

const UInt_t Height = 2048;
const UInt_t Width = 512;
const UInt_t Image_Size  = Width*Height

fImage = new TASImage("MyImage" ,Image_Size,  Height);