Skip to content

DaveMex/bpg-converter-app

Repository files navigation

BPG Converter

A modern, desktop-based GUI tool for converting images to the Better Portable Graphics (BPG) format. Built with Electron.

Features

  • Drag & Drop Interface: Easily convert images by dropping them into the app.
  • Batch Processing: Convert multiple images at once.
  • Advanced Controls: Adjust quality (0-51), compression levels (1-9), and choose encoders (x265/JCT-VC).
  • Preview: Real-time preview of converted BPG images using the bpgdec.js decoder.
  • Cross-Platform: Designed for Windows, macOS, and Linux.

Installation

Prerequisites

Setup

  1. Clone the repository:
    git clone https://github.com/DaveMex/bpg-converter-app.git
    cd bpg-converter-app
  2. Install dependencies:
    npm install

Usage

Development

To run the application in development mode:

npm start

Building for Production

To create a standard executable installer (e.g., .exe for Windows):

# For Windows
npm run dist:win

# For Mac
npm run dist:mac

# For Linux
npm run dist:linux

The output files will be in the dist/ directory.

Project Structure

  • src/: Source code (HTML, JS, CSS).
  • src/assets/: Icons and images.
  • resources/bin/: BPG binaries (bpgenc) for different platforms.

License

ISC

Sponsor this project

Packages

No packages published