libtiff.net icon indicating copy to clipboard operation
libtiff.net copied to clipboard

Unknown tag OPIIMAGEID

Open CFZellkraft opened this issue 10 months ago • 2 comments

I am trying to set the TiffTag.OPIIMAGEID.

I tried using .SetField(TiffTag.OPIIMAGEID, 0); and .SetField(TiffTag.OPIIMAGEID, "ID0");

both resulted in the "Unknown tag OPIIMAGEID" message.

CFZellkraft avatar Mar 20 '25 08:03 CFZellkraft

As a workaround, you can write it as custom tag: https://github.com/BitMiracle/libtiff.net/tree/master/Samples/ReadWriteCustomTags

shibaev avatar Mar 20 '25 09:03 shibaev

Thank you very much. I already did that but wanted to rise the issue nonetheless as someone else might stumble upon this.

CFZellkraft avatar Mar 20 '25 09:03 CFZellkraft