You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm reading keywords from an image exported from Lightroom and I'm seeing a charset error, and the letter b is included before each element in the return.
Here's my snippet of code:
from iptcinfo3 import IPTCInfo
def read_tags():
info = IPTCInfo('test2.jpg')
words = info['keywords']
print(words)
And this is the output:
WARNING: problems with charset recognition (b'\x1b')
[b'cambodia', b'cow', b'overcast', b'temple']
This is the image that I'm running it on.
I can suppress the error, but is there a way to stop returning the extraneous b character?
The text was updated successfully, but these errors were encountered:
I'm reading keywords from an image exported from Lightroom and I'm seeing a charset error, and the letter b is included before each element in the return.
Here's my snippet of code:
And this is the output:
This is the image that I'm running it on.
I can suppress the error, but is there a way to stop returning the extraneous b character?
The text was updated successfully, but these errors were encountered: