top of page

Image Converter

Language: Assembly x86

Main Function:

Converts a .bmp image file into grey-scale, brightened, and black and white.

A program that utilizes more than one language, C++ and x86 assembly.

This program does read in buffering, which it takes rows of pixels in order to convert them.

The assembly code has multiple functions: function to error check, checking .bmp, black/white conversion, greyscale conversion, and brighten conversion. 

The first function checks the command line arguments in the code. If it doesn't follow the usage then it would send out an error message. 

The second function checks if it is a .bmp file.  Comparing the file header of a .bmp file and the file given in the command line. 

It will send out an error message if the user's file is not a .bmp file. 

Lastly, the conversion function uses an equation in order to change the pixels based on the user's desired conversion. 

Video demonstration of the program

Example of the Converted images: original on the left and changed on the right.

Original Image                                                                      Converted Image with Brighten

© 2035 by Urban Artist. Powered and secured by Wix

bottom of page