Automatic Optimize Album Art

Request new software features

Moderator: poiko

Post Reply
ox_triangle
Bronze
Bronze
Posts: 64
Joined: Wed Oct 10, 2018 5:28 pm
Contact:

Automatic Optimize Album Art

Post by ox_triangle » Sun Apr 14, 2019 5:28 am

if i convert MP3 320 to esx. Opus 48.. the files are very big because it contain big images
would be nice to have an option for automated optimize albumart

a) only took first (front) image

b) resize it to 512 pixels not 500 !!
(best enlarge with mitchell method,
best shrink with lanczos3 method if resizefactor is a broken value
best shrink with mitchell method if resizefactor is a divisor of 2)

c) if not jpg convert it to JPEGturbo(99) or MozJPEG(99)

d) compress with guetzli "--quality 84 -copy none" for best possible filesize (open source from google)

e) a further option could be export of all original images
f) if you have enough knowledge get source code of guetzli to save directly bitmap to jpg

User avatar
poiko
Site Admin
Site Admin
Posts: 3859
Joined: Sat Mar 11, 2006 8:31 pm
Location: https://www.poikosoft.com
Contact:

Re: Automatic Optimize Album Art

Post by poiko » Mon Apr 15, 2019 10:32 am

Thank you for your suggestion.

A) You can manually delete the other embedded images prior conversion if you wish

B) Why 512 rather than 500 ? There is a chance I can add custom size option. Our image rescaling library includes Mitchell scaling as well. I will investigate if it is better quality for upscaling images, I know it is faster than Lanczos3.

C) For speed improvement only ? We're using standard libjpeg. There should be no image quality differences between these libraries. libjpeg-turbo and mozjpeg can be faster but it is no issue in EZ CD Audio Converter that does not utilize heavy amount of JPEG conversions.

D) We're using libjpeg quality 90 by default (range is 0-100).

E) Yes

F) I don't use external apps for performing tasks in EZ CD Audio Converter.

User avatar
poiko
Site Admin
Site Admin
Posts: 3859
Joined: Sat Mar 11, 2006 8:31 pm
Location: https://www.poikosoft.com
Contact:

Re: Automatic Optimize Album Art

Post by poiko » Mon Apr 15, 2019 11:04 am

Made a quick test. Found perfect test image via Amazon Cover Art search :D

Shrink 1308x1308 to 500x500:

Lanczos3
shrink_lanczos3.jpg
shrink_lanczos3.jpg (98.13 KiB) Viewed 241 times

Mitchell
shrink_mitchell.jpg
shrink_mitchell.jpg (90.39 KiB) Viewed 241 times

Obviously, the Lanczos3 keeps sharp edges better and Mitchell is somewhat blurry.


Enlarge (Lanczos3 shrinked) 500x500 to 1000x1000:

Lanczos3
enlarge_lanczos3.jpg
enlarge_lanczos3.jpg (238.27 KiB) Viewed 241 times

Mitchell
enlarge_mitchell.jpg
enlarge_mitchell.jpg (222.74 KiB) Viewed 241 times

Lanczos3 keeps the details better, but have some ringing effect, whereas Mitchell is little blurry. Which one is better ?

Atma
Silver
Silver
Posts: 184
Joined: Fri Jul 06, 2007 11:09 pm
Contact:

Re: Automatic Optimize Album Art

Post by Atma » Mon Apr 15, 2019 3:30 pm

definitely Lanczos3 looks better ;)

ox_triangle
Bronze
Bronze
Posts: 64
Joined: Wed Oct 10, 2018 5:28 pm
Contact:

Re: Automatic Optimize Album Art

Post by ox_triangle » Thu Apr 25, 2019 8:56 am

try images with moire patterns! :D
try to use real 512x images (no rescales)
btw windows use the mitchell-method for upscale the icons to images
if you want more quality without rings try the distort method (imagemagick)
best quality you only can get with A.I.-methods (topaz gigapixel ai)
btw 500 is crap for jpeg - cause its use 8x8 tiles try to devide 500 with 8!

Post Reply