load image hs
Passing string to cpp