As it is, it's now not immediately clear if an image is likely to be damaged or not. This could be made simpler and more self-descriptive (e.g. isTrunated or sth along those lines). Images that are much larger than expected should probably be treated as suspicious as well (but how much exactly?). Maybe make this configurable?
As it is, it's now not immediately clear if an image is likely to be damaged or not. This could be made simpler and more self-descriptive (e.g. isTrunated or sth along those lines). Images that are much larger than expected should probably be treated as suspicious as well (but how much exactly?). Maybe make this configurable?