If you're on linux I can only recommend ifuse with the libimobiledevice package. I followed the guide on the arch wiki[0] and could simply mount my iPhone to a directory[1] and then just drag and drop them over. For some reason there were 1000 pictures per folder so I had a few different folders, but otherwise it was super simple.
[0]: https://wiki.archlinux.org/title/IOS
[1]: https://wiki.archlinux.org/title/IOS#Manual_mounting