Roughsketch / imagesize

Quickly probe the size of various image formats without reading the entire file.
MIT License
57 stars 12 forks source link

Split formats into features #30

Open Roughsketch opened 1 year ago

Roughsketch commented 1 year ago

One thing about adding a ton of formats is I can see it getting annoying having to keep up with the changes, or not needing/wanting various formats because they can be pretty niche. I think it would be beneficial to have a feature gate for every format so that people can pick and choose what they want to check for. I originally wanted this because TGA's check was very error prone, but it's not nearly as bad now (I think) so I didn't make features a critical part of 0.12.0's release.

I do not plan on implementing this immediately but if someone wants to take it I think it would be an easy first issue.