Skip to content

FFImageLoading 1.1

Compare
Choose a tag to compare
@molinch molinch released this 01 May 17:40
· 1906 commits to master since this release

Transformations

Transformations are now possible on iOS and Android using a similar API as in Picasso. Huge thanks to @c1rus for helping here.

ImageService.LoadUrl(urlToImage)
  .Transform(new CropCircleTransformation())
  .Transform(new GrayscaleTransformation())
  .Into(imgDisplay);

Original image, prior to transformation, is cached to disk. Transformed image is cached in memory. If the same image, with same transformations is requested then it will be loaded from memory.

For more information about transformations open our sample project.

Improvements

There is now a Success overload that gives back width and height of the loaded image. #9

ImageService.LoadUrl(urlToImage)
.Success((width, height) =>
{
  // your code here...
})

Bugs fixed