Give the card a bright background and open the image file by itself. If the stripe takes the card's color and exists only in the layout, try display: block on a standalone card photo.
For an icon that belongs beside text, keep it inline and compare vertical-align: middle or bottom. If a gap remains, inspect the parent's padding and row gap before cropping the asset.
Stopping Images From Causing Layout Shift · vertical-align CSS property - CSS