Architecture And Hardware Design Of Lossless Compression Algorithms For Direct-Write Maskless Lithography Systems