Skip to content

etworker/ppm2bmp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ppm2bmp

Introduction

I cannot find any command line tool to convert image file from ppm to bmp under Windows, so I have to write my tool.

This tool can convert image file from ppm format to bmp format.

Usage

Syntax:

ppm2bmp.exe <ppm filename> <bmp filename>

Example:

ppm2bmp.exe c:\a.ppm c:\a.bmp

Note

Only support ppm file with magic number is P6 and maximum color value is 255.

Develop environment:

  • Windows 8.1 64bit
  • Visual Studio 2013
  • Pure C code without any 3rd lib

For developer

If you are working under Linux, maybe Netpbm is better than this tool.

If you need integrate this function into your application, please look at the function

ErrorID ppm2bmp(char *ppmFilename, char *bmpFilename);

About

convert image file from ppm format to bmp format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published