To the best of my knowledge the only way to upload an image is through the Nextion IDE, which means either using an SD card or through the serial port.
This might be useful to you: Using Nextion displays with Arduino
Note that in all the time I have been on this forum I've yet to read a comment from anyone praising the official Nextion library.