Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

convert PNG image to XBM file simple c Program

Posted on 2009-07-10
10
Medium Priority
?
541 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 3
10 Comments
 
LVL 20

Expert Comment

by:ikework
ID: 24829543
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
ID: 24829675
Just realized, you already mentioned ImageMagick, but it comes with full-source code..
0
 
LVL 20

Expert Comment

by:ikework
ID: 24829694
>> which doesn't have Image Magick Libraries

You could compile it yourself for that platform, looks like its pretty portable..
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 20

Expert Comment

by:ikework
ID: 24829697
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
ID: 24829812
particulary look at:

  Reading png File:

    ImageMagick-6.5.4\png\example.c

  Writing xbm File:

    ImageMagick-6.5.4\coders\xbm.c
0
 

Author Comment

by:tittu
ID: 24837386
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
ID: 25366400
helpful
0
 
LVL 20

Accepted Solution

by:
ikework earned 1500 total points
ID: 25367026
>> 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
ID: 31602125
partially accepted
0
 
LVL 20

Expert Comment

by:ikework
ID: 25400552
>> partially accepted

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

ike
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Simple Linear Regression

618 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