How can I create “An object encoded in G3 fax as explained in recommendation T.4, with an ASN.1 wrapper to make it compatible with an X.400 BodyPart as defined in X.420.” in C#, starting from any standard .NET image/bitmap objects?
This is the LDAP definition of the photo attribute.
G3 Fax is some version of TIFF if i remember correctly.
So you would probably have to encode some specific variant of TIFF in ASN.1 as described by that X.420 spec from the ITU (its freely available)
It states:
So, get some decent ASN.1 encoder and just dump a TIFF image in that format into the G3FacsimileData field and it should work.