<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/shared-bindings/bitmaptools/__init__.h, branch main</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=main</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2021-03-17T16:00:32+00:00</updated>
<entry>
<title>ran pre-commit for formatting fixes</title>
<updated>2021-03-17T16:00:32+00:00</updated>
<author>
<name>Kevin Matocha</name>
<email>kmatocha@icloud.com</email>
</author>
<published>2021-03-17T16:00:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c37a1f45f3f03652ec9b9e998e4c1b3a50b2303e'/>
<id>urn:sha1:c37a1f45f3f03652ec9b9e998e4c1b3a50b2303e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>merge upstream/main</title>
<updated>2021-03-17T14:30:51+00:00</updated>
<author>
<name>Kevin Matocha</name>
<email>kmatocha@icloud.com</email>
</author>
<published>2021-03-17T14:30:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ef91e1752c233e45bfa898eb67caab44f1b02313'/>
<id>urn:sha1:ef91e1752c233e45bfa898eb67caab44f1b02313</id>
<content type='text'>
</content>
</entry>
<entry>
<title>re-format with uncrustify</title>
<updated>2021-03-16T17:20:09+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2021-03-16T17:20:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=97b6664201de2530c9b92957a5e8d2a68524fa7e'/>
<id>urn:sha1:97b6664201de2530c9b92957a5e8d2a68524fa7e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add reverse_rows option to bitmaptools.readinto</title>
<updated>2021-03-16T15:01:12+00:00</updated>
<author>
<name>Kevin Matocha</name>
<email>kmatocha@icloud.com</email>
</author>
<published>2021-03-16T15:01:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=227ac674639fa9df071ca7c8b2373029cc0b4618'/>
<id>urn:sha1:227ac674639fa9df071ca7c8b2373029cc0b4618</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add arrayblit</title>
<updated>2021-03-16T01:36:44+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2021-03-16T01:19:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=542fb58673954be992e274b065425e4de2aea178'/>
<id>urn:sha1:542fb58673954be992e274b065425e4de2aea178</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bitmaptools: Add readinto</title>
<updated>2021-03-14T18:57:46+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@unpythonic.net</email>
</author>
<published>2021-03-14T18:27:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9133b23a37649cc53568f8208c2493348441d700'/>
<id>urn:sha1:9133b23a37649cc53568f8208c2493348441d700</id>
<content type='text'>
When reading uncompressed bitmap data directly, readinto can work
much more quickly than a Python-coded loop.

On a Raspberry Pi Pico, I benchmarked a modified version of
adafruit_bitmap_font's pcf reader which uses readinto instead of
the existing code. My test font was a 72-point file created from Arial.

This decreased the time to load all the ASCII glyphs from 4.9 seconds to
just 0.44 seconds.

While this attempts to support many pixel configurations (1/2/4/8/16/24/32
bpp; swapped words and pixels) only the single combination used by
PCF fonts was tested.
</content>
</entry>
<entry>
<title>add fill_region and draw_line to bitmaptools</title>
<updated>2021-03-10T17:37:27+00:00</updated>
<author>
<name>Kevin Matocha</name>
<email>kmatocha@icloud.com</email>
</author>
<published>2021-03-10T17:37:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=85f0f07d51343bd67c1b2308bdfed192cc470549'/>
<id>urn:sha1:85f0f07d51343bd67c1b2308bdfed192cc470549</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add bitmaptools module</title>
<updated>2021-02-24T05:23:14+00:00</updated>
<author>
<name>Kevin Matocha</name>
<email>kmatocha@icloud.com</email>
</author>
<published>2021-02-24T05:23:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b7200286425363c430b7f4466c27e53ea67f7887'/>
<id>urn:sha1:b7200286425363c430b7f4466c27e53ea67f7887</id>
<content type='text'>
</content>
</entry>
</feed>
