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

Add an API for retrieving image thumbnails #503

Merged
merged 9 commits into from
Aug 28, 2021
Merged

Add an API for retrieving image thumbnails #503

merged 9 commits into from
Aug 28, 2021

Conversation

kean
Copy link
Owner

@kean kean commented Aug 28, 2021

Example usage:

let thumbnail = ImageRequest.ThumbnailOptions(maxPixelSize: 400)
let request = ImageRequest(url: URL(string: "http://..."), userInfo: [.thumbnailKey: thumbnail])

Documentation: https://kean.blog/nuke/guides/customizing-requests#thumbnails

Note: fully supports caching, task coalescing, disables decompression (already decompressed).

@kean kean changed the title Add an API for retrieving Image thumbnails Add an API for retrieving image thumbnails Aug 28, 2021
@kean kean merged commit b125300 into master Aug 28, 2021
@kean kean deleted the thumbnail branch August 28, 2021 20:29
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.

1 participant