Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Folder Organization: a . Create a folder CPSC 1 0 3 0 Labs Lab 5 to store your files for this

Folder Organization:
a. Create a folder "CPSC1030\Labs\Lab5" to store your files for this lab.
b. Create a .txt file named image_description.txt in the folder.
c. You need 2 images for this lab. One is with .svg format, open google font and pick an icon to download.
d. For another, just download it from Unsplash, make sure you download it with width 1920.
e. Make a copy of your images in the folder, rename them to be icon.svg and lab6_img.jpg. We are going to work on them next lab.
Edit.jpg image with GIMP:
We are going to create different versions of our images.
a. Open lab6_img using GIMP.
Use "Image | Image Properties" to read the properties of your image. Write down the Size in pixels, Resolution, Color space, File size, and File type for your image. You are going to write these properties in your web page.
On the right pane, click the "Channels" tab. If the image is in RGB mode, you will see the three channels. Click on each eye in the "Channels" dialog box (so that they go away). After they are all gone, your image should be black. Now add in one color at a time and see what happens to the image. The Composite RGB image is displayed when all three colors are displayed (all three eyes are on).
Use "Image | Scale Image" and change "width" and "height" to scale the image. Scale the image to 400 pixels wide to create a thumbnail of your image. Note that width and height are linked to each other by default. Select "File | Export As ...". Name it lab6_img_thumb.jpg.
b. Open the original image (lab6_img) using GIMP.
From the GIMP menu, use "Image | Mode | Grayscale" menu item to convert your image to a grayscale image. Notice what happens in the "Channels" dialog box.
Now use "Image | Mode | RGB" to go back to true color. Notice that your image remains monochrome in appearance, but a new image will be created from a red, green, and blue composite. Change the mode back to grayscale.
Select "File | Export As ...". Name your file as lab6_img_grayscale.jpg.
One more time use "Image | Image Properties" to write down the Color space and File size for your image.
c. An indexed image uses fewer colors which reduces the file size.
Open the original image (lab6_img) using GIMP.
Use "Image | Mode | Indexed" to convert the image to one that uses a palette or index. A dialog box opens: Convert Image to Indexed Colors with 32 colors.
Notice what happens to the look of the image and the "channels" dialog box.
Use "Windows | Dockable Dialogs | Colormap" to open the Colormap tab on the right pane. Notice the 32 colors in the palette.
Select "File | Export As ...". Name your file as lab6_img_indexed_32.png.
Now reverse the previous action by pressing ctrl+z and then convert it to 4 colors. Save and name it lab6_img_indexed_4.png.
One more time use "Image | Image Properties" to write down the Color space and File size for these two images (you might need to put these two png back to GIMP to view the info).
d. An SVG image could be enlarged without losing quality. In GIMP, we could only do that when import the image.
Open the icon.svg image using GIMP. In the render graphic window, keep the width and height as 48.
Scale it to 1480 pixels wide. And save it as icon_blur.jpg.
Now open icon.svg again, but this time make the width and height as 1480. Save it as icon_sharp.jpg.
e. You can adjust the quality level of a JPEG image for a good balance of quality and file size.
Open the original image (lab6_img) using GIMP.
Select "rile |[xport As ...". Expand "Select rile Type" in the lower pane and select JPEG image. Name your file as lab6_img_70.jpg. When you click Export, another dialog opens where you can change the Quality of your picture. Select a lower quality of 70.
Now open lab6_img again, Save it with quality of 20 and named lab6_img_20.jpg
Write down the File size for these two images.
Open these pictures and the original one and compare their quality.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transactions On Large Scale Data And Knowledge Centered Systems X Special Issue On Database And Expert Systems Applications Lncs 8220

Authors: Abdelkader Hameurlain ,Josef Kung ,Roland Wagner ,Stephen W. Liddle ,Klaus-Dieter Schewe ,Xiaofang Zhou

2013th Edition

3642412203, 978-3642412202

More Books

Students also viewed these Databases questions

Question

Azure Analytics is a suite made up of which three tools?

Answered: 1 week ago

Question

Prepare and properly label figures and tables for written reports.

Answered: 1 week ago