Add image compression using libpng (not complete yet...)