Solved

convert PNG image to XBM file simple c Program

Posted on 2009-07-10
10
514 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 500 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Advice in Xamarin 21 109
Detect Closed Loops (circles, figure-8s, etc) in PNG Images 6 78
ejb message driven bean mdb creation steps 2 37
Java array 10 65
This is an explanation of a simple data model to help parse a JSON feed
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.

730 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