Click here to Skip to main content
15,068,471 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I need to convert a bitmap image to hex data.

Please help


1 solution

Take a look at[^]

You get Netpbm source at this location[^]

The plain format (P3) has nearly what you need - use the %x printf[^] format specifier

Best regards
Espen Harlinn
Simon Bang Terkildsen 8-Oct-11 11:37am
Good suggestion
Espen Harlinn 9-Oct-11 5:33am
Thank you, Simon!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900