Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow lossy rendering of thumbnails #93

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Abbe98
Copy link
Member

@Abbe98 Abbe98 commented Mar 29, 2023

The ´lossy´ parameter just states if lossy rendering is allowed or not so it's safe to add it to all thumb.php requests.

The change should solve rendering issues for JPEG, PNG, TIFF, and possibly other formats.

The ´lossy´ parameter just states if lossy rendering is allowed or not so it's safe to add it to all thumb.php requests.

The change should solve rendering issues for JPEG, PNG, TIFF, and possibly other formats.
@wetneb wetneb requested a review from trnstlntk March 29, 2023 05:49
@trnstlntk
Copy link
Contributor

Hi @Abbe98, thanks for working on this.

I tested your branch but see no difference in thumbnail rendering - both with the 0.1.1 release of this extension and with this branch I get thumbnails for 53 out of 84 files in this test project: Wikimedia-Commons-files-for-various-tests.openrefine.tar.gz

None of the tiff files has a thumbnail in either case. See screenvideos for both versions.
0.1.1 release: https://drive.google.com/file/d/1AaiOzUg0ulQ_k9iviW0mlVHOF2CN6XqK/view?usp=share_link
Your branch: https://drive.google.com/file/d/1AaiOzUg0ulQ_k9iviW0mlVHOF2CN6XqK/view?usp=share_link

Maybe your code change is about other things, in which case I apologize ;-)

Copy link
Contributor

@trnstlntk trnstlntk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes no difference when testing / comparing with release 0.1.1 - see comment in the PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants