Group4Layers / ex_image_info

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.
https://hex.pm/packages/ex_image_info
Other
95 stars 4 forks source link

Adding Styler + PNM format improvement #10

Open rNoz opened 5 months ago

rNoz commented 5 months ago

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: image

Current coverage: image