Importing an image using javascript


I am trying to automate several tasks in corel draw using javascript currently I am stuck on importing images I know this is possible using vba code but I have not found any useful information for if this can be done with javascript. If anyone knows if this can/cannot be done or knows of a post that provides some information on how to do that I would greatly appreciate it.