Create a G3 facsimile image with ASN.1 wrapper for ldap photo

How to create an "Object encoded in a G3 facsimile message, as described in Recommendation T.4, with an ASN.1 wrapper to make it compatible with the X.400 BodyPart, as defined in X.420." in C # starting with any standard .NET image / bitmap objects?

This is an LDAP attribute definition.

+3
source share
1 answer

G3 Fax is some version of TIFF, if I remember correctly.

Thus, you probably have to encode some specific TIFF variant in ASN.1, as described in the X.420 specification from ITU (its freely available)

It states:

G3FacsimileBodyPart ::= SEQUENCE { parameters G3FacsimileParameters, 
                                   data       G3FacsimileData}
G3FacsimileParameters ::= SET { number-of-pages [0] INTEGER OPTIONAL, 
                                non-basic-parameters [1] G3FacsimileNonBasicParameters  
                                OPTIONAL}
G3FacsimileData ::= SEQUENCE OF BIT STRING

, ASN.1 TIFF G3FacsimileData .

+1

Source: https://habr.com/ru/post/1717734/


All Articles