Apr-23-2018, 07:55 PM
(Apr-23-2018, 12:15 PM)buran Wrote: Please, post your full code (minimal runnable script).
My guess is img is a variable, defined in the example code somewhere before that line and it is missing (i.e. it is not defined yet, or you are using different name) in your code.
You're right. img represented an image file that was read before writing. Thank you!