Can't use image with SVG library

hello

I am using processing p3, I want to convert a bitmap image to SVG. i edited one of the programs in SVG libraries of Processing with image() function, it throws an error.
as I am new to programming, Pl suggest me solution.

thanks in advance
Sahan