An open API service indexing awesome lists of open source software.

https://github.com/maxgripe/jpg-white-border-adder

A simple tool for adding a white border to JPG images
https://github.com/maxgripe/jpg-white-border-adder

capture-one capture-one-plugin console-app console-application image-border image-borders jpg-images

Last synced: 8 months ago
JSON representation

A simple tool for adding a white border to JPG images

Awesome Lists containing this project

README

          

![Workflow Status](https://github.com/MaxGripe/jpg-white-border-adder/actions/workflows/dotnet.yml/badge.svg)
![GitHub repo size](https://img.shields.io/github/repo-size/MaxGripe/jpg-white-border-adder)
![GitHub License](https://img.shields.io/github/license/MaxGripe/jpg-white-border-adder)
![GitHub Created At](https://img.shields.io/github/created-at/MaxGripe/jpg-white-border-adder)
![GitHub forks](https://img.shields.io/github/forks/MaxGripe/jpg-white-border-adder)
![GitHub Repo stars](https://img.shields.io/github/stars/MaxGripe/jpg-white-border-adder)
![OS](https://img.shields.io/badge/os-Windows-blue)

# jpgWhiteBorderAdder

Adds a white border to images in JPEG and PNG formats. The program is designed to automatically modify existing image files by adding a uniform white border around them.

## Features

- Supports JPEG and PNG formats.
- Automatically adds a white border with a width of 5% of the image's shortest side.
- Preserves EXIF metadata for JPEG images.

![Example](example.png)

## How to use

### Command Prompt (cmd.exe)

```
Microsoft Windows [Version 10.0.19045.5247]
(c) Microsoft Corporation. All rights reserved.

C:\Users\mg>cd Desktop

C:\Users\mg\Desktop>jpgWhiteBorderAdder.exe aaaa.jpg
White border added to the file: aaaa.jpg

C:\Users\mg\Desktop>
```
### PowerShell
```PowerShell
PowerShell 7.4.6
PS C:\Users\mg> cd .\Desktop\

PS C:\Users\mg\Desktop> .\jpgWhiteBorderAdder.exe aaaa.jpg
White border added to the file: aaaa.jpg

PS C:\Users\mg\Desktop>
```

## License

This project is released under the [Unlicense](LICENSE) license.