Comments (4)
What do you mean by own images? You have an image file that you want to be drawn, or you want to draw from scratch? In any way, I would recommend taking a look at the examples dir, that should help you out.
from ssd_13xx.
i want to draw an image to the display, i saw your images are in a format that is an array of the pixel colors. how can i convert a png to this format?
from ssd_13xx.
I am not the maintainer of this lib, but you can check the file - the header tells you everything you need to know https://github.com/sumotoy/SSD_13XX/blob/master/_images/eye/eye93.c
* preset name: Color R5G6B5
* data block size: 16 bit(s), uint16_t
* RLE compression enabled: no
* conversion type: Color, not_used not_used
* bits per pixel: 16
*
* preprocess:
* main scan direction: top_to_bottom
* line scan direction: forward
* inverse: no
- 5 bits red
- 6 bits green
- 5 bits blue
Results in 16 bits per pixel. It is drawn line after line - so if you have an image with the size of 20x10 pixels, it will result in 200pixels resulting in 3200 bits.
I like to use a python PIL script to convert images to other image formats - but how you implement this is up to you.
from ssd_13xx.
Where can i get this LCD-Image-converter and how do i set it up?
from ssd_13xx.
Related Issues (20)
- Nothing displaying
- scrolling HOT 2
- Support for ESP32? HOT 4
- How to reset display? HOT 1
- Arduino IDE Library Manager
- Request support for SSD1357
- Custom Fonts HOT 5
- Arduino UNO connection with SSD1331 0.95inch RGB OLED from Waveshare? HOT 3
- Request SSD_13XX compilation for Raspberry PI and/or NodeJS
- Does not work with more than one screen
- SSD1351 Showing white noise only
- Terrific work! Great with ESP32 HOT 8
- Compatibility with this module
- SSD1331 DIM mode is disabled/NORMAL mode doesn't recover from DIM HOT 1
- ESP32 on HSPI
- drawRect does not work if the rectangle ends at the last pixel of the screen
- Color codes in the library are wrong!!! HOT 1
- Wemos D1 mini pro HOT 2
- Can't drawIcon an icon which width/height equal to the width/height of the OLED? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ssd_13xx.