Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kannai site
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Academany
Fab Academy
2022
Fab Academy 2022 Labs
Kannai
Kannai site
Commits
138cc026
Commit
138cc026
authored
3 years ago
by
yuichitamiya
Browse files
Options
Downloads
Patches
Plain Diff
fix week1&2 about imagamagic
parent
6d6b949a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#273912
passed
3 years ago
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/Instruction/week01.md
+7
-1
7 additions, 1 deletion
docs/Instruction/week01.md
docs/Instruction/week02.md
+19
-12
19 additions, 12 deletions
docs/Instruction/week02.md
with
26 additions
and
13 deletions
docs/Instruction/week01.md
+
7
−
1
View file @
138cc026
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
docs/Instruction/week02.md
+
19
−
12
View file @
138cc026
...
...
@@ -56,7 +56,7 @@ and post a description with your design files on your class page
-
[
GIMP
](
https://www.gimp.org/
)
-
Photoshop
-
v
ector
-
V
ector
-
[
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
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment