Closed gvasquez95 closed 2 years ago
Tried to figure it out by myself, but seems to be that docs could be misleading so I preferred to ask, given that:
The real question is for png and jpg how many bytes are actually required to be "sliced"?
reading on https://github.com/h2non/filetype/blob/master/matchers/image.go
seems like 4 bytes would be enough for png and jpg images.
Tried to figure it out by myself, but seems to be that docs could be misleading so I preferred to ask, given that:
The real question is for png and jpg how many bytes are actually required to be "sliced"?