(In reply to :Gijs (he/him) from comment #12) > presumably imglib doesn't care about the content type and uses magic numbers instead or something, which is (presumably) why we display them despite the wrong content-type. This behavior is defined in the [mimesniff sppec](https://mimesniff.spec.whatwg.org/). We should determine the file extension based on the computed MIME type (`image/png` in this case) instead of the supplied one when we save an image.
Bug 1583921 Comment 13 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
(In reply to :Gijs (he/him) from comment #12) > presumably imglib doesn't care about the content type and uses magic numbers instead or something, which is (presumably) why we display them despite the wrong content-type. This behavior is defined in the [mimesniff spec](https://mimesniff.spec.whatwg.org/). We should determine the file extension based on the computed MIME type (`image/png` in this case) instead of the supplied one when we save an image.