![]() ![]() You are receiving this because you are subscribed to this thread. Return struct.pack(“B” * len(args), *args) I want to images have keyword “Test album”, for quick search in Shotwell.Įxif_dict.get(“0th”) = tags // tags is string ‘tag1,tag2’įile “/usr/local/lib/python2.7/dist-packages/piexif/_dump.py”, line 337, in _dict_to_bytesįile “/usr/local/lib/python2.7/dist-packages/piexif/_dump.py”, line 193, in _value_to_bytesįile “/usr/local/lib/python2.7/dist-packages/piexif/_dump.py”, line 162, in _pack_byte For example, I have 10 photos in album named “Test album”, and On Mon, at 1:48 AM Artem Ryzhov want to implement feature that add keywords to image metadata, by icloudĪlbum title. (Someone elseĬontributed the piexif code.) But it sounds like a great idea for aįeature, and I’d be happy to merge a PR if you can get it working. ![]() Or iptcinfo libraries, so I won’t be able to help very much. Hi, wow that sounds difficult! Sorry but I’ve never really used the piexif No errors, and no results - tags wasn’t written to file… Struct.error: cannot convert argument to integer For example, -time:all -Exif:Time:All removes all deletable Time tags except. Return struct.pack("B" * len(args), *args) Note: If FILE is a directory name then only supported file types in the. I tried via piexif: exif_dict = piexif.load(path)Įxif_dict.get("0th") = tags // tags is string 'tag1,tag2'Īnd got error zeroth_set = _dict_to_bytes(zeroth_ifd, "0th", 0)įile "/usr/local/lib/python2.7/dist-packages/piexif/_dump.py", line 337, in _dict_to_bytesįile "/usr/local/lib/python2.7/dist-packages/piexif/_dump.py", line 193, in _value_to_bytesįile "/usr/local/lib/python2.7/dist-packages/piexif/_dump.py", line 162, in _pack_byte The difficulty in implementing data writing to a file… ![]() For example, I have 10 photos in album named “Test album”, and I want to images have keyword “Test album”, for quick search in Shotwell. I want to implement feature that add keywords to image metadata, by icloud album title.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |