https://github.com/anishacharya/utility

https://github.com/anishacharya/utility

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.9%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: anishacharya
  • License: mit
  • Language: HTML
  • Default Branch: main
  • Size: 18.6 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 1 year ago · Last pushed over 1 year ago
Metadata Files
Readme License

README.md

Utility Suite

A collection of practical tools for everyday use, designed to simplify common tasks.

Image Converter

A robust tool to convert images across various formats, with special support for iPhone HEIC images.

Features

  • Convert between multiple image formats
  • Support for HEIC format from iPhones and other devices
  • Available as both CLI and web interface
  • Preserves image quality during conversion
  • Handles transparency correctly when converting to formats without alpha channel support
  • Simple, intuitive web UI for easy image conversion

Supported Formats

  • Input: HEIC, JPG, JPEG, PNG, BMP, TIFF, GIF
  • Output: JPG, JPEG, PNG, BMP, TIFF, GIF

Getting Started

Prerequisites

System Dependencies for HEIC Support

  • macOS: brew install libheif
  • Ubuntu/Debian: sudo apt-get install libheif-dev

Python Dependencies

Install all required dependencies:

bash pip install -r requirements.txt

Usage

Web Interface (Recommended)

Start the web server:

bash python app.py

Then open your browser and navigate to: http://localhost:8080

The web interface allows you to: 1. Upload an image 2. Select the desired output format 3. Convert and download the converted image

Web Interface Screenshot

Command Line Interface

For batch processing or automation, you can use the CLI:

bash python img_converter.py --input <input_image_path> --output <output_image_path>

Example: bash python img_converter.py --input photo.heic --output photo.jpg

Project Structure

  • img_converter.py - Core image conversion functionality
  • app.py - Web server for the UI interface
  • templates/ - HTML templates for the web interface
  • static/ - CSS, JavaScript, and other static assets
  • uploads/ - Temporary storage for uploaded images (auto-created)
  • converted/ - Temporary storage for converted images (auto-created)

Future Enhancements

  • Batch conversion support
  • Image resizing and optimization options
  • Additional image formats
  • Dark mode UI

License

This project is licensed under the terms of the license included in the repository.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Owner

  • Name: Anish Acharya
  • Login: anishacharya
  • Kind: user
  • Location: Austin, Tx
  • Company: University of Texas at Austin

GitHub Events

Total
  • Delete event: 2
  • Issue comment event: 1
  • Push event: 6
  • Pull request event: 4
  • Create event: 4
Last Year
  • Delete event: 2
  • Issue comment event: 1
  • Push event: 6
  • Pull request event: 4
  • Create event: 4