Skip to content

tomvoet/wasm-image-convert

Repository files navigation

WASM Image Converter

Welcome to the WASM Image Converter repository! This project is designed to convert different file formats quickly and securely using WebAssembly (WASM). The app is built with TypeScript, Vue, Nuxt, and Rust, utilizing the image-rs library for image processing.

Disclaimer: Work on this repository is halted and moved over to https://github.com/refilelabs/image.
Using this organization I aim to offer a broader suite of tools that go beyond image conversion, all focused on secure and efficient file handling. Of course, everything remains open source - I'd be very happy if you take a look: https://refilelabs.com/!

Table of Contents

Features

  • Fast and Secure: Client-side conversions ensure speed and privacy.
  • Supports Multiple Formats: Convert between various image formats (png, jpg, jpeg, gif, webp, etc.).
  • User-Friendly Interface: Simple drag-and-drop functionality with a clean, modern design.
  • Free and Open Source: No cost and open for contributions.

Getting Started

To get a local copy up and running, follow these simple steps.

Prerequisites

  • Node.js (v16 or higher)
  • pnpm
  • Rust and Wasm-pack

Installation

  1. Clone the repository:

    git clone https://github.com/tomvoet/wasm-image-convert.git
    cd wasm-convert
  2. Install dependencies:

    pnpm i
  3. Build the Rust project:

    pnpm wasm:bundle
  4. Start the development server:

    pnpm dev
  5. Open your browser and navigate to http://localhost:3000/wasm-image-convert/.

Usage

  1. Upload your file by dragging and dropping it into the designated area or by clicking to upload.
  2. Select the output format from the dropdown menu.
  3. Click "Start Conversion" to convert the file.

Contributing

Contributions are welcome!

License

Distributed under the MIT License. See LICENSE for more information.

About

Using WebAssembly to convert images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published