Skip to content

transformer for live image filtering. #3614

Answered by dreampiggy
farfromrefug asked this question in Q&A
Discussion options

You must be logged in to vote

but is there a way to "change the transformers" without going through the process of making another request

Can you explain in detail about your feature request ?

Actually, SDWebImage store the original image data into disk (not memory), see the default value of SDWebImageContextOriginalStoreCacheType

So, if you change transformer with a new request, it will just hit disk cache and do decoding and transforming on CPU (no network request), and give you the transformed image. Different transformed image store into different memory cache and disk cache with the proper key (see the default value of SDWebImageContextStoreCacheType)

The transformer and cache system design is more complicated …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@farfromrefug
Comment options

Answer selected by farfromrefug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants