I know you can inspect an image to determine what its file format is, but just supposing you append .png to the name of an image file when it is in fact in JPEG format, are there any possible issues that can arise as a result or does it not matter to Xcode what you call it, once you have .png or .jpeg at the end of the image file name?
Asked
Active
Viewed 84 times
1 Answers
1
Yes. This will cause you problems. They are completely different formats. Although you are usually able to freely rename image extensions on your computer, and they remain openable in image editors, this is only because the editors don't necessarily rely on the extension for the format.
However, in Xcode, although it may not cause you problems initially... somewhere down the line, it'll come back to bite you - I guarantee it.
I have no idea why you'd want to do such a thing in the first place!