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
in libtiff_ctypes.py#L492 the call to kind.title() can never result in the following CamelCase keys:
name_to_define_map = dict(PhotoMetric={}, PlanarConfig={}, SampleFormat={}, FillOrder={},FaxMode={}, TiffTag={}).
the String.Title() call will result in:
name_to_define_map = dict(Photometric={}, Planarconfig={}, Sampleformat={}, Fillorder={},Faxmode={}, Tifftag={}) !!!!
an easy fix would be:
for key in define_to_name_map.keys():
if key.upper() == kind.upper():
return name_to_define_map[key][tagname.upper()]
Unfortunately, that still doesnt allow me to modify an included tiff-tag.
The text was updated successfully, but these errors were encountered:
in libtiff_ctypes.py#L492 the call to kind.title() can never result in the following CamelCase keys:
name_to_define_map = dict(PhotoMetric={}, PlanarConfig={}, SampleFormat={}, FillOrder={},FaxMode={}, TiffTag={}).
the String.Title() call will result in:
name_to_define_map = dict(Photometric={}, Planarconfig={}, Sampleformat={}, Fillorder={},Faxmode={}, Tifftag={}) !!!!
an easy fix would be:
for key in define_to_name_map.keys():
if key.upper() == kind.upper():
return name_to_define_map[key][tagname.upper()]
Unfortunately, that still doesnt allow me to modify an included tiff-tag.
The text was updated successfully, but these errors were encountered: