I have searched this topic before on stack exchange and the forum etc. Didn’t find anything useful.
But after I read the API, I can’t believe how easy it actually is.
bpy.data.images["__ImageName__"].scale(pixel_size_x, pixel_size_y)
in the console. Antialiasing is automatically applied when doing so.