sip_set_verbose - set the messaging level for SIP routines
sip_quiet - suppress vebose messages
sip_wordy - enable verbose messages
sip_get_verbose - the current verbose mode
sip_set_verbose('quiet') or simply sip_quiet() prevents helper messages from being issued by SIP functions such as imread, mogrify, and others. It is useful when one wants to use those functions inside a loop, for example.
sip_set_verbose('wordy') or simply sip_wordy() causes helper messages to be issued by SIP functions such as imread, mogrify, and others. It is useful for debugging and for interactive usage.
sip_set_verbose() toggles/inverts the current mode.
The output is always the PREVIOUS verbose mode.
sip_quiet(); // shut up! [im,map] = imread(SIPDIR+'images/escher.png'); sip_wordy(); // verbose messages [im,map] = imread(SIPDIR+'images/escher.png'); //--------------------------------------------- // The following can be useful inside a script: previous_mode = sip_quiet(); im2 = mogrify(im,map,['-rotate','30']); // recall user's mode sip_set_verbose(previous_mode);