Had an issue Image error: Format error decoding Jpeg: Invalid JPEG format: first two bytes are not an SOI marker with kitty protocol when trying to open an image with the wrong file extension.
Fix:
Make kitty protocol open images with io::Reader to use with_guessed_format.
Had an issue
Image error: Format error decoding Jpeg: Invalid JPEG format: first two bytes are not an SOI marker
with kitty protocol when trying to open an image with the wrong file extension.Fix: Make kitty protocol open images with io::Reader to use
with_guessed_format
.