Your original photo ins't the right shape (aspect ratio) to be reduced to 1024x768. Your image is just a little too "short" for that shape. You'll need to crop it to that aspect ratio first, then when you export, that's what you'll get.
Use the crop tool, and set the aspect ratio to 4:3. Crop off the edges to get that shape. This will give you the result you need.