@xcooling: AFAIK Nexuiz 2.0 did use a lot of these optimisations. Div0 implemented it I think. This is why Nexuiz 2.0 isn't that much bigger than 1.5 despite having a lot more stuff in it.
I'll try and post my Tinynex building script some time which uses all of this stuff. Right now I've got to work out how to convert TGA's to JPG's while getting rid of the .tga file extension.
Have a look at the TinNex 2.0 thread in Nexuiz > General for some other stuff like this.
@tChr: Baseline > Progressive is truly lossless and vice versa. Sometimes one can be smaller, sometimes the other. This is why I've done this:
- Code: Select all
jpegoptim --strip-all --quiet $a # Optimise JPEG's losslessly
jpegoptim --strip-all -m95 --quiet $a # Cap JPEG's at m%
jpegtran -progressive -outfile $a $a
jpegoptim --strip-all --quiet $a # Optimise JPEG's losslessly
jpegtran -progressive -outfile $a $a
This is confusing but as each jpegoptim process chooses the smallest file size, this will give the smallest JPEG whether it's baseline or progressive.
In my experience larger higher quality JPEG's are better in progressive form but when trying to make a Tinynex like build, it didn't help at all.