This function is called if the script has been selected in the script dropdown. It must do all processing and return the Processed object with results, same as one returned by processing.process_images. Usually the processing is done by calling the processing.p
(self, p, *args)
| 126 | return True |
| 127 | |
| 128 | def run(self, p, *args): |
| 129 | """ |
| 130 | This function is called if the script has been selected in the script dropdown. |
| 131 | It must do all processing and return the Processed object with results, same as |
| 132 | one returned by processing.process_images. |
| 133 | |
| 134 | Usually the processing is done by calling the processing.process_images function. |
| 135 | |
| 136 | args contains all values returned by components from ui() |
| 137 | """ |
| 138 | |
| 139 | pass |
| 140 | |
| 141 | def setup(self, p, *args): |
| 142 | """For AlwaysVisible scripts, this function is called when the processing object is set up, before any processing starts. |
no outgoing calls
no test coverage detected