Repository navigation
Conversation
|
The idea behind a "max" preview is to have the same image, including aspect ratio, that fits into max dimensions, so I've removed the "fill" action. |
There was a problem hiding this comment.
@DeepDiver1975 @LukasReschke Can we rely on this? is this a hard dependency already?
There was a problem hiding this comment.
|
Works 👍 20s down to 2s with this image: https://commons.wikimedia.org/wiki/File:Allen_Ludden_Stumpers_1976.tiff |
|
code looks good |
|
@nickvergessen @georgehrke Interested in reviewing? |
There was a problem hiding this comment.
No space before :, we are not french ;)
|
@owncloud-bot retest this please |
|
|
@MorrisJobke - This is unrelated to this PR afaik |
|
@oparoz But it fails just on this branch ;) |
|
Nop #14813 |
|
I know. |
There was a problem hiding this comment.
pass this to getResizedPreview instead of saving it in the class.
There was a problem hiding this comment.
Is there a particular reason? I originally had 3 private methods, all needing that information and I didn't want to have to make the variables traverse each method.
Now with 2, it's less of a hassle, but I'm wondering what the issue is with leaving it as is.
EDIT: If it's to improve readability (currently the resize method has no size arguments), then I fully understand.
There was a problem hiding this comment.
The max dimensions is not part of the preview provider but determined by thr getThumbnail call, thus they should not be part of the state of the provider
|
A new inspection was created. |
|
Had forgotten to rebase... |
|
Weird... the "Passed" test result went away... |
|
Moved to #15349 |
This is a fix for #13607
and is part of the global programme to fix preview caching: #13609