LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 08-14-2004, 04:38 AM   #1
fredgt
Member
 
Registered: Feb 2004
Location: Belgium
Distribution: Suse 9.1 Pro / Gentoo
Posts: 114

Rep: Reputation: 15
Easy to use graphical firmat for simple pictures


I'm searching for a easy to handle picture format.
My end goal is to write a program / driver to support the T6963C graphic LCD's (240x124). It is supported in linux as a character LCD but not as a graphic LCD.
At first all i want to do is send an image to the LCD so i'm searching for a easy to use graphic format but i didn't find one so far.
It only has to be black and white in a low 240 x 128 resolution. So at first i was thinking of using bitmaps but i don't find that much information about it.
I could create a very simple format myself but then you can't edit it with a graphical editor like the gimp,...
Does anyone know any easy formats or know a good site with information on how to handle bitmaps.
 
Old 08-14-2004, 08:02 AM   #2
Hko
Senior Member
 
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: ubuntu
Posts: 2,524

Rep: Reputation: 93
Sounds like the "pbm" format is for you.
From "man pbm":
Quote:
The portable bitmap format is a lowest common denominator monochrome
file format. It serves as the common language of a large family of
bitmap conver- sion filters. Because the format pays no heed to
efficiency, it is simple and general enough that one can easily
develop programs to convert to and from just about any other graphics
format, or to manipulate the image.

This is not a format that one would normally use to store a file or to
transmit it to someone -- it's too expensive and not expressive enough
for that. It's just an intermediary format. In it's purest use, it
lives only in a pipe between two other programs.
 
Old 08-14-2004, 11:19 AM   #3
fredgt
Member
 
Registered: Feb 2004
Location: Belgium
Distribution: Suse 9.1 Pro / Gentoo
Posts: 114

Original Poster
Rep: Reputation: 15
Thanks. It's exactly what i was searching for.
It's actually a image that is saved in an ASCII text file using HEX codes. It"s very easy to handle and you can convert normal images to pbm very easily. This will help me a lot
 
Old 08-14-2004, 11:34 AM   #4
fredgt
Member
 
Registered: Feb 2004
Location: Belgium
Distribution: Suse 9.1 Pro / Gentoo
Posts: 114

Original Poster
Rep: Reputation: 15
When reading up on pbm i came across xbm what is actualy even easyer to use(can be edited directly with the gimp)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
graphical login, how to use pictures? secretlydead Mandriva 2 11-22-2005 01:49 AM
simple and easy ls command question basher400 Linux - Newbie 1 06-15-2005 08:26 AM
Recommend good, easy to setup, hopefully graphical FtpServer. Lurker01 *BSD 2 09-10-2004 11:20 AM
A simple graphical display chichibabin Programming 6 10-14-2003 07:50 PM
Simple graphical linux programming language? Nerd2 Linux - Software 4 05-03-2003 07:12 AM


All times are GMT -5. The time now is 04:46 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration