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