Minor Changes

I changed how the status of the conversion appears, and it now shows you how much the data's been compressed once it's been converted to a PNG file.
This commit is contained in:
Skye Stevenson 2018-10-27 18:54:46 -07:00
parent b5b2c1e4b9
commit 81add95db4
2 changed files with 22 additions and 8 deletions

View File

@ -5,6 +5,10 @@
# each ASCII character takes up a 0-127 space, meaning we can fit at least 1 ASCII character into each channel of a given pixel in an image! # each ASCII character takes up a 0-127 space, meaning we can fit at least 1 ASCII character into each channel of a given pixel in an image!
# we need to assign the numeric value of a series of ASCII characters to each of the channels of each pixel of an image! # we need to assign the numeric value of a series of ASCII characters to each of the channels of each pixel of an image!
# ensure proper division
from __future__ import division
import os
# make list from string # make list from string
fileName = raw_input("Give me a file to pixelize:\n") fileName = raw_input("Give me a file to pixelize:\n")
#fileName = "" #fileName = ""