thorfdbg / libjpeg

A complete implementation of 10918-1 (JPEG) coming from jpeg.org (the ISO group) with extensions for HDR, lossless and alpha channel coding standardized as ISO/IEC 18477 (JPEG XT).
327 stars 81 forks source link

artifacts at bottom of image when using 4:2:0 chroma subsampling #11

Closed jonsneyers closed 7 years ago

jonsneyers commented 7 years ago

Especially when using a low quality setting, the bottom few rows of an image are problematic when using chroma subsampling. Here's an example: a

thorfdbg commented 7 years ago

Thank you, this issue was due to a bad upsampling policy at the bottom of the image and should be fixed now.