Hello
I'm trying to run this example on Autocad 2015 (Windows 7, x64):
http://knowledge.autodesk.com/support/autocad-structural-detailing/downloads/caas/blog/adndevblog.ty...
But I get an Atil::ImageConstructionException at the last line below:
Atil::ImagePixel initialImage;
initialImage.setToZero();
initialImage.type = Atil::DataModelAttributes::kRgba;
initialImage.value.rgba = 0xff000000;
Atil::Size size(640, 640);
const Atil::RgbModel *pDm = new Atil::RgbModel(
Atil::RgbModelAttributes::k4Channels,
Atil::DataModelAttributes::kBlueGreenRedAlpha);
Atil::Image *pAtilImage = new Atil::Image(size, pDm, initialImage);
The exception details and stacktrace only say it happened on Atil::TiledImage::construct. I reduced the exemple to a command with just the code snipet above, but the exception still happens. Any hints about what could be causing that?
Thanks,
Joao