Question: PLS HELP ME Create a python program named lab2B.py and there are two parts to the program. Write a very descriptive algorithm at the beginning

PLS HELP ME

PLS HELP ME Create a python program named lab2B.py and there areCreate a python program named lab2B.py and there are two parts to the program. Write a very descriptive algorithm at the beginning of your program. The algorithm should be written in simple English so that anyone who does not know Python syntax is able to understand your approach. Write python code below the algorithm and I would also like to see comments throughout your program that explain whats going on in the program as you go

Problem: Pictures on the Go DEVELOP AND TEST A PYTHON PROGRAM THAT DETERMINES HOW MANY IMAGES CAN BE STORED ON A GIVEN SIZE USB (FLASH) DRIVE. The size of the USB drive is to be entered by the user in gigabytes (GB). The number of images that can be stored must be calculated for GIF, JPEG, PNG, and TIFF image file formats. The program output should be formatted as given below. Enter USB size (GB): 32 333,333 GIF format images can be stored 555,555 JPEG format images can be stored 177,777 PNG format images can be stored 11,111 TIFF format images can be stored The ultimate file size of a given image depends not only on the image format used, but also on the image itself. In addition, formats such as JPEG allow the user to select the degree of compression for the image quality desired. For this program, we assume the image compression ratios given below. Also assume that all the images have a resolution of 800 x 600 pixels. Thus, for example, an 800 x 600 resolution image with 16-bit (2 bytes) color depth would have a total number of bytes of 800 x 600 x 2 = 960,000. For a compression rate of 25:1, the total number of bytes needed to store the image would be 960000/25 = 38400. Finally, assume that a GB (gigabyte) equals 1,000,000,000 bytes, as given in the following Figure.

Format Full Name Color Depth Compression GIF Graphics Interchange256 colors 8sossless 51 16 million 24 bits ssy251 colors Joint Photographic JPEG Experts Group Portable Network Graphics 16 million24 bits lossless 81 colors PNG 280 trillion 48 bits lossless n/a colors Tagged Image TIFF File Format

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!