Skip to content

Commit

Permalink
Merge pull request #243 from moisedk/issue232-pretext
Browse files Browse the repository at this point in the history
fixes #232
  • Loading branch information
bnmnetp authored Jul 5, 2022
2 parents df334f8 + 263d33a commit b85a1b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pretext/Files/AlternativeFileReadingMethods.ptx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
1870 -0.28 6.6E-7
1880 -0.24
&gt;&gt;&gt;</pre>
<table xml:id="files_files_filemethods2a">
<table xml:id="files_filemethods2a">
<tabular>
<row header="yes">
<cell>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
</table>
</blockquote>
<p>In order to manipulate an image, we need to be able to access individual pixels. This capability is provided by
a module called <term>image</term>, provided in ActiveCode. See <xref ref="more-about-iteration_image-processingon-your-own"/> for ways to deal with images in standard Python. The image module defines two classes: <c>Image</c> and <c>Pixel</c>.</p>
a module called <term>image</term>, provided in ActiveCode. See <xref ref="more-about-iteration_image-processing-on-your-own"/> for ways to deal with images in standard Python. The image module defines two classes: <c>Image</c> and <c>Pixel</c>.</p>
<p>Each Pixel object has three attributes: the red intensity, the green intensity, and the blue intensity. A pixel provides three methods
that allow us to ask for the intensity values. They are called <c>getRed</c>, <c>getGreen</c>, and <c>getBlue</c>. In addition, we can ask a
pixel to change an intensity value using its <c>setRed</c>, <c>setGreen</c>, and <c>setBlue</c> methods.</p>
Expand Down

0 comments on commit b85a1b2

Please sign in to comment.