GithubHelp home page GithubHelp logo

plerros / pixmap565 Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 83 KB

Convert between BMP565 image and RGB565 pixmap.

License: GNU General Public License v3.0

Makefile 3.68% C 95.81% Shell 0.51%
bmp bmp-image bmp-decoder bmp-encoder bmp-header pixmap rgb565-to-bmp rgb565 parser writer

pixmap565's Introduction

pixmap565_256

A utility to convert between BMP565 picture and RGB565 pixmap. These pixmaps could be used in embedded systems like Makerbase MKS-TFT.

Dependencies:

  • GNU make

Download:

git clone https://github.com/plerros/pixmap565.git

Compile:

GNU/Linux, HaikuOS, Homebrew, WSL

make

FreeBSD, OpenIndiana

gmake

Run:

./pixmap565 -i infile.bmp -o outfile
./pixmap565 -w width -i infile -o outfile.bmp

Scripts:

Give them execute permission:

chmod +x ./mkstft28.sh
chmod +x ./mkstft28-icon.sh

Run:

./mkstft28.sh infile outfile
./mkstft28-icon.sh infile outfile

pixmap565's People

Contributors

plerros avatar

Stargazers

 avatar  avatar

Watchers

 avatar

pixmap565's Issues

use on "unusual" CPU's

from: Devember 2021 project thread

There is a chance it might partially work in unusual CPUs that have 16-bit bytes.

eg: use a RPi 0/A/B or a RPi2 with armv6 - the default is 16bit & 565 graphics

FYI: 16bit & 565 should not limit what CPU you can execute this tool on. you can process both those with any "bit" system platform (ie 8bit or 32bit systems). if you use t_u16 instead of unsigned long you will get the same result across any platform or compiler, you may have to create a T_U16 define to get that to function properly

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.