I am trying to make a script that exports an image object to a specified file path. Everything works well but vs.ExportImageFile(hImage, path) does nothing.
Here is the script:
________________________________________________________
#Get selected bitmaps
crit_ = '(((SEL=TRUE) & (T=BITMAP)))'
out_list = []
def Add_Handle(obj):
out_list.append(obj)
vs.ForEachObject(Add_Handle,crit_)
#GetFirstImage
hImage = out_list[0]
#