Piwigo / Piwigo-Mobile

Piwigo iOS Mobile Application
MIT License
100 stars 29 forks source link

Insufficient image quality due to downsampling #556

Closed xsm1997 closed 10 months ago

xsm1997 commented 10 months ago

Describe the bug and how to reproduce The images get downsampled even full resolution is selected in preferences.

It will be fine when just looking at it. But when I zoom the image, the image quality will be bad, far behind the original image.

Steps to reproduce the behavior:

  1. Open any photo

Expected behavior Original image should be displayed if full resolution is set.

Smartphone (please complete the following information):

Additional context https://github.com/Piwigo/Piwigo-Mobile/blob/47f0dc561af17b31cee684743258455af33c2614/piwigo/Image/ImagePreviewViewController.swift#L93

Maybe we shouldn't downsample the image here? There is no such issue before 3.0.0 version.