---
# System prepended metadata

title: Images Modifications
tags: [others, images]

---

# Images Modifications 
###### tags: `others` `images`
## Batch Convert Images with Same Name
### Installation
brew install imagemagick

#### Convert Format
> convert *.jpg -resize 50% -set filename:base "%[basename]" "%[filename:base].png"

#### Resize Example
> convert *.png -resize 50% -set filename:base "%[basename]" "%[filename:base].png"

## Compress PNG with Same Name
### Installation
[pngquant — lossy PNG compressor](https://pngquant.org/)

#### Optimized
> pngquant **.png --ext .png --force
#### Assigned Quality
> pngquant **.png --ext .png --force --quality=80-90
