How to align image baseline to text?

I want to place an image inline with some text. Unfortunately I cant seem to get the baseline of the image to be the baseline of the text. The smaller the image gets the higher up it goes.

Is there any way to specify the baseline or another way to get the image to be displayed well?

Here is the code in question

const rangeImg = rangeStack.addImage(img);
rangeImg.imageSize = new Size(15, 12);
rangeImg.tintColor = new Color('#ffffff');
const rangeText = rangeStack.addText(`Reichweite: ${data.remainingRange} km`);
rangeText.font = Font.regularMonospacedSystemFont(15);

Try putting the image in a vertical stack inside rangeStack and use a spacer to push it down.