Write image to the file specified. This is a wrapper for the OpenCV function imwrite.

print_image(img, filename)

returns none

from plantcv import plantcv as pcv      
pcv.print_image(img, "home/user/images/test-image.png")