Skip to content
Snippets Groups Projects
Commit 138cc026 authored by yuichitamiya's avatar yuichitamiya
Browse files

fix week1&2 about imagamagic

parent 6d6b949a
No related branches found
No related tags found
No related merge requests found
Pipeline #273912 passed
......@@ -283,8 +283,14 @@ Tips 2020 [ffmpeg example](https://fabacademy.org/2020/labs/kannai/students/tats
0.5M output.jpg
```
#### imagemagic
[site](https://imagemagick.org/)
```
% cd ~
% brew install imagemagick
```
[week2](./week02.md#compress images and videos)
## The Fab Charter
......
......@@ -56,7 +56,7 @@ and post a description with your design files on your class page
- [GIMP](https://www.gimp.org/)
- Photoshop
- vector
- Vector
- [Inkscape](https://inkscape.org/)
- Illustrator
- CorelDRAW
......@@ -64,7 +64,7 @@ and post a description with your design files on your class page
### 3D design
- Fusion360 -> parametric design
- [OnShape](https://www.onshape.com/en/)
- create account link in the email
- create account link in the email
- [Blender](https://www.blender.org/)
- [Wakayama Univ](https://drive.google.com/file/d/1m2lOC0plHx6fswb_4jUQ_SRqHF8zOAIW/view?usp=sharing)
- ZBrush
......@@ -93,15 +93,22 @@ and post a description with your design files on your class page
- [imagemagick](https://imagemagick.org/index.php)
- [encoding](http://academy.cba.mit.edu/classes/computer_design/image.html)
```
convert PNG to JPG:
convert input.png output.jpg
convert all PNGs to JPGs:
mogrify -format jpg *.png
convert SVG to PNG at 1000 DPI:
convert -density 1000 -units PixelsPerInch input.svg output.png
compress JPG to quality 50% width 1000:
convert input.jpg -quality 50% -resize 1000 output.jpg
compress all JPGs to quality 50% width 1000:
mogrify -quality 50% -resize 1000 *.jpg
//convert PNG to JPG:
% convert input.png output.jpg
//convert all PNGs to JPGs:
% mogrify -format jpg *.png
//convert SVG to PNG at 1000 DPI:
% convert -density 1000 -units PixelsPerInch input.svg output.png
//compress JPG to quality 50% width 1000:
% convert input.jpg -quality 50% -resize 1000 output.jpg
//compress all JPGs to quality 50% width 1000:
% mogrify -quality 50% -resize 1000 *.jpg
```
- ffmpeg
[week1](./week01.md#ffmpeg)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment