Skip to content

Pascal-Institute/pegasus

Repository files navigation

DeepWiki

pegasus

The Image Processing & Analysis Tool based on Electron framework & sharp npm package

image

0. Application mission : Give wings to pixels

1. Requirements

For Development

  • IDE : Visual Studio Code (Recommemded)
  • node.js : v22.18.0 (At least version)
npm install -g electron
npm install --save electron electron-reload electron-rebuild electron-builder sharp sharp-ico sharp-bmp fs imgkit

For Application use

  1. Install Pegasus Setup.exe

  2. Execute pegasus

2. Coding Convention

Use Underbar for filename

3-1. How to execute

window

electron .

or

npm start

linux line-up

electron . --ozone-platform=x11

3-2. How to build

npm run build

4. Application Specification

4-1. Availiable file extension

png svg jpg jpeg webp gif bmp ico tiff tif

Note: Animated GIF files are now supported! When you load an animated GIF, playback controls appear automatically. See GIF Animation Documentation for details.

4-2. Multi-Select Image Panels

Multiple image panels can be selected simultaneously:

  • Single Select: Click on an image panel to select it (clears other selections)
  • Multi-Select: Hold Ctrl key + click to toggle selection of multiple panels
  • Deselect: Ctrl + click on a selected panel to deselect it (all panels can be deselected)
  • Visual Feedback: Selected panels display a green border and shadow

This feature allows for batch operations on multiple images at once.

4-3. extension converting

4-4. Image Processing

resize

crop

filter

rotate

watermark

paint