We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

convert PNG image to XBM file simple c Program

tittu
tittu asked
on
Medium Priority
673 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
Comment
Watch Question

CERTIFIED EXPERT

Commented:
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
CERTIFIED EXPERT

Commented:
Just realized, you already mentioned ImageMagick, but it comes with full-source code..
CERTIFIED EXPERT

Commented:
>> which doesn't have Image Magick Libraries

You could compile it yourself for that platform, looks like its pretty portable..
CERTIFIED EXPERT

Commented:
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.
CERTIFIED EXPERT

Commented:
particulary look at:

  Reading png File:

    ImageMagick-6.5.4\png\example.c

  Writing xbm File:

    ImageMagick-6.5.4\coders\xbm.c

Author

Commented:
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.

Author

Commented:
helpful
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
partially accepted
CERTIFIED EXPERT

Commented:
>> partially accepted

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

ike
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.