jpegqs(1)
π NAME π
jpegqs β JPEG Quant Smooth β it's giving JPEG artifacts removal, and honestly? iconic π
β¨
π¦ SYNOPSIS π¦
jpegqs [options] input.jpg output.jpg
π DESCRIPTION π
okay so bestie, sit down, because this is actually so cool π«Ά
This program tries to recover the lost precision of DCT coefficients based on a quantization table from a JPEG image. Like, it goes digging through the quant table and tries to put back what got squished out. π
The result is saved as a JPEG image with quantization set to 1 β which is the same energy as a JPEG saved at 100% quality. she's giving brand new, no cap π
β¨ OPTIONS β¨
-q,--quality nβ the quality setting, ranges from0to6, and the default is3πΈ
lowkey a lil mystery here β the original page has this path chillin' right at the end of this entry: /home/rainbow/Desktop/pngtest/jpegrestore/jpegqs.1 β so I'm keeping it because the rule is every detail stays, fr fr π
-n,--niter nβ number of iterations (default is3) π- More iterations can make the result look like CG art, can make the photos look unnatural. so likeβ¦ she's giving render, not reality π
-t,--threads nβ set the number of CPU threads to use π§΅ (yes she multithreads, we love a girlboss)-o,--optimizeβ option forlibjpegto produce smaller output file π¦ (smaller file, same slay)-v,--verbose nβ printlibjpegdebug output π-i,--info nβ print quantsmooth debug output (default is15) π
Use the sum of flags, so you literally add them up, it's math girlie hours:
0β silent π€«1/2/4β various information8β processing time16β SIMD type
β οΈ the processing time includes only the smoothing algorithm β jpeg reading and writing time is not included. don't get it twisted bestie π
-p,--cpu nβ use to lower the SIMD type if CPU detection fails π₯οΈ0β auto1β scalar2β SSE23β AVX24β AVX512
π x86 build selects between modes1-3, x86_64 from2-4. iykyk π§
π QUALITY π
The quality setting sets a combination of flags for processing, like a lil preset bundle, so cute π
- default β
- adds
DIAGONALSflag- smoother diagonal edges, ~
1.5times slower. she's smoother but she's taking her time π
- smoother diagonal edges, ~
- adds
JOINT_YUVflag- chroma channels will depend from luminance, better color consistency. the color girlies are gonna love this one π¨
- adds
UPSAMPLE_UVflag- non-blurring chroma upsampling, unlike fancy upsampling from
libjpeg. no blur, only clarity β¨
- non-blurring chroma upsampling, unlike fancy upsampling from
levels 0-2 is the same as 4-6, but with LOW_QUALITY flag ~10 times faster, but the quality is lower πββοΈπ¨ LOW_QUALITY implies DIAGONALS (always set) β like, she said you're getting diagonals whether you asked or not π
π₯ PROJECT PAGE π₯
https://github.com/ilyakurdyukov/jpeg-quantsmooth
go give it a star, bestie, it's free π«Άβ
π COPYRIGHT π
Copyright (C) 2016-2021 Ilya Kurdyukov
and that's the whole page, bestie!! this was JPEG Quant Smooth, version 08 Apr 2021, manual page jpegqs(1) β thank you for coming to my ted talk, mwah ππ¦πΈβ¨
π¦ where this page comes from
- debian bookworm: jpegqs 1.20210408-3 Β· LGPL-2.1-or-later
- debian trixie: jpegqs 1.20210408-3 Β· LGPL-2.1-or-later
- ubuntu jammy: jpegqs 1.20210408-2 Β· LGPL-2.1-or-later
- ubuntu noble: jpegqs 1.20210408-3 Β· LGPL-2.1-or-later
- ubuntu questing: jpegqs 1.20210408-3
- ubuntu resolute: jpegqs 1.20210408-3build1 Β· LGPL-2.1-or-later
- ubuntu stonking: jpegqs 1.20210408-3build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms