Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

hackage.haskell.org : UTFTConverter

About: This package was created because I could not find a tool that can be used on UNIX systems to parse a picture into an array of RGB565 values and save them to a '.c' or '.raw' file. Both formats are used by the UTFT library to display pictures on to a TFT display. This package includes, but not limited to, an executable which is made to be as identical as possible to the corresponding tool that is also downloaded with the UTFT library. Usage: Supported formats: The binary tests if the pictures are encoded correctly via magic bytes using ImageType. If the extention is wrong, but the encoding is correct, it will still try to convert the picture. The exported library is using JuicyPixels to convert incoming '.gif' '.png' '.jpg' / '.jpe' / '.jpeg' '.bmp' '.tga' and translates every pixel to a RGB565 format, which is a 4 digit hex number. Library: The only really reusable library is the Format.RGB565. It support the conversion from RGB to RGB565 as (Word8, Word8, Word8) -> Int Int to Hex as Int -> String Example usage:

Registry - Source - Homepage - JSON
purl: pkg:hackage/UTFTConverter
Keywords: graphics, library, mit, program, text
License: MIT
Latest release: about 8 years ago
First release: over 8 years ago
Dependent repositories: 1
Downloads: 4,119 total
Stars: 15 on GitHub
Forks: 5 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 22 days ago

    Loading...
    Readme
    Loading...