Skip to content

O1gab/Image-Resizing-using-STB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Resizing using STB

This program resizes an image using the STB Image library. It loads an image, resizes it to half its original size, and saves the resized image as a JPEG file.

Requirements

Usage

  1. Clone the repository:

    git clone https://github.com/yourusername/your-repository.git
    
  2. Compile the program:

     gcc -o resize_image resize_image.c -lm
    
  3. Run the program:

     ./resize_image
    

Make sure to replace "ENTER HERE ABSOLUTE PATH TO THE PICTURE" in the code with the absolute path to the input image file you want to resize.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors