auto-scaling JPG for web (resize)

last modified on 9 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 111.19 KB (0.41s)

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 132.95 KB (0.49s)