Giter VIP home page Giter VIP logo

Comments (4)

stylesuxx avatar stylesuxx commented on July 30, 2024

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.

lorhof1 avatar lorhof1 commented on July 30, 2024

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.

stylesuxx avatar stylesuxx commented on July 30, 2024

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.

lorhof1 avatar lorhof1 commented on July 30, 2024

Where can i get this LCD-Image-converter and how do i set it up?

from ssd_13xx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.