pixix4 / ev3dev-lang-rust

Rust language bindings for http://ev3dev.org
MIT License
71 stars 14 forks source link

Do you have the plan for Display part?This fuction is so good! #4

Closed judemoses closed 4 years ago

judemoses commented 4 years ago

Think for you work,i like it very much

pixix4 commented 4 years ago

The latest release (v0.9.0) now supports the framebuffer/screen. Since it has additional dependencies, it must be activated with the feature flag screen. The Python implementation of the screen class is based on the PIL library. There is no complete replacement for rust. Currently I use image-rs. This has similar image manipulation tools but unfortunately no drawing tools (like lines, rectangles, text...). If you know of an image-rs compatible drawing library, I would like to integrate it.

pixix4 commented 4 years ago

It seems imageproc can be used for drawing operations (like lines, rectangles, text, ...). This library works with an image-rs handle and does not need to be integrated.