Skip to content

Commit

Permalink
Corrected documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Oct 21, 2024
1 parent f40c926 commit eba5f72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions masking/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ <h3>Internal Alpha Channel</h3>Now internally IM v7 stores the transparency info
</td>
</tr>
</table>This technique for extracting the 'alpha' of an image was common when IM v5 was in use. Basically it was the only method provided to get access to the transparency of an image. It is now very rarely used. <a name="alpha" id="alpha"></a>
<h3>Controlling Image Transparency</h3>There are two operators that give you low-level control of the transparency channel of an image in memory. The newer operator "<code><a href="https://imagemagick.org/script/command-line-options.php?#alpha">-alpha</a></code>" methods are now the recommended method of control, though many IM Examples still show and use the older "<code><a href="https://imagemagick.org/script/command-line-options.php?#alpha">-alpha</a></code>" operator. An image cannot only have alpha channel data, but it also has a 'switch' that defines if the channel data is viewable or valid. This means images can have three states with regards to the alpha channel.
<h3>Controlling Image Transparency</h3>There are two operators that give you low-level control of the transparency channel of an image in memory. The newer operator "<code><a href="https://imagemagick.org/script/command-line-options.php?#alpha">-alpha</a></code>" methods are now the recommended method of control, though many IM Examples still show and use the older "<code>-matte</code>" operator. An image cannot only have alpha channel data, but it also has a 'switch' that defines if the channel data is viewable or valid. This means images can have three states with regards to the alpha channel.
<table border="0" align="center">
<tr>
<th>Switch</th>
Expand All @@ -204,7 +204,7 @@ <h3>Controlling Image Transparency</h3>There are two operators that give you low
<td>no alpha data (no memory has been allocated)</td>
</tr>
<tr>
<td>&nbsp;alpha off&nbsp;</td>
<td>&nbsp;alpha deactivate&nbsp;</td>
<td>old alpha data present (but not in use)</td>
</tr>
<tr>
Expand Down

0 comments on commit eba5f72

Please sign in to comment.