Search code examples
imagepngjpegcorruption

Why am I getting the error: "Not a JPEG file: starts with 0x89 0x50"


Why am I getting the message "Not a JPEG file: starts with 0x89 0x50" when I try to open my jpg file?


Solution

  • The file is actually a PNG with the wrong file extension. "0x89 0x50" is how a PNG file starts.