control xml saved when closing a sequence?

Home Forums Development control xml saved when closing a sequence?

  • Frederic Marion-Poll

    dear all,

    Is it possible to control the parameters saved in an xml file when closing a sequence? I am working on stacks of images and the user can create multiple ROIs which are saved when the sequence is closed. Is there a way to prevent these rois to be saved?

    More specifically, my stack of images are named cam01-17.04.03_15.36.22.jpg (ie camera ID number -date-time.jpg) . Icy creates a file Cam-.._…xml in which ROIs are save automatically along with other parameters.

    thank you in advance for your help,


    Stephane Dallongeville

    Hi Fred,

    You have a global setting in Icy preferences for that :

    And you can access it by code with


    but don’t forget to restore its prior state..
    also that means that sequence closed from GUI won’t save their metadata too during that period (as there is no way to disable that feature on a Sequence basis) so use that safely.

    Hope that helps 🙂

    – Stephane

    Frederic Marion-Poll

    Thank you Stephane!


    PS Just thought about another way – trap the closing event of a sequence, clean the sequence from the ROIs and let the process continue normally? A plugin can be a sequence listener, no? or this has to be done at the level of the class containing the sequence?



    Stephane Dallongeville

    You can do that indeed but still the XML file will be saved.

Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘Development’ is closed to new topics and replies.