Added Raspberry Pi compatibility, with deleteing image compression