Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Scale up really small images for the album presentation #83

Open
oparoz opened this issue Sep 4, 2016 · 2 comments
Open

Scale up really small images for the album presentation #83

oparoz opened this issue Sep 4, 2016 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@oparoz
Copy link
Member

oparoz commented Sep 4, 2016

From @oparoz on September 24, 2015 22:17

Small GIFs look tiny in the albums. That's because we ask core for a preview with no aspect ratio and no scaling, so the small image is pasted in the middle of a canvas of the asked dimensions. It looks even worse on high DPI screens since you could have a 50x50 image pasted on a 600x600 transparent background, which is then scaled down to 200x200.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Copied from original issue: owncloud/gallery#381

@oparoz oparoz added enhancement New feature or request junior job labels Sep 4, 2016
@oparoz
Copy link
Member Author

oparoz commented Sep 4, 2016

Tested by asking Preview for images which keep the aspect ratio for the albums and that works for most cases, but not for panoramic pictures, which already have issues in the photowall itself. So maybe one day that special case could be fixed in `core, killing two birds with one stone.

@oparoz
Copy link
Member Author

oparoz commented Sep 4, 2016

Scaling up only works on old screens. The quarters of the albums get nicely filled, small GIFs look better and panoramic pictures only look slightly worse, but on HiDPI screens, there is no change...

Note to self: maybe I've forgotten to multiply the scaling factor by the pixel ratio 😔

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants