Ffimageloading: AspectFill => RoundedTransformation ignored

Created on 20 Mar 2018  路  3Comments  路  Source: luberda-molinet/FFImageLoading

When I use a RoundedTransformation on an Image With AspectFill, then the transformation is ignored.

question

Most helpful comment

(switching to my proper account)

No my image is not a square.
Can't find in the docs what these ratios mean?
I dont know any ratios of my images. It can be any.
The image is within a grid cell whose height is fixed and whose width is a multiple of *. I want to keep the image aspect (hence AspectFill) while rounding the corners. I had a custom renderer doing it but as I migrate to FFImageLoading I can't use it anymore.

Tks for the gr8 library btw.

All 3 comments

  • It's not ignored - please make sure your image view is a square
  • If it's not a square, set transformation's CropWidthRatio/CropHeightRatio properties to your custom aspect.

(switching to my proper account)

No my image is not a square.
Can't find in the docs what these ratios mean?
I dont know any ratios of my images. It can be any.
The image is within a grid cell whose height is fixed and whose width is a multiple of *. I want to keep the image aspect (hence AspectFill) while rounding the corners. I had a custom renderer doing it but as I migrate to FFImageLoading I can't use it anymore.

Tks for the gr8 library btw.

same problem. without knowing the aspect, just want to fill the parent view and keep aspect and make round corner.

Was this page helpful?
0 / 5 - 0 ratings