GithubHelp home page GithubHelp logo

some suggestions about epdiy HOT 7 CLOSED

vroland avatar vroland commented on May 20, 2024 2
some suggestions

from epdiy.

Comments (7)

aceisace avatar aceisace commented on May 20, 2024 1

I agree. This project has some great potential. It would be awesome to add native support to display a BMP file e.g. by downloading it as a BMP file or simply downloading it's buffer.

from epdiy.

martinberlin avatar martinberlin commented on May 20, 2024 1

Hi Valentin,
Small suggestion (Since I don't think makes sense to open an Issue for this)
demo Example
https://github.com/vroland/epdiy/blob/master/examples/demo/main/main.c#L23

Does not compile for EPD_WIDTH <1000 since it does not find the file:
#include "firasans_12pt.h"

The correct file name is firasans_12.h
As a side comment I have a demo about downloading a BMP over WiFi and displaying it using 8 grayscales:
https://github.com/martinberlin/cale-idf/blob/master/main/cale-grayscale.cpp

It may serve as an example of how to download a Bitmap (supports 1, 4 and 8 bits depth) and write it pixel by pixel to the EPD buffer. This could perfectly work with EPDiy you just have to update display initialization. In Cale-idf project I use also EPDiy but still the older version.

from epdiy.

DavidM42 avatar DavidM42 commented on May 20, 2024 1

I think those are great suggestions too 👍 .
One more nice thing would be to add a return boolean if the wrapped text fits onto the area/display. This could be coupled with some kind of pagination feature, so any amount of long text can be displayed via pages

from epdiy.

vroland avatar vroland commented on May 20, 2024

Those would be indeed nice to have. I'm planning on implementing a Arduino-Style layer on top of the C API that implements more convenience functions. This is where those would fit in.
I can't give a timeline for that though. In the meantime, if you want an example for jpeg decoding you can have a look at the mpd example.

from epdiy.

lixy123 avatar lixy123 commented on May 20, 2024

Thanks for the sample code of parsing and displaying jpg image. I'll take time to try it. However, it should be better if this code is in the API library. I don't know if there is an API for screen coordinate rotation.

from epdiy.

vroland avatar vroland commented on May 20, 2024

Yes, that would make sense. I'll mark it as a possible enhancement.

from epdiy.

martinberlin avatar martinberlin commented on May 20, 2024

Closing here since we already have another thread on suggestions #31
Please add any further suggestions there.

from epdiy.

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.