Skip to main content
Participant
July 21, 2025
Question

Illustrator SDK - save as tiff is giving error

  • July 21, 2025
  • 1 reply
  • 133 views

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.

1 reply

creative explorer
Community Expert
Community Expert
July 27, 2025

@gopi_0349 obviously the new versions of Illustrator did change of course. So, to answer your question, yes, the version changed hence the updates. If your plugin worked for '27.2' it's pretty obvious the newer versions doesn't play as nice with the plugin. I would go back to the creator of the plugin if they have an updated version for newer version of Illustrator

m
gopi_0349Author
Participant
July 28, 2025

Thank you for your reply.

 

Please let us know the feedback from your plugin creator.

 

Regards,

Gopi.