I've already provided these requiest on encode.ru froum but copied here for proper processing:
**A- Improving MP3 optimizing by optimizing embedded pictures (usually as JPG or PNG) **
The proper solution using metamp3 (v0.91 i did not test v0.92b5) https://hydrogenaud.io/index.php/topic,49751.0.html (only mp3 now) using the following process:
B- Improving JPEG compression by adding lossy type through using of smallfry method:
Adding Jpeg-recompress with smallfry method to JPG files prior other methods is recommended and can be added as an option to JPEG files (even embedded in zipped files including epub)
https://github.com/danielgtaylor/jpeg-archive/releases
jpeg-recompress --method smallfry in.jpg out.jpg
** based on the above, the following options and be added to JPEG settings:
A. I will take a look to it Will not be trivial to implement nevertheless.
B. Sounds very nice the lossy JPEG optimization, and not hard to implement.
C. Is there any plugin doing such ePub optimizations available?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1- Its not trival but it will complete current MP3 optimizing process. (other users will like it much to squeeze more bytes out their audio collection).
2- Thank you.
3- There is no special plugin but this can be added with currently available tools in Fileoptimizer package using the following process:
- Detecting epub file extension
- Optipng is added to GIF optimizing process.
- Once completed file to have GIF extension.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've already provided these requiest on encode.ru froum but copied here for proper processing:
**A- Improving MP3 optimizing by optimizing embedded pictures (usually as JPG or PNG) **
** 1- first list types of images available:**
** 3- after optimizing we need to insert it back ** through this command: ( metamp3" --pict {3}filename.jpg "sample.mp3")
** 4- also removing pictures from mp3 files** will be with this command (metamp3 --remove APIC "sample.mp3")
** based on the above the following options can be added to MP3 settings:
B- Improving JPEG compression by adding lossy type through using of smallfry method:
** based on the above, the following options and be added to JPEG settings:
C- Improving ePub size though format conversion:
** based ob the above the following options can be added to epub settings (which does not exist yet):
Thank you for your highly detailed suggestions.
A. I will take a look to it Will not be trivial to implement nevertheless.
B. Sounds very nice the lossy JPEG optimization, and not hard to implement.
C. Is there any plugin doing such ePub optimizations available?
1- Its not trival but it will complete current MP3 optimizing process. (other users will like it much to squeeze more bytes out their audio collection).
2- Thank you.
3- There is no special plugin but this can be added with currently available tools in Fileoptimizer package using the following process:
Optimizing mp3 art via ECT
https://github.com/fhanau/Efficient-Compression-Tool/blob/master/doc/Building.txt
Tag editing libs. Need to find cli apps for these.
https://github.com/taglib/taglib
http://id3lib.sourceforge.net/
here you can find how to compile and old compiled version http://joelverhagen.com/blog/2010/11/how-to-compile-taglib-on-windows/
Thank you for your effort.
habe you considered JPEG-recompress option?
Thanks again.
As of r474, I have added ECT to the MP3 support.