When upscale to fixed width or height - exported images 1px less

I’m upscale 10 images generated by AI to 3000x3000 square, and after exporting to jpeg all images size was 2999x2999.
Mac OS, Gigapixel AI 7.1.1