Can’t write the image to the directory.
sensor.snapshot().save(“dir%03d/I_%03d.jpg” % (freeDirNumber,counterNumber), quality = 90)
freeDirNumber, counterNumber is int in range 0…255. The directory exists.
Throws an error “OSError: Could not find a patch” and I cannot figure out the syntax.
Please help solve the problem!