hi is someone here who knew to convert a jpg 1920x1080 image to png 1280x720 image, with compression?
I already tried it with libav package and use this code:
avconv -i /tmp/img.jpg -vf scale=1280:720 /tmp/img.png
but the png file is about 2mb, with pngquant about 500kb, but this take really long time to compress