DynamicImage translates path the wrong way
Posted: Sun Nov 14, 2021 3:00 pm
I have a python variable that leads to an image.
when i display the variable with
all is looking fine - i get D:\dir\image.jpg
when i set it as an image with
and show it with
i get
"Exception: DynamicImage u'[img]': could not find image. (u'D:\\dir\\image.jpg')
There are double \\'s in the Exception Statement. The image exists at that place. Any hints what newbie error i am making? Thanks!
Code: Select all
$ img = "D:\dir\image.jpg"Code: Select all
e "[img]" when i set it as an image with
Code: Select all
image profile = "[img]"Code: Select all
show profile "Exception: DynamicImage u'[img]': could not find image. (u'D:\\dir\\image.jpg')
There are double \\'s in the Exception Statement. The image exists at that place. Any hints what newbie error i am making? Thanks!