dv-depot.com
The best bookmarks and articles in Gadgets & Tech

Can I Change A File Extension

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, 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, 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, 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 you change a file's extension, it does not change the way the file is formatted.

By modifying a file extension of a certain file, you may cause programs on your computer to read the file incorrectly, which may prevent it from opening. This is why it is typically not a good idea to change file extensions.

Sometimes, changing a file extension may be a good idea.

While file extensions should typically be left alone, there may be times when changing a file’s extension is the only way to get it to open. For example, you may receive an e-mail attachment called “report.pdf” that is actually formatted as a Word document.

When you double-click the file, Acrobat Reader will most likely try to open the file, since Acrobat Reader is what most computers use to view PDFs. Since Acrobat Reader is expecting a PDF, when it encounters a Word document, it may not be able to open the file. If you change the filename to “report.doc,” the file should open in Microsoft Word. Since the file type is a Word document, the file should open without a problem.

Changing a file’s extension can “force” the file to open in a different program. This can be useful when a file will not open using the default program. However, a better way to change what program opens a certain file is to modify the file’s properties.

See Changing What Program Opens a File in Windows and Changing What Program Opens a File on a Mac for more information.

Free Article Directory – Article Directory – Uk Article Directory

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • NewsVine
  • Reddit
  • StumbleUpon
  • Google Bookmarks
  • Yahoo! Buzz
  • TwitThis
  • Live
  • E-mail this story to a friend!
  • Faves

Tags: Can I Change A File Extension, Changing File Extensions, Default Option, Double Click, Error Message, File Extension, Gif File, Gif Images, Good Reason, Image Viewer, Jpeg Image, Jpg Extension, mac os x, Macintosh, Macintosh Computer, Os X, Photoshop, Registers, Rose Jpg, Safe Side, Windows Platforms

This entry was posted on Sunday, November 29th, 2009 at 9:12 pm and is filed under Tech News. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

1 comment on “Can I Change A File Extension”


  1. Charles says:
    December 9th, 2009
    4:58 pm

    I have photos saved on my Samsung Omnia. There were copied on my storage card as the phone was going in to be fixed. On the return the file extension has been changed. For example filename Photo1.jpg has been changed to Photo1.jpg.952c71e3 As a result I cannot view all my photos. I have tried changing the file extension, that does not work.

    Will I be able to recover and view my photos. Can anybody help with this problem please?

Leave a comment

Security Code:



Archives

  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • September 2007
  • August 2007
  • July 2007
  • May 2007
  • April 2007
  • January 2007
  • December 2006
  • November 2006
  • October 2006
  • July 1992

Contributors

  • Cell Phone Blog
  • CNET News – Digital Media
  • Crave: The gadget blog
  • CrunchGear
  • Gadget Advisor
  • Gizmodo
  • OhGizmo!
  • Tech Digest
  • TechPin
  • The Gadget Blog

Partners

  • Hughes Net
  • Sites of Interest
  • The Digital Zone
  • Training Courses
  • Wordpress Themes

Tags

Amazon Amp Android Apple Blog Ces cgjapan cnet CrunchArcade feature gadget gadgets Game Google Hd Headline Hot iPhone ipod Japan laptops Launch Lot Mdash Microsoft mobile phones modo money Netbook People PS3 Samsung Scott Barr Sony Tech Digest news Tech News top Twitter verizon video video games Wii Wtf xbox XBOX 360

Recent Comments

  • Emma Nicolson on Free Online Poker Guide to Betting Speed and Online Poker Tells
  • braydenmark on Free Online Poker Guide to Betting Speed and Online Poker Tells
  • Karls on What the Nokia N97 Mini Should’ve Had
  • Kymm on Bing to oust Google as default iPhone search?
  • Marc Henessy on Chrome OS Now Available, Go Get It

Meta

  • Register
  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Want to Be here?

to advertise here:
sales(at)dv-depot.com

submit a feed to mark:
feeds(at)dv-depot.com

Share |
Find The Lowest Rates Among Internet, Cable TV & VoIP Providers at Telecom Pricer

Sites of Interest

> Air Hockey Tables

> Direct TV



> Where can I buy the best chess sets from in the UK? ChessBaron, of course.

More Resources



I enjoy buying movies when I go to the market

Go prehistoric with a dinosaur chess set, which is perefect for scientists.

Feel the pavement smacking you in the face with a nascar chess set - 3 wide!

Do you blu ray dvd? Go to this site now

In setting up a chess board make sure you know where the men go.

There are over 100 themed chess pieces available for purcahse.


Copyright © 2010 dv-depot.com. All Rights Reserved.
Magazine Basic theme designed by c.bavota of Tinker Priest Media.
Powered by WordPress.