<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/shared-module/displayio/ColorConverter.c, branch 6.1.x</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.1.x</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.1.x'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2020-12-16T19:48:27+00:00</updated>
<entry>
<title>displayio: ColorConverter: fix logic errors about transparent pixels</title>
<updated>2020-12-16T19:48:27+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-12-16T19:48:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=28bd29eb42d61d0a7116b6c4295e166fcfbe7145'/>
<id>urn:sha1:28bd29eb42d61d0a7116b6c4295e166fcfbe7145</id>
<content type='text'>
The transparent_color field was never initialized.  I _think_ this means
its value was always set to 0, or the blackest of blacks.  Instead,
initialize it to the sentinel value, newly given the name
NO_TRANSPARENT_COLOR.

This exposed a second problem: The test for whether there was an existing
transparent color was wrong (backwards).  I am guessing that this was not
found due to the first bug; since the converter had a transparent color,
the correct test would have led to always getting the error "Only one
color can be transparent at a time".

Closes #3723
</content>
</entry>
<entry>
<title>Add board.DISPLAY to MagTag. Fix luma computation</title>
<updated>2020-11-14T02:57:52+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2020-11-11T02:02:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8d4296f96430795936a22769da35732e5342b25c'/>
<id>urn:sha1:8d4296f96430795936a22769da35732e5342b25c</id>
<content type='text'>
* Initialize the EPaper display on the MagTag at start.
* Tweak the display send to take a const buffer.
* Correct Luma math
  * Multiply the blue component, not add.
  * Add all of the components together before dividing. This
    reduces the impact of truncated division.
</content>
</entry>
<entry>
<title>Add grayscale EInk support</title>
<updated>2020-10-26T23:59:59+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2020-10-26T23:58:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0d1649880f1c23ec6c9c0a4834f3712a8495f9d8'/>
<id>urn:sha1:0d1649880f1c23ec6c9c0a4834f3712a8495f9d8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>displayio: Remove trailing whitespace</title>
<updated>2020-10-17T01:05:39+00:00</updated>
<author>
<name>Jensen</name>
<email>jensechu@gmail.com</email>
</author>
<published>2020-10-17T01:05:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=fc3f2a3f7f670f28d1a57eb61dfbf065463c906a'/>
<id>urn:sha1:fc3f2a3f7f670f28d1a57eb61dfbf065463c906a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>displayio: Add in opaque pixel option for future</title>
<updated>2020-10-17T00:50:41+00:00</updated>
<author>
<name>Jensen</name>
<email>jensechu@gmail.com</email>
</author>
<published>2020-10-17T00:48:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=74c07a4bdcc942e57668f1a2181e00d1213864a7'/>
<id>urn:sha1:74c07a4bdcc942e57668f1a2181e00d1213864a7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>displayio: ColorConverter handle if opaque color is black</title>
<updated>2020-10-15T02:51:40+00:00</updated>
<author>
<name>Jensen</name>
<email>jensechu@gmail.com</email>
</author>
<published>2020-10-15T02:51:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2517e4b486563724771074da88bc7fd6eda02532'/>
<id>urn:sha1:2517e4b486563724771074da88bc7fd6eda02532</id>
<content type='text'>
</content>
</entry>
<entry>
<title>displayio: Add make_transparent to ColorConverter</title>
<updated>2020-10-13T01:48:04+00:00</updated>
<author>
<name>Jensen</name>
<email>jensechu@gmail.com</email>
</author>
<published>2020-10-11T22:29:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=337019626a8cd0632cd2a6f6bae4ae09ae26cf16'/>
<id>urn:sha1:337019626a8cd0632cd2a6f6bae4ae09ae26cf16</id>
<content type='text'>
</content>
</entry>
<entry>
<title>displayio: Add make_transparent and make_opaque to ColorConvertor</title>
<updated>2020-10-13T01:48:04+00:00</updated>
<author>
<name>Jensen</name>
<email>jensechu@gmail.com</email>
</author>
<published>2020-10-11T18:18:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b359e2945ac9914c31afc7e692a4f46a837a854d'/>
<id>urn:sha1:b359e2945ac9914c31afc7e692a4f46a837a854d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>displayio: Pass transparent_color to ColorConverter</title>
<updated>2020-10-13T01:48:04+00:00</updated>
<author>
<name>Jensen</name>
<email>jensechu@gmail.com</email>
</author>
<published>2020-10-09T02:40:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=57b44928a38b5a2328e0fd4fe8f2baee11062229'/>
<id>urn:sha1:57b44928a38b5a2328e0fd4fe8f2baee11062229</id>
<content type='text'>
Signed-off-by: Jensen &lt;jensechu@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fix up end of file and trailing whitespace.</title>
<updated>2020-06-03T09:56:35+00:00</updated>
<author>
<name>Diego Elio Pettenò</name>
<email>flameeyes@flameeyes.com</email>
</author>
<published>2020-05-30T09:44:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=dd5d7c86d22807c021dd1711eb7dd3daebc5cfcf'/>
<id>urn:sha1:dd5d7c86d22807c021dd1711eb7dd3daebc5cfcf</id>
<content type='text'>
This can be enforced by pre-commit, but correct it separately to make it easier to review.
</content>
</entry>
</feed>
