←back to thread

669 points danso | 1 comments | | HN request time: 0.283s | source
Show context
polygot ◴[] No.23261483[source]
> Changing a file’s extension does not guarantee that it will be converted, but Spencer was still able to submit the demo test with no problem.

In what situations does the file format auto convert when you change the extension?

replies(2): >>23261749 #>>23262243 #
1. user5994461 ◴[] No.23262243[source]
Popular image manipulation libraries work with raw bytes and they identify the encoding from the first few bytes of headers. When a software work with common libraries, there is a good chance that it can deal indifferently with all the formats the library can understand (JPG, PNG, GIF, etc...)

A file explorer or website may filter by extensions, preventing to submit formats that are actually supported. A workaround is to rename the extension and hope it is supposed anyway.

Didn't work in this case. They tried and the picture was corrupted. It doesn't support the new apple encoding.