mirror of
https://github.com/Makuna/NeoPixelBus.git
synced 2025-08-07 12:54:26 +02:00
Updated NeoBitmapFile object API (markdown)
@@ -14,7 +14,8 @@ NeoBitmapFile<NeoGrbFeature, File> image;
|
||||
## Methods
|
||||
### bool Begin(FILE file)
|
||||
This will initialize the NeoBitmapFile to use the given file. It will check the contents of the file for a valid image and configure itself to read data from the file.
|
||||
It will return false if the file is not a compatible file format. Currently it requires the file to be BMP, 24 or 32 bit, with no compression.
|
||||
It will return false if the file is not a compatible file format. Currently it requires the file to be BMP, 24 or 32 bit, with no compression.
|
||||
The `file` instance passed in will be managed by the NeoBitmapFile object so there is no need to close it manually.
|
||||
|
||||
### uint16_t PixelSize() const
|
||||
This will return the number of bytes a single pixel takes.
|
||||
|
Reference in New Issue
Block a user