Skip to content

shomiyu/format-gazer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Format Gazer

png や jpg を圧縮して webp に変換したり、HEIC 拡張子の画像を png/jpg に変換するツールです。

環境

Node.js v20.11.1 (推奨)

セットアップ

$ npm install

Compression and Convert to WebP

png と jpg をまとめて圧縮して WebP に変換します。
変換したい png と jpg の画像を src ディレクトリに入れてコマンドを実行してください。
output ディレクトリに出力されます。

$ npm run format

PNG and JPG Compression

png と jpg の画像をまとめて圧縮します。
圧縮したい png と jpg の画像を src ディレクトリに入れてコマンドを実行してください。
output ディレクトリに出力されます。

$ npm run optim

PNG and JPG to WebP

png と jpg の画像をまとめて WebP 変換します。
変換したい png と jpg の画像を src ディレクトリに入れてコマンドを実行してください。
output ディレクトリに出力されます。

$ npm run webp

HEIC to PNG

HEIC を PNG に変換します。
src ディレクトリに HEIC 画像を入れてコマンドを実行してください。
output ディレクトリに出力されます。

$ npm run heic-png

HEIC to JPG

HEIC を JPG に変換します。
src ディレクトリに HEIC 画像を入れてコマンドを実行してください。
output ディレクトリに出力されます。

$ npm run heic-jpg

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors