Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/Nheko-Reborn/nheko.git. Pull mirroring updated .
  1. Jun 28, 2022
  2. Jun 26, 2022
    • brausepulver's avatar
      Get large avatar images as scale and crop locally (#1107) · 98de5104
      brausepulver authored
      Resolves #1069
      
      The Matrix spec requires servers to provide thumbnails at (96x96, crop) and (320x240, scale) among others. [1] The avatars in Nheko's global/room profile and room settings are sized 130x130 on normal scaling and 260x260 on 2x scaling like on a HiDPI device. In both cases the avatar is requested as cropped and that way displayed at 96x96, making it look blurry.
      
      This can be solved by requesting scaled avatars rather than cropped where appropriate, and cropping to the requested size afterwards.
      
      HiDPI can be simulated in Qt by setting QT_SCALE_FACTOR=2.
      
      [1] https://spec.matrix.org/v1.3/client-server-api/#thumbnails
      Unverified
      98de5104
  3. Jun 25, 2022
  4. Jun 23, 2022
  5. Jun 19, 2022
  6. Jun 18, 2022
  7. Jun 17, 2022
  8. Jun 15, 2022
  9. Jun 14, 2022
  10. Jun 13, 2022
  11. Jun 12, 2022
  12. Jun 05, 2022
  13. May 27, 2022
  14. May 23, 2022
  15. May 21, 2022
  16. May 19, 2022
Loading