Data compression for image archiving applications