You have two issues to cope with:
- The aspect ratio of the camera's image does not match the aspect ratio of the digital frame
- You do not want to send massively larger images to the screen than what its pixel matrix inherently supports
Ideally you want to match the digital frame ratio, 2048:1536, or 4:3. And by viewing JPG files exactly 2048x1536 pixels, there is no unnecessary detail to be automatically 'thrown out' to display any images on the LCD. You can have your postprocessing program simply crop the image to fit 4:3 aspect ratio, and then have it output a JPG which is 2048x1535 pixels in size.
If you do not match the aspect ratio, your frame is likely to display the entire image but 'shrunk down' to fit both directions on the screen. But, depending upon the screen design, it might simply cut off the edges that do not fit.
The other consideration is that when the photo is in Portrait orientation while the digital frame is in Landscape orientation, the long direction of the photo is shrunk to fit the short direction of the frame, losing image area in the frame to blank area.