1. A method comprising: enabling a user to define a redaction of a part of a document in a corpus of documents, the redaction definition including a scope defining a range of documents in the corpus to which the redaction applies, wherein the document is produced as a bitmap image file in which a redacted region appears as a region of black pixel data; creating a temporary image file representing an unredacted version of the document; creating a temporary image file representing a redacted version of the document utilizing custom fonts in rendering which result in foreground and background colors of redaction regions being an inverse of the foreground and the background colors of fonts used for non-redaction regions; performing XOR operations between corresponding sections in the temporary image files of the unredacted and the redacted documents; and creating a mapping between a redacted token and pixel space bounds of the redacted token, thereby creating the region of black pixel data.
1. A method comprising: enabling a user to define a redaction of a part of a document in a corpus of documents, the redaction definition including a scope defining a range of documents in the corpus to which the redaction applies, wherein the document is produced as a bitmap image file in which a redacted region appears as a region of black pixel data; creating a temporary image file representing an unredacted version of the document; creating a temporary image file representing a redacted version of the document utilizing custom fonts in rendering which result in foreground and background colors of redaction regions being an inverse of the foreground and the background colors of fonts used for non-redaction regions; performing XOR operations between corresponding sections in the temporary image files of the unredacted and the redacted documents; and creating a mapping between a redacted token and pixel space bounds of the redacted token, thereby creating the region of black pixel data. 22. The method of claim 1 , further comprising: providing a single user interface for redaction, the single user interface capable of handling documents of two or more of the following types: text documents, image documents, motion documents, and mixed-type documents.