Skip to content

proAmethyst/image-slicer

Repository files navigation

Image Slicer

A free, browser-only tool for slicing images into grids or custom cuts and exporting them as PNG, JPG, or WebP.

100% in your browser — your images are never uploaded.

https://photo-slicer.pages.dev/

Features

  • Grid slicing — split an image into evenly sized rows and columns
  • Manual cut lines — define custom horizontal and vertical cuts
  • PNG / JPG / WebP output — choose the export format that fits your needs
  • Transparent-PNG aware — content-anchored slicing keeps transparent regions intact
  • ZIP download — get all your slices in a single archive

Run locally

npm install

npm run dev        # start the dev server
npm run build      # production build → dist/
npm run preview    # serve the production build locally

Other available commands:

npm run lint       # ESLint check
npm run test       # unit tests (Vitest, watch mode)
npm run test:run   # unit tests (Vitest, single run)
npm run test:e2e   # end-to-end tests (Playwright)

Tech stack

License

MIT — see LICENSE for details.

About

Image Slicer

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors