Can easily be done with IrfanView.
I.e. Image -> Resize/Resample -> Set New Size -> Width [1024] + Height [500] + Units (pixels) -> Ok