muzei-bingimageoftheday icon indicating copy to clipboard operation
muzei-bingimageoftheday copied to clipboard

Selectable quality

Open alexanderadam opened this issue 3 years ago • 8 comments

Other plugins and extensions allow to select the wallpaper resolution.

It would be great if this could be a setting for this image provider as well.

Thank you for your work! :pray:

alexanderadam avatar Jan 20 '21 18:01 alexanderadam

Otherwise maybe just switching to high resolution would be sufficient, too? Or would it have any disadvantage? Android will probably scale down anyway, once it's using an image with a higher resolution than the device can show, right? :thinking:

alexanderadam avatar Mar 06 '21 14:03 alexanderadam

Hi, thanks for your input. I think retrieving the highest possible resolution would be totally OK.

The problem is: I can't find a reference to the portrait variant of the UHD image. The lower resolutions use width and hight in the URL and when those are exchanged then you get an optimized portrait image (where the focus is set correctly). This is what this add-on uses.

For UHD the URL format changed to not contain the width and hight but "UHD" which returns the landscape variant.

devmil avatar Mar 06 '21 22:03 devmil

I see. Would it be possible to use the legacy URL for portrait and UHD for landscape?

alexanderadam avatar Mar 07 '21 08:03 alexanderadam

Is there anything I could help with (except from programming Kotlin)?

alexanderadam avatar Apr 08 '21 15:04 alexanderadam

I just released a new version into the testing stage (open testing) that uses UHD for landscape images. Edit: this is currently in review so might take a while to show up as an update

devmil avatar Apr 13 '21 19:04 devmil

Please let me know when you were able to try this version so that I can do the official release and close this issue

devmil avatar Apr 15 '21 20:04 devmil

I just released a new version into the testing stage (open testing) that uses UHD for landscape images. Edit: this is currently in review so might take a while to show up as an update

I was wondering why I still didn't get any update until I recognized that I installed the F-Droid release and you were probably referring to the Beta program of Google Play, right? I will try this later.

alexanderadam avatar Apr 16 '21 11:04 alexanderadam

Please let me know when you were able to try this version so that I can do the official release and close this issue

It's working perfectly. Incredible how crisp the image quality is in comparison. Thank you so much! :pray:

Will you close this issue by yourself after you released this change?

alexanderadam avatar Apr 16 '21 12:04 alexanderadam