Auxio/app
OxygenCobalt e1dbe6c40c
coil: force all images to a 1:1 aspect ratio
Crop all images to a 1:1 aspect ratio.

Sometimes cover art will not be a square. I never realized this because
all covers in my music library are square. This led to many strange bugs
that I would rather avoid, so create a new transformation that crops the
image to a 1:1 aspect ratio.

The reason why we use a transformation is that it won't be dependent on
the actual state of the ImageView, which is what would happen if we
used ScaleType.CENTER_CROP. In the case that we use a very weird hacky
ImageView like in the widgets, doing such would result in any cropping
not actually working correctly. It's better to do it in the
Transformation stage simply to ensure consistency.
2022-02-21 20:00:30 -07:00
..
src coil: force all images to a 1:1 aspect ratio 2022-02-21 20:00:30 -07:00
build.gradle deps: upgrade deps 2022-02-19 10:13:26 -07:00
proguard-rules.pro Create dedicated app object 2021-01-14 07:42:56 -07:00