Skip to content

A lightweight C library for image processing, inspired by FFmpeg.

License

Notifications You must be signed in to change notification settings

victornnaji/imgmpeg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

imgmpeg

A lightweight C library for image processing, inspired by FFmpeg.

Features

  • Load and save BMP images
  • Unified in-memory image representation (Img struct)
  • Zero external dependencies
  • Simple CLI tool included

Building

make            # release build
make debug      # build with sanitizers
make test       # run tests

Requirements: GCC or Clang, Make, Linux/macOS

Usage

./imgmpeg input.bmp output.bmp
./imgmpeg -i input.bmp -f grayscale -o output.bmp

API

#include "imgmpeg.h"

Img *img = img_load("input.bmp");
img_save(img, "output.bmp");
img_free(img);

Roadmap

  • Grayscale and color filters
  • 3×3 convolution engine
  • Image resizing (nearest-neighbor, bilinear)
  • PNG/JPEG support
  • Filter graph syntax

Contributing

See CONTRIBUTING.md.

License

MIT

About

A lightweight C library for image processing, inspired by FFmpeg.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published