Is embedded coverart compressed or restricted to max resolution? (1 Viewer)

HomeY

Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    49
    ::1
    Home Country
    Netherlands Netherlands
    hi @hwahrmann i am wondering if there is any sort of compression going on when i embed an artist thumb in the tags. Or are embedded thumbs restricted to a maximum resolution? I do notice that hovering over the thumb in MPTagThat, shows the full size (1000*1000) embedded thumb.

    The reason why i ask is because i just ran the same database scan twice. The first time using embedded coverart (which is the folder.jpg) and the 2nd run with folder.jpg as source.
    1st scan: thumbs folder is 102 MB in size
    2nd scan: thumbs folder is 192 MB in size :eek:

    And i see noticable better thumbnails created from the folder.jpg
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    Yes we are doing some sort of compression when creating the thumbs.
    Need to look it up in the code tough, as it was not written by me.

    Edit: Just saw that i was replying to a thread in MPTagThat forum.
    This has been written by me ofc.

    There is a Settings, shich when set will reduce the resolution of the saved thumb.

    Or are those figures from a MP Scan
     

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    49
    ::1
    Home Country
    Netherlands Netherlands
    Yes we are doing some sort of compression when creating the thumbs.
    Correct, that's handled by the GUI > Thumbnails section. I did some work on that part last week, internal forum link ;)

    So i was testing my branch with 200+1000 thumbs setting, folder.jpg are all 1000*1000, and exactly that same file was embedded as covertart.
    When i run MP Music database import and check 'embedded coverart', the thumbs are smaller then when i don't check 'embedded covertart' and check to use folder.jpg as thumbnail source for a music dB scan.

    In both situations, the MP Thumbnail settings were the same, that's why i assumed that MPTagThat was also applying some sort of compression.
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    Just had a look at the code.
    I am saving the JPEG with default settings, but could specify following flags:

    JPEG_QUALITYSUPERB
    Save with superb quality (100:1).
    JPEG_QUALITYGOOD
    Save with good quality (75:1).
    JPEG_QUALITYNORMAL
    Save with normal quality (50:1).
    JPEG_QUALITYAVERAGE
    Save with average quality (25:1).
    JPEG_QUALITYBAD
    Save with bad quality (10:1).
    JPEG_PROGRESSIVE
    Save as a progressive-JPEG (use | to combine with other save flags).
    JPEG_SUBSAMPLING_411
    Save with high 4x1 chroma subsampling (4:1:1).
    JPEG_SUBSAMPLING_420
    Save with medium 2x2 medium chroma (4:2:0).
    JPEG_SUBSAMPLING_422
    Save with low 2x1 chroma subsampling (4:2:2).
    JPEG_SUBSAMPLING_444
    Save with no chroma subsampling (4:4:4).

    i guess using JPEG_QUALITYSUPERB will help.
    I'm creating a test build for you with this setting and drop you a PM with the link
     

    Users who are viewing this thread

    Top Bottom