A call to the version3Client.avatars.getAvatarImageByID can return binary data that represents a number of different image formats that do not necessarily represent the desire format specified in the call params. It would be super helpful if the client were able to return the content-type header mime type. Or, perhaps there is a way to access the headers?
Otherwise, I'm stuck trying to figure out the image type based on the binary data.
A call to the version3Client.avatars.getAvatarImageByID can return binary data that represents a number of different image formats that do not necessarily represent the desire format specified in the call params. It would be super helpful if the client were able to return the content-type header mime type. Or, perhaps there is a way to access the headers?
Otherwise, I'm stuck trying to figure out the image type based on the binary data.