rich2005 wrote:
The compression curve. As you can see it is a curve not a straight line. You can not use a linear interpolation. For example the amount of compression for quality=50 is not half of quality=100 (yes a 100 jpeg is still compressed).
rich2005 wrote:
It says use quality 40 to 60 for posting images on the internet. Smaller file sizes = saving on band with / site storage...
Thanks for your explanation and clarification.
rich2005 wrote:
BIMP. Using Debian so that might not be available unless you compile it yourself. A flatpak Gimp does have it as a special flatpak BIMP version. No limit of the number of files but it might be slow. So lets forget BIMP
OK, I won't use BIMP then, per your recommendation.
rich2005 wrote:
Go to the folder containing the jpegs and if you want a size of about say, 400 kb (your quality=50 requirement) the command in a terminal is:
mogrify -define jpeg:extent=400kb *.jpg
I genuinely thank you for the above command line.
rich2005 wrote:
Beware mogrify will overwrite the original sized image.
Thanks for your warning.
rich2005 wrote:
It might slow down where there are many images.
Oh...I'm quite disappointed to learn about it.
Patrice (a.k.a. PixLab) found that XnConvert is able to process tons of JPG files very quickly. Perhaps I should try XnConvert.
rich2005 wrote:
XnConvert - yes there is a linux version.
Based on what I learned after going to XnConvert's official website, the software is available as a native app for Microsoft Windows OS.
I shall use XnConvert for Microsoft Windows because:
(1) XnConvert's latest version is available unlike XnConvert for Debian/Linux where I need to install AppImage or Flatpak first on said Linux distro.
(2) XnConvert has a GUI compared to ImageMagick. I've been using Microsoft Windows OS all my life and only dabbled in Debian, Fedora and OpenBSD some years ago.
rich2005 wrote:
I often use the larger XnViewMP - I use the linux appimage.
Sorry, would you like to clarify what you meant by "larger XnViewMP"?
I did notice that the software developer for XnConvert and XnViewMP is the same person/organization.
Moreover, I noticed that XnViewMP is available as a native app for Microsoft Windows; therefore I won't use XnViewMP on a Linux distro because I'll have to install AppImage or Flatpak first.
Last but not least, I wish to ask you for advice about the size of a JPG file.According to your graph that you provided in one of your earlier posts, quality=80 is good for archival of personal JPG images.
Again, based on your graph, a quality=80 setting would produce a JPG file of size 200KB. That's why I'm a bit confused as to how you obtained a value of 400KB for a quality=50 setting.