danielgtaylor / jpeg-archive

Utilities for archiving JPEGs for long term storage.
1.16k stars 122 forks source link

JPEG Lossy #41

Closed lorents17 closed 8 years ago

lorents17 commented 8 years ago

I have an idea on optimization of JPEG Lossy

What is JPEG progressive? Actually it is a number of images where quality of each following image is higher previous the image.

We will take this image

content

JPEG Scan Killer project.

We receive 16 images:

File butteraugli dssim Size
scan_002 5,630772 0.15174437 15 871
scan_003 5,862817 0.05783141 22 461
scan_004 4,675802 0.03125192 31 356
scan_005 2,387352 0.00364845 109 247
scan_006 2,327576 0.00254360 152 963
scan_007 2,271701 0.00243935 160 207
scan_008 2,240952 0.00250675 194 622
scan_009 1,813344 0.00151375 200 877
scan_010 1,234480 0.00071220 222 874
scan_011 1,031184 0.00029957 274 295
scan_012 0,978295 0.00030116 305 552
scan_013 0,909136 0.00025336 329 976
scan_014 0,754250 0.00006819 392 083
scan_015 0,595898 0.00004337 439 168
scan_016 0,000000 0.00000000 480 790

How it is possible to create with the help -scans technology of optimization of JPEG lossy?

JPEG consists of blocks of 8х8 pixels. Perhaps, there is a sense to segment the image and to optimize each part separately. Later to connect parts of the image in the uniform optimized image. Principle of work of the betterjpeg program.

I wanted to learn, your opinion on the matter.