Solved

convert PNG image to XBM file simple c Program

Posted on 2009-07-10
10
522 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
Technology Partners: 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

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.

707 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