You are on page 1of 9

Name : Umar Ali

Roll Number : 522

Class # : Bcs 6th Semester

Assignment # : 07

Submitted to : Sir Wajid Ali

Subject : “CS-513-Database
Administration”
File format:

The file format is the structure of a file that tells a program how to
display its contents. For example, a Microsoft Word document
saved in the .DOC file format is best viewed in Microsoft Word.
Even if another program can open the file, it may not have all the
features needed to display the document correctly.

Programs compatible with a file format can give an overview of a


file but may not be able to display all the file features. Also, with
some programs opening a file format that is not supported may
give you garbage.

Common file formats-


Below is a listing of common file formats you are most likely to encounter while
working on a computer. Click any of the links below for more information about
the type of file or the extension.

File type File extension


Text .asc .doc .docx .rtf .msg, .pdf .txt .wpd .wps
Image .bmp .eps .gif .jpg .pict .png .psd .tif
Sound .aac .au .mid .mp3 .ra .snd .wma .wav
Video .avi .mp4 .mpg .mov .wmv
Program .bat .com .exe
Compressed .arc .arj .gz .hqx .rar .sit .tar .z .zip

Can I save a file in a different file format?


Yes, if the program you're using supports the other file format you want to use.
For example, in Microsoft Excel, you could have a spreadsheet you want to
change to a CSV format you could choose the Save As option to save it as a
CSV.

However, if the program did not support the file format, it could not be used to
save the file in a different format. If you need a different file format, you'll need a
program capable of opening both types of files or a file converter to convert from
one file format to another.

Different Types of Files Formates:


01. JPEG (Joint Photographic Experts Group)
JPEG is the most common format used by digital cameras and
images living on the World Wide Web. This file format is based on
lossy compression, meaning that it keeps information that is
visible to the viewer and gets rid of data that the human eye can’t
perceive. The popularity of the JPEG file stems from the fact that
it is lightweight, while still being good enough quality for digital
use. Due to its size, it will not only load faster, but it can be
uploaded to any platform regardless of size limitations. This
format can also be viewed on any device without the need to
download a special image viewer. However, it’s important to be
aware that everytime you save a file as a JPEG, hence
compressing it over and over again, it causes the image to lose
quality and possibly become pixelated or grainy.
Advantages: lightweight file, viewable on almost any program.

Disadvantages: loses quality when saved multiple times.

Best places to use it: images for web design, social networks,
and photo portfolios.

02. PNG (Portable Network Graphics)-


PNG is a high-quality
file format used for images. This file type is based on the lossless
compression, which means that it supports high-quality images for
online use while retaining the original image colors and
sharpness. Unlike JPEG files, PNGs also support images with
transparent backgrounds. So, if you want to have an image
without a background, like a logo or product, you can save it as a
PNG file and use it with different backgrounds. However, this file
is not as lightweight as a JPEG. Therefore, it’s not recommended
to upload hundreds of large PNG’s to your website or portfolio as
it will take up a lot of storage and ultimately increase the loading
time of your site. And nobody has time for that.

Advantages: high-quality files, supports transparent


backgrounds.

Disadvantages: heavyweight file (slows down loading time and


takes up lots of storage).

Best places to use it: logos, websites photos, social networks


(profile pictures, posts, and cover photos).
03. GIF (Graphics Interchange Format)-

You’ve probably heard of this file type based on its most popular
feature that’s taken the Internet by storm: animation! The GIF file
is a form of bitmap images, meaning the graphic is composed of
many tiny parts called pixels, just like the JPEG and PNG file
formats. This file type is based on LZW (Lempel-Ziv-Welch), a
special form of the lossless data compression algorithm. A GIF is
most suitable for storing graphics with a few colors, such as
simple diagrams, shapes, and logos, rather than gradients. For
example, your business’ icons that contain three colors or less
look great in this file format – plus, the small file size will be
suitable to use anywhere. However, a beautiful sunset picture
would not only be too heavy of a file size but also will look
distorted because of the color limitations. One benefit of this file
type is that it supports a transparent background, like a PNG file.

Advantages: supports transparency and basic animation.


Disadvantages: displays gradient colors poorly.
Best places to use it: short animations for social channels, like
Facebook and Twitter.
04. PDF (Portable Document Format)-

This file format is used for online documents and printing


purposes. It was created by Adobe with the goal of displaying files
in the same format, no matter what device they are viewed on or
what software they are opened with. Thanks to the reliability of
PDFs you can create long documents and share them with others
without risking a loss to your original design – text is not larger,
images are not smaller, etc. PDF files can contain many different
elements: text, photos, vector images, videos, audio files and
even interactive elements like forms and buttons. It’s possible to
create this file using many different kinds of software, from Adobe
Photoshop, Illustrator, Indesign, and Acrobat to Microsoft Word,
Google Docs and more. But to be able to view a PDF, you need
to have a PDF reader installed on your device.
Advantages: keeps all formatting regardless of what device it is
displayed on.
Disadvantages: you need a PDF Reader installed on the device
to view it.
Best places to use it: online forms, documents and printing
services.

05. SVG (Scalable Vector Graphics)-


SVG is a format commonly used to save and display vectors.
Vector what? Vector art graphics are digital illustrations that are
based on geometric shapes. They are created using a vector
illustration software, like Illustrator. Apart from the clean and
professional look they embody, their biggest advantage is that
they maintain the highest quality even when resized. For
example, if your business logo is a vector – and it should be – you
can resize it to fit something as big as a billboard sign or as small
as your business cards without risking a loss in quality. Today, we
can view SVG images on all web browsers. It’s also a good
format for printing purposes. So when you’re creating logos, icons
and illustrations, make sure you save them as an SVG file. Also, if
you’re working with designers on visual assets for your business,
ask them to send it to you as an SVG file version, as well as other
relevant formats (like PNG, JPEG, etc.).

Advantages: resizable without losing quality.


Disadvantages: social media platforms do not support this file
type.
Best places to use it: Graphics on your web design, illustrated
assets for your business (logo, icons, diagrams illustrations, etc.).

06. MP4 (Moving Picture Experts Group)-


MP4 is a multimedia container format, which is just a fancy term
for most of the videos we consume on the Internet. This file can
contain video, audio, and subtitles. Thanks to its compression
format, the end result will be a very lightweight file that can be
easily uploaded to your website or favorite social media channel.
MP4s can also be played on all major media players and
streamed over the Internet, so you won’t need any sophisticated
program to view it. In summary, this is the best choice for creating
or saving video files to your website, social media and more.

Advantages: lightweight file, playable on all major media players


and streamable online.
Disadvantages: we searched high and low, but it seems that this
file type has no flaws.

You might also like