Skip to content

Conversation

Naituw
Copy link
Contributor

@Naituw Naituw commented Feb 23, 2020

Before: Since GIF image become alternate representation, processor can't get an UIImage/NSImage to process, a PINRemoteImageManagerErrorFailedToFetchImageForProcessing error is returned.

This Fix: Disallow alternate representation when obtaining the image for processing.

@ghost
Copy link

ghost commented Feb 25, 2020

🚫 CI failed with log

@strangeliu
Copy link

For gifs, alternate representation is enabled by default, Use downloadImageWithURL:options:completion: to customize options.

@Naituw
Copy link
Contributor Author

Naituw commented Feb 26, 2020

For gifs, alternate representation is enabled by default, Use downloadImageWithURL:options:completion: to customize options.

Current implementation will fail on the test I added.

I don't mean to disable alternate representation by default for gif, but alternative reps should not created when user want to process the image by a processor.

@bolsinga bolsinga requested a review from garrettmoon May 21, 2020 01:18
@garrettmoon
Copy link
Collaborator

Can you please rebase this? (sorry for the delayed review!)

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.

3 participants