Skip to content

Commit c270879

Browse files
authored
Update img.md
1 parent 47f8f8a commit c270879

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

assign2/img.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ First you need to download 150 images from our website. The images are hosted at
1111

1212
The data you just downloaded contain almost all of the information needed to solve this problem. Each of the images, individually, will not help you, but the sum of their information will. I'll just outline **some** useful tips.
1313

14-
* If you want to do **some** image manipulation, `Pillow` is a useful library. We didn't talk about this much in class, but the documentation is here: [https://pillow.readthedocs.io/](https://pillow.readthedocs.io/).
14+
* If you want to do **some** image manipulation, `Pillow` is a useful library. Here's the documentation: [https://pillow.readthedocs.io/](https://pillow.readthedocs.io/).
1515
* Make sure you have `Pillow`, and not `PIL` installed. You install `Pillow` by running `pip install Pillow` at a command line. But, you import it in a script with `import PIL`. (*Note for the curious*: This is because `Pillow` is the fork of `PIL` that is still maintained, while `PIL` is no longer being maintaned).
1616
* Your development environment should be set up like this automatically if you followed our instructions at the beginning of the quarter.
1717
* **Some**times it's useful to interface between `Pillow` and `numpy` because images are really just arrays of pixels where each pixel has R, G, and B values. That makes them an `m x n x 3` array for an image of dimension `m x n`.
@@ -24,4 +24,4 @@ The data you just downloaded contain almost all of the information needed to sol
2424

2525
Put all of the code you used to solve this assignment into one file called `img.py`. It doesn't really have to be clean, since we expect you'll be doing most of your work in the interactive interpreter, but the code should be runnable. If you need to write different functions, each of which solves a piece of the assignment, please do that.
2626

27-
*Note*: Your code will still be graded on Pythonic style practices, but we'll be more lenient on the parts of Pythonic style that don't apply to code that you're writing in the interactive interpreter.
27+
*Note*: Your code will still be graded on Pythonic style practices, but we'll be more lenient on the parts of Pythonic style that don't apply to code that you're writing in the interactive interpreter.

0 commit comments

Comments
 (0)