forked from guardian/grid
-
Notifications
You must be signed in to change notification settings - Fork 0
Libvips image loading #15
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
Draft
tonytw1
wants to merge
56
commits into
gcp-storage-buckets
Choose a base branch
from
libvips
base: gcp-storage-buckets
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33a2a52 to
f49a509
Compare
f49a509 to
a3cfe7a
Compare
a3cfe7a to
f23d157
Compare
58edbd5 to
bd3a973
Compare
c8f8217 to
c96ff82
Compare
a232cac to
0d3403d
Compare
d296629 to
25c0148
Compare
b8041b2 to
2e351c4
Compare
Can thumb generation just tell us this?
…te dimensions call on the upload path.
…saving for thumbnails. 3751 bytes vs 4067 bytes for a 140x100 thumbnail. optimize-scans is only useful on progressive jpegs.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this change?
Image ingestion and thumbnail generation implemented using libvips.
Around a 4x reduction in the time taken to ingest an image.
The
getColorModelInformationcall to ImageMagickidentifywas one of the unexpectedly expensive (seconds for large image) calls.We are avoiding this by inferring
colourModelfrom VIPS metadata rather than the output ofidentify.Image dimension and orientation metadata is sourced from libvips.
Uses vips-ffm as the vips Java binding.
Opinionated decision to stop generating the optimisedPng pre renders (because vips proxy is faster enough for all image types).
Kahuna ignores existing optimisedPng files.
Tests will need to know the location of libvips libraries when run on an Apple Silicon brew libvips install.
How should a reviewer test this change?
How can success be measured?
Who should look at this?
Tested? Documented?