Sdwebimage: AppleTV layered image (.LCR) files are not supported

Created on 6 Apr 2016  路  4Comments  路  Source: SDWebImage/SDWebImage

Loading .LCR files in AppleTV works but the images are flattened and the parallax effect is not available.

As far as I know, UIImages should be created using [UIImage imageWithData:] instead of [[UIImage alloc] initWithData:] to make sure the parallax effect is preserved. (I tried in swift and UIImage(data:) worked)

Disk caching should also be fixed to support LCR files. At the moment, all images will be converted to PNG or JPEG files before saving.

feature

Most helpful comment

+1

All 4 comments

You are correct, we don't support LCR files at this point. Are you interested in creating a Pull Request?

+1

@bpoplauschi @skyline75489 do we have plans to support LCR Images?

@mythodeia Not that I know of.
The more I look at the code, the more I get the sensation that we already do to much. We should stick to doing a single thing in the core library and let other people create extensions.

Was this page helpful?
0 / 5 - 0 ratings