You are on page 1of 8

 Online file

formats for
images and text

Image file format

are standardized means of


organizing and storing digital
images. Image files are
composed of digital data in one
of these formats that can be
rasterized for use on a computer
display or printer.
An image file format may store data
in uncompressed, compressed, or
vector formats. Once rasterized, an
image becomes a grid of pixels, each
of which has a number of bits to
designate its color equal to the color
depth of the device displaying it.
For example, graphically simple images
(i.e. images with large continuous
regions like line art or animation
sequences) may be losslessly
compressed into a GIF or PNG format
and result in a smaller file size than a
lossy JPEG format.
Text Format

A text file (sometimes spelled textfile; an


old alternative name is flatfile) is a kind of
computer file that is structured as a
sequence of lines of electronic text. A text
file exists stored as data within a computer
file system.
. In operating systems such as CP/M and MS-
DOS, where the operating system does not
keep track of the file size in bytes, the end of
a text file is denoted by placing one or more
special characters, known as an end-of-file
marker, as padding after the last line in a
text file.
Windows and Unix-like systems,
text files do not contain any
special EOF character, because
file systems on those operating
systems keep track of the file
size in bytes.

You might also like