Illustrator SDK - save as tiff is giving error
Hello,
In our plugin, we are trying to save as tiff image which was working fine in 27.2 version of AI.
After that i updated to 28.7 and now 29.6. in these versions, i came to know that when i am trying to save tiff, getting this error.
Error: "An unknown error caused the operation to fail"
error code is returning some bigger random number (on debug - checked)
here is the code i am using.
/////////////////
const char *fileFormatName = "TIFF";
err = sAIDocument->WriteDocumentWithOptions(parent_dir, fileFormatName, kFileFormatExport | kFileFormatWriteAs | kFileFormatWrite , NULL, false, NULL);
////////////////////////////
after executing this line, getting that error.
But file is getting saved and i can able to open the same in Illustrator also.
is there any changes related this with new versions ?
Regards,
Gopinath.
