Skip to main content
Participating Frequently
February 13, 2013
Question

how to save and load custom plugin data ?

  • February 13, 2013
  • 1 reply
  • 678 views

I have import plugin, and would like to save and load with the psd file some parameters that are unique to my plugin.. how to do this ?

Thanks

This topic has been closed for replies.

1 reply

Tom Ruark
Inspiring
February 14, 2013

SimpleFormat adds resources but it is a file format. The PIAquire.h header has the resource callback API. Try to look at those two examples and put in your data.

starjohn2Author
Participating Frequently
February 17, 2013

Thanks Tom, I found the code.. however I can save a resource only when selector = acquireSelectorStart,

and it is getting deleted when selector == acquireSelectorFinish.. any idea why ?

It is also not saved when I save as psd file