Can I Change A File Extension? Computers Articles | October 10 Cheap Frans Nielsen Hat , 2009 Generally, changing the file extension of a file is not a good idea.
Changing file extensions is usually unnecessary because files typically already have the appropriate extension. When you double-click a file that has the right extension, it will open with the correct program. For example, a file with a .txt file will open in a text editor, and a file with a .jpg extension will open in an image viewer.
If you change a file's extension, it may cause the file not to open. Take, for example Cheap Mike Green Hat , the JPEG image below:
While the file used in the example is from a Macintosh computer, the same principles apply to both Mac and Windows platforms.
The filename of this file is "rose.jpg" and is formatted as a JPEG image. Let's see what happens if we try to change the file extension to ".gif," which is the extension GIF images use. By clicking the filename twice (slower than a double-click), we can change the filename. We replace ".jpg" with ".gif" and hit Enter.
When this change is made in Mac OS X, an alert pops up asking us to verify that we want to make the change.
This alert is for good reason, as it warns the user that the file may open in a different application if the extension is changed. The truth is, the file may not open at all. To be on the safe side Cheap Gordie Howe Hat , Mac OS X selects "Keep .jpg" as the default option.
But we decide to make the change and click the "Use .gif" option. The filename is changed as seen below:
The rose.jpg file opened fine in Photoshop before we changed the file extension. Now that we changed the extension let's see what happens when we drag it to Photoshop.
Photoshop tries to open the file, but is unable to. Instead, we get an error message.
Because Photoshop was expecting a GIF file type, based on the file extension, it tried to parse a GIF file. However, the file is actually formatted as a JPEG file, so PhotoShop registers an error when attempting to open it.
When you change a file's extension Cheap Jonathan Ericsson Hoodie , you change the way programs on your computer read the file. The problem is, changing the file extension does not change the file type. In other words, when