Giter VIP home page Giter VIP logo

arduboyimager's Introduction

ArduboyImager

Description

ArduboyImager is an image conversion tool for Arduboy. It generates ready-to-use bitmap data from JPEG or PNG image files. Since generated data is in C language array format, you can easily embed it in your program sketch.

You can load an image file, scale it, adjust contrast and brightness, then crop it so as to fit to Arduboy's screen and convert it to C language source code.

Color pixels are converted to black and white dots using three differnt dithering method. (Thanks to ofxDither.)

Instructions

Click "Open File..." button or hit space bar to open an image file. (in JPEG or PNG format)

There is a black-and-white "focus area" around mouse pointer.

The image under focus area is automatically converted to 1-bit image and previewed in the right of the window. You can select dithering method by clicking buttons or pressing key 1, 2, or 3.

Move pointer to locate focus to the area you want to capture, then click left button or hit enter key. The image under focus area is captured and shown in the right bottom of the window.

The image can be moved by dragging. Use cursor keys to adjust focus area position in pixels. You can change focus area size by "Width" and "Height" slider.

When image capture is done, click one of the buttons under "Copy as..." label.

"a C array" copys C source code to clipboard. "AbShell commands" copys set of command lines for AbShell.

Installation

ArduboyImager is developed on openFrameworks.

You need to download and install openFrameworks 0.9.3 or newer to build ArduboyImager.

Place source code folder into of_v0.9.3\apps\myApps folder.

Although openFrameworks is a cross-platform toolkit, I have tested only on Windows 7 + VisualStudio 2015.

Video

IMAGE ALT TEXT HERE

arduboyimager's People

Contributors

boochow avatar

Stargazers

 avatar Yuan avatar Egoscio avatar Ish Ot Jr. avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

magurosan

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.