Solved

convert PNG image to XBM file simple c Program

Posted on 2009-07-10
10
495 Views
Last Modified: 2013-11-13
is there any example code to convert PNG file to XBM in C/C++ Tcl/Tk. on Linux
i know the standard convert command and  Image magick will do that but i need it use on hand held PDA which doesn't have Image Magick Libraries
0
Comment
Question by:tittu
  • 7
  • 3
10 Comments
 
LVL 20

Expert Comment

by:ikework
Comment Utility
Hi tittu,

Here is a list of tools for conversion:

  http://people.sc.fsu.edu/~burkardt/data/xbm/xbm.html

This tool con convert PGN to XBM and comes with source-code:

  http://www.imagemagick.org/script/index.php


ike
0
 
LVL 20

Expert Comment

by:ikework
Comment Utility
Just realized, you already mentioned ImageMagick, but it comes with full-source code..
0
 
LVL 20

Expert Comment

by:ikework
Comment Utility
>> which doesn't have Image Magick Libraries

You could compile it yourself for that platform, looks like its pretty portable..
0
 
LVL 20

Expert Comment

by:ikework
Comment Utility
I would try to contact them and ask if they already ported it, or if they know about anybody who ported it already, its open-source, so its quite likely.
0
 
LVL 20

Expert Comment

by:ikework
Comment Utility
particulary look at:

  Reading png File:

    ImageMagick-6.5.4\png\example.c

  Writing xbm File:

    ImageMagick-6.5.4\coders\xbm.c
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:tittu
Comment Utility
thanks for good response the i forgot to mention PDA configuration , it is a    arm 9260 board
with 2.6.28 kernel and doesn't have any display libraries, infact doesn't have a display device.

0
 

Author Comment

by:tittu
Comment Utility
helpful
0
 
LVL 20

Accepted Solution

by:
ikework earned 500 total points
Comment Utility
>> infact doesn't have a display device.

It doesnt need to have a display, its just reading one buffer/file and writing into another buffer/file, no display needed for that.
0
 

Author Closing Comment

by:tittu
Comment Utility
partially accepted
0
 
LVL 20

Expert Comment

by:ikework
Comment Utility
>> partially accepted

You could have asked more, we would be be happy to help :)

ike
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
The goal of this video is to provide viewers with basic examples to understand recursion in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now