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

Image Decoding Improvements #350

Merged
merged 21 commits into from
Mar 29, 2020
Merged

Image Decoding Improvements #350

merged 21 commits into from
Mar 29, 2020

Conversation

kean
Copy link
Owner

@kean kean commented Mar 29, 2020

  • Add "Image Decoding Guide" (WIP)
  • Rewrite ImageDecoders.Default to _ImageDecoding protocol
  • ImageDecoders.Default now automatically attached the original image data to the image container for .gif
  • Nuke now supports decompression and processing of images that require image data to work
  • Deprecate ImageResponse.scanNumber, the scan number is now passed in ImageContainer.userInfo[ImageDecoders.Default.scanNumberKey] (this is a format-specific feature and that's why I made it non-type safe and somewhat hidden). Previusly it was also only working for the default ImageDecoders.Default. Now any decoder can pass scan number, or any other information using ImageContainer.userInfo
  • Deprecate isAnimatedImageDataEnabled
  • Add convenience cachedResponse(for url: URL) thing

@kean kean force-pushed the image-decoding-guide branch 3 times, most recently from c69abcf to 62c8d09 Compare March 29, 2020 03:23
@kean kean force-pushed the image-decoding-guide branch from 62c8d09 to 0e61b9b Compare March 29, 2020 03:24
@kean kean merged commit bace31a into master Mar 29, 2020
@kean kean deleted the image-decoding-guide branch March 29, 2020 17:20
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