ilyakurdyukov / jpeg-quantsmooth

JPEG artifacts removal based on quantization coefficients.
GNU Lesser General Public License v2.1
245 stars 21 forks source link

force `DCT coefficient out of range`? #27

Closed zvezdochiot closed 1 year ago

zvezdochiot commented 1 year ago

Hi @ilyakurdyukov .

Libjpeg out DCT coefficient out of range. The file is not processed (output 0). The file is viewed and converted.

zvezdochiot commented 1 year ago

Sorry. Already fixed.

zvezdochiot commented 1 year ago

Hi @ilyakurdyukov .

No. Not fixed. At you it is even worse (appearance of result). Example:

10002

10002 bad

ilyakurdyukov commented 1 year ago

Fixed in https://github.com/ilyakurdyukov/jpeg-quantsmooth/commit/87accb68226cb665dc7aa80d363d4ff4333781e9.

ilyakurdyukov commented 1 year ago

libjpeg corrupts the image when it sees a coefficient that goes beyond the limit - it doesn't crop it and doesn't save the rest of the image.

zvezdochiot commented 1 year ago

Hi @ilyakurdyukov .

Release? New?