Skip to content

AJobim/BMP-Image-Processor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

BMP Image Processor in C

This C program processes 24-bit BMP images by performing two main operations:

  1. Color Inversion: Swaps the RGB channels to create a color-shifted effect.
  2. Grayscale Conversion: Converts the image to grayscale by averaging the RGB values.

Features

  • Binary File Handling: Reads and writes BMP files efficiently.
  • Direct Pixel Manipulation: Modifies image data at the byte level.
  • Dynamic Memory Allocation: Handles image data with safe memory management.
  • Header Parsing: Uses packed structs to accurately read BMP headers.

Output Files

  • invertecor.bmp → Image with inverted RGB colors.
  • tonsdecinza.bmp → Image converted to grayscale.

About

This C program processes 24-bit BMP images for grayscale and RGB-shift conversions via direct pixel manipulation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages