auto-scaling JPG for web (resize)

last modified on 30 July 2019, by Cédric Louvrier

pingo could try to resize JPG pictures automatically. it could be useful to send JPG faster by e-mail, for web publication, etc. the targeted spatial size should be retrieved directly from the DCT instead of decoding and resampling the image data

pingo -jpgscale target

high definition

original file: sunrise.jpg (1114.80 KB): definition resizing
original -auto
sunrise - original sunrise - auto1
5471 x 3647 1367 x 911
1114.80 KB 103.59 KB (0.32s)

very high definition

original file: brooklyn.jpg (1114.80 KB): definition resizing
original -auto
brooklyn - original brooklyn - auto1
11658 x 6112 1457 x 764
1421.74 KB 112.02 KB (0.31s)