ExImageInfo is an Elixir library to parse images (binaries) and get the dimensions (size), detected mime-type and overall validity for a set of image formats. It is the fastest and supports multiple formats.
Adding Styler and improving a case for the PNM format to act as in the other formats, in case the pnm signature is not fully formed, it won't parse the size. Test added to check proper behavior.
@warmwaffles Styler automatically refactored a few places, like the main file, tiff and pnm.
Adding Styler and improving a case for the PNM format to act as in the other formats, in case the pnm signature is not fully formed, it won't parse the size. Test added to check proper behavior.
@warmwaffles Styler automatically refactored a few places, like the main file, tiff and pnm.
PNM Case:
Previous coverage:
Current coverage: