0% found this document useful (0 votes)
12 views3 pages

File Management: Types and Compression Techniques

Uploaded by

zylaarchive
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views3 pages

File Management: Types and Compression Techniques

Uploaded by

zylaarchive
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Chapter 11 – File management

Types of Files
1. Generic file type
a. Can be opened in any OS
b. Can be opened in any Device platform
c. Can be opened in any Software
2. Package/Application specific file type
a. MS office
i. Word processing → MS Word → *.docx
ii. Presentation → MS PowerPoint → *.pptx
iii. Spreadsheet → MS Excel → *.xlsx
iv. Database → MS Access → *.accdb
v. Image Editing → Abode Photoshop → *.psd

File [Link]
Human readable .Computer
[Link]

Generic file types


1. Text file
• .csv → generic text file format. Texts are separated with comma.
i. Use as table (spreadsheet, database)
• .txt → generic text file format.
i. Can be opened and saved with text editor.
ii. Can be only opened with word processing software
• .rtf → generic text file format.
i. Texts can be formatted. (font colour, underline, bulleted, table)
ii. Can be opened and saved with any word processing software.
iii. More file size than .txt
2. Image file
• .gif
• .jpg/.jpeg
i. bitmap image,
ii. lossy compression,
iii. no background transparency,
iv. less file size
• .png
i. bitmap image,
ii. lossless compression,
iii. background transparency,
iv. more file size
• .pdf
i. document that has been converted into an image format
ii. can be read on most computers
iii. can contain clickable links and buttons, form fields, video and audio
iv. can protect a document in pdf format to stop others from editing
v. Text can be copied and pasted
• .mp4
i. media container
ii. video files
iii. still image
iv. audio
v. subtitles
3. Audio file
• .mp3
i. still image
ii. audio
iii. subtitles
4. Website authoring
• .html
• .css
5. Compress file
• .zip
• .rar

Snipping/ Screenshot
1. Wins + shift + s
2. Snipping tool
3. Print Screen key (PrtScr) → Fullscreen snip
4. Ctrl + Alt + PrtScr → Window snip

Reduce file size


✓ To save storage space
✓ To be faster data transmission

Reducing file size


• Reducing any types of file or folder → by compressing the file (.zip/.rar)
• Image file size
o File compression
o Graphic editing software → Adobe photoshop
▪ Adjust dimension (width / height) → ch11
• Aspect ratio → 400 x 200 (2:1) → 200 x 200 (1:1)
• Change aspect ratio → image distortion
▪ Adjust resolution → ch11
▪ Adjust color depth → ch12
• Number of colours in each channel/pixel
o 8 bits/channel = 24 bits
▪ .png
▪ .jpg
o 16 bits/channel = 48 bits
▪ .png
o 32 bits/channel → vector
▪ Adjust brightness & contrast → ch12
▪ Crop
▪ Rotate
• Right / CW 90*
• Left / CCW 90*
• 180*
▪ Reflect
• Flip vertical
• Flip horizontal
• Document file
o File compression
o File export → PDF

Common questions

Powered by AI

Exporting files to PDF from their native application-specific formats, like .docx or .xlsx, ensures document fidelity and uniformity across different devices and platforms while also supporting functionality like searchability and protection against editing . This makes PDFs highly suitable for sharing finalized documents while preventing accidental alterations and ensuring consistent appearance.

The PDF file format enhances document functionality by allowing the inclusion of interactive elements like clickable links, buttons, form fields, video, and audio . Furthermore, it offers document protection features to prevent unauthorized editing while maintaining readability across different platforms . These capabilities make PDFs versatile for both static and interactive digital documents.

Changing an image's aspect ratio alters the proportional relationship between its width and height, which can lead to geometric distortion as the original image proportions are modified . This may be necessary for fitting images into specific layouts or screen formats without having white spaces or cropping important elements . However, such changes should be done cautiously to maintain visual integrity.

In website authoring, .html files provide the structural elements and content of a web page, while .css files define the visual presentation, including layout, colors, and fonts . This separation enables developers to modify the appearance of a site without altering the underlying content structure, offering flexibility and consistency across web pages .

The primary advantage of .txt files is their simplicity and small file size, making them suitable for basic text editing with text editors . However, they lack text formatting capabilities. In contrast, .rtf files support text formatting such as font styles and tables, and can be used with any word processing software, though they have a larger file size . The choice depends on whether formatting is needed or a smaller file size is prioritized.

The .csv file format is a generic text file format where data fields are separated by commas, which makes it universally readable across different platforms . This format allows individual data fields to be easily parsed and imported into databases, spreadsheets, and other software, facilitating seamless data interchange between various applications .

Lossless compression means that the original data can be perfectly reconstructed from the compressed data, which is used by file types like .png . This results in larger file sizes but maintains the original image quality. In contrast, lossy compression permanently removes some of the original data, which reduces the file size considerably but can lead to a decrease in image quality. This type of compression is used by formats like .jpg/.jpeg .

Reducing file size is crucial for conserving storage space and enhancing data transmission speeds. Techniques include file compression methods, like creating .zip or .rar archives , and adjusting image settings such as resolution, color depth, and using compression methods appropriate to the file types, like lossy for .jpg images or lossless for .png files . Smaller file sizes ensure faster download/upload times and efficient storage management, especially for large datasets or multimedia files.

Maintaining a file's human-readable aspect in naming improves file organization, categorization, and retrieval for users. Descriptive names with clear extensions aid in quickly identifying the file type and content without opening the file, which is essential in shared environments where file discovery needs to be efficient . This practice helps avoid confusion and facilitates more seamless collaboration and record-keeping.

Vector graphics are resolution-independent, meaning they can be scaled to different sizes without losing quality, unlike bitmap images which may become pixelated . This property makes them ideal for logos, illustrations, and designs that need frequent resizing. Additionally, vector formats often use fewer data points than bitmaps, potentially resulting in smaller file sizes for certain types of images, though this depends on complexity .

You might also like