Glad you found it.
I don’t suppose you kept the corrupt image did you? It would be good to have and use to test a way to detect problems like that. It might be something to put into “sanity check”. Corrupt image files, especially jpegs are reasonably common.