Text this: A study of image compression techniques, with specific focus on weighted finite automata