|
Graphics files contain information that describes images. An application must be able to interpret graphic formats in order to read or display a graphics file. A text editor or a word processing program can't correctly open a graphics file to produce a picture, although you can insert a graphics file into OpenOffice documents. The information stored in a graphics file can be in one of several formats, with different purposes. Usually the file has an extension that identifies the type of format. Graphics applications save files with the appropriate extension. However, because Linux recognizes file types by information inside the file, rather than by the extension, when using a Linux application, you might see a message stating that the file extension does not match the file format. Some common formats are shown in Table 13-1.
You can convert files from one format to another. You can read a file into an application and use Save as to save the file in a different format. If you want to convert quickly, without editing, use the convert command at the command line. For example, to convert an existing .gif file to a .jpg file, use: convert rose.gif rose.jpg |
|