Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modernize previews #37564

Closed
wants to merge 6 commits into from
Closed

Commits on Apr 4, 2023

  1. fix: dataMimeType returns the wrong MIME type

    Signed-off-by: Anderson Entwistle <[email protected]>
    aentwist committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    ed4be10 View commit details
    Browse the repository at this point in the history
  2. fix: use preview provider type for thumbnails

    Fix preview providers generate thumbnails based on source file type
    instead of their type. This worked because providers were always called
    with a file of the same type. This is not an assumption that can be made
    any longer.
    
    Note that preview providers don't actually know their type - although
    they should - so instead make them respect an optional MIME type
    parameter to avoid potential breaking changes.
    
    Signed-off-by: Anderson Entwistle <[email protected]>
    aentwist committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    3660abf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5a87d4a View commit details
    Browse the repository at this point in the history
  4. feat: add preview format setting

    Allow preview format to be specified to be a specific type for all
    files. Previously, preview format was the same type as the original file.
    
    Format can be jpeg, png, gif, webp, or avif.
    
    Signed-off-by: Anderson Entwistle <[email protected]>
    aentwist committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    ba3499b View commit details
    Browse the repository at this point in the history
  5. feat: add preview quality setting for lossy compression

    Signed-off-by: Anderson Entwistle <[email protected]>
    aentwist committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    d38f33f View commit details
    Browse the repository at this point in the history
  6. feat: add AVIF support

    Signed-off-by: Anderson Entwistle <[email protected]>
    aentwist committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    8d09ec9 View commit details
    Browse the repository at this point in the history