I want to convert a jpg image to tiff.
I tried to do it with opencv with python.
import cv2
image = cv2.imread("image.jpg")
retval, buf = cv2.imencode(".tiff", image)
cv2.imwrite("out.tiff")
And I have this:
Process finished with exit code 136 (interrupted by signal 8: SIGFPE)
I referred this link
But I couldn't make it work. Any help would be appreciated.