Is embedded coverart compressed or restricted to max resolution?

HomeY

Test Group
  • Team MediaPortal
  • February 23, 2008
    6,460
    113
    44
    ::1
    Country flag
    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,504
    113
    Vienna, Austria
    Country flag
    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,460
    113
    44
    ::1
    Country flag
    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,504
    113
    Vienna, Austria
    Country flag
    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
     
    Thread starter Similar threads Forum Replies Date
    N MPTagThat 5
    Top Bottom