$ ffprobe -v quiet -select_streams v:0 -show_entries stream=width,height -of json /work/IMG_4429.JPG
{
"programs": [
],
"streams": [
"width": 899,
"height": 1598
}
]