element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Energy Harvesting Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Energy Harvesting Design Challenge
  • More
  • Cancel
Energy Harvesting Design Challenge
Blog A Very Compact Guide to Energy Harvesting - Part 025
  • Blog
  • Forum
  • Documents
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: COMPACT
  • Date Created: 7 Jul 2013 7:46 AM Date Created
  • Views 857 views
  • Likes 1 like
  • Comments 5 comments
  • energy_harvesting
  • energy_harvesting_challenge
Related
Recommended

A Very Compact Guide to Energy Harvesting - Part 025

COMPACT
COMPACT
7 Jul 2013

Bit Moped Graphics

Note: Apologies for this post for being blatently Black and White.

image

To produce graphics for monochrome LCD screens I thought I could take the following approach;

     1. Use an existing editor

     2. Export the bitmap data into a suitable format for the LCD screen and importable into the code.

 

As I have found out, it's not just not that simple.

 

In the early 1980's I wrote a bespoke graphics editing program to create the clipart and fonts for an educational program called Story Maker.

This program had all the capabilities required for the artists to produce the libaries of clipart.

In addition to graphics primitives including line and circle drawing it contained features such as flood fill with patterns, image rotatation/flip, transparency matte control and import/export functions.

The creation of the editing program was required because I only had a text based operating system available (and all of 56K of RAM!).

 

I thought that in this day and age the capabilities would be much improved but a quick search on the Internet has revealed to me that support for monochrome LCD displays is rather poor.

Even Microsoft Paint for Windows 7 is incapable of properly displaying and editing monochrome bitmaps.

Somewhere along the line of mspaint upgrades bugs where introduced.

 

For the project, I've got my own .BMP pixel data extraction scripts so I needed to find a way to easily edit LCD graphics.

I tried some software from the Internet but none met my needs. They all seem to focus on coloured pictures.

 

Rather than removing the moth balls from my graphics editing program and time warping it into the 21st century, although not ideal I have devised a workaround using microsoft paint.

It's not perfect but at least its a start.

I edit all graphic material as monochrome .PNG files.

After all of the editing I can then export them as monochrome .BMP files.

And since mspaint is incapable of displaying monochrome .BMP files properly I use a freeware program called LCDAssistant to validate the export and its appearance.

image

 

LCDAssistant does not have any zoom capability but it does its job as a proofing tool adequately.

 

Some Intuition is required

The limited palette of monochrome pictures means that importing pixel for pixel does not always give the desired result.

Appropriate anti-aliasing, dithering, spacing, kerning is required to effect a successful appearance.

 

What do you think of my attempt?

  • Sign in to reply
Parents
  • DAB
    DAB over 12 years ago

    Hi Monte,

     

    Its a good first start.

     

    Have you looked at Gimp as a image editor?

     

    Just a thought,

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • COMPACT
    COMPACT over 12 years ago in reply to DAB

    Hi Don,

     

    I downloaded, installed and trialled GIMP 2.8.6 and I found it totally unsuitable and lacking the features I needed for editing monochrome bitmap images.

    Like all the rest it is geared up for coloured content.

     

     

    Cheers

    Very Compact

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • COMPACT
    COMPACT over 12 years ago in reply to DAB

    Hi Don,

     

    I downloaded, installed and trialled GIMP 2.8.6 and I found it totally unsuitable and lacking the features I needed for editing monochrome bitmap images.

    Like all the rest it is geared up for coloured content.

     

     

    Cheers

    Very Compact

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube