> Hello. Recently we have a new requirement to store document in LDAP
> directory. This is a piece of written paper scanned in black and white
> (bitmap) with signature, received by fax, one for each contact person.
> I think the best solution would be defining a new attribute using FAX
> syntax (ID : 1.3.6.1.4.1.1466.115.121.1.23).
>         Values in this syntax are encoded as if they were octet strings
>         containing Group 3 Fax images as defined in .
> But I googled around not being able to find a tool that I can use to
> convert the fax (coming as png format)

Now are you receiving the fax as a PNG?  Modify the receiver to NOT
convert the fax to PNG since.   Faxes are received as G3 (always).

>  to fit the above requirement.
> netpbm can convert image to raw g3 format, but don't seems to provide
> information if it can be wrapped in ANS.1. A search of ANS.1 and image
> toolkits provide very little information. rfc2159 seems to be
> particularly about this issue but this RFC is referred to from too few
> software's document too.

You don't convert it to ASN.1,  the LDAP tools do that for you.  Create
an LDAP file and specify the attribute like:

{attriutename}:< file://tmp/file.g3

and it will load.  Do a "man ldif"

Most decent LDAP client libraries will take take of all this for you.
In C# you'd read the file into a byte[] and set it as the value of the
attribute.  Then just do a ldap modify/create.

> Can I safely store the document (bitmap including a signature) in LDAP
> as raw g3 data without worrying breaking regulations?

Of course.


---
You are currently subscribed to [email protected] as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the 
SUBJECT of the message.

Reply via email to