New submission from JiKwon Kim :
Currently imghdr module only finds "JFIF" or "Exif" in specific position.
However there's some jpeg images with "JFXX" marker. I had some image with this
marker and imghdr.what() returned None.
Refer to:
https://www.ecma-i
New submission from JiKwon Kim :
Currently pathlib with_suffix() function only accepts suffix starts with
dot(".").
Consider this code;
some_pathlib_path.with_suffix("jpg")
This should change suffix to ".jpg", not raising ValueError.
--
components: