this post was submitted on 23 Jan 2024
7 points (100.0% liked)

Connect for Lemmy App

2661 readers
1 users here now

A community for the mobile app Connect for Lemmy.

Links

founded 1 year ago
MODERATORS
 

As the title says, the post images are always square and because of that non-aspect-ratio-respecting scaling a lot of images are stretched.

Is there any option to disable this non-sense?

you are viewing a single comment's thread
view the rest of the comments
[–] remotelove@lemmy.ca 1 points 8 months ago* (last edited 8 months ago)

I just dug a little into the Flutter API and saw what might be going on. Scaling is done properly on a regular browser, but there might be a built-in function for it somewhere. It may take a few more steps with Flutter.

(Just rambling a bit for those who care about details and theory crafting.)

Calling BoxFit in Flutter is significantly less expensive for thumbnails, I would speculate. It appears that it would take a few operations to scale an image properly and could impact slower devices.

An option to enable or disable image scaling would be nice. It's just annoying that its probably not a one line code change. (Unless it is. That would be great.)