I noticed that if I take an image with fit.mode = "fill" and compress it (by height for example) very much (<16px), the image disappears and an empty area remains. Is there any way to avoid this?
Perspective, 8.1.42
Thanks in advance!
I noticed that if I take an image with fit.mode = "fill" and compress it (by height for example) very much (<16px), the image disappears and an empty area remains. Is there any way to avoid this?
Perspective, 8.1.42
Thanks in advance!
That's weird. I'm able to confirm.
A possible workaround is to put an expression binding on fit.mode
, something like,
if({this.position.height} < 10, "none", "fill")
You'll need to check if it suits as fill does both height and width which may cause your image to stretch horizontally.
(Psychrotech is a company name I made up for a presentation. It turns out there is one in UK, I think.)