Skip to content

Commit

Permalink
arecord, convert: edit pages (#12644)
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
  • Loading branch information
3 people committed May 20, 2024
1 parent 8d3fc3d commit b93aed1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pages/common/convert.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@

`convert {{path/to/input_image.png}} -resize 640x480 {{path/to/output_image.png}}`

- Horizontally append images:
- Scale an image to have a specified file size:

`convert {{path/to/image1.png path/to/image2.png ...}} +append {{path/to/output_image.png}}`
`convert {{path/to/input_image.png}} -define jpeg:extent=512kb {{path/to/output_image.jpg}}`

- Vertically append images:
- Vertically/Horizontally append images:

`convert {{path/to/image1.png path/to/image2.png ...}} -append {{path/to/output_image.png}}`
`convert {{path/to/image1.png path/to/image2.png ...}} {{-append|+append}} {{path/to/output_image.png}}`

- Create a GIF from a series of images with 100ms delay between them:

Expand Down
4 changes: 4 additions & 0 deletions pages/linux/arecord.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,7 @@
- Allow interactive interface (e.g. use space-bar or enter to play or pause):

`arecord --interactive`

- Test your microphone by recording a 5 second sample and playing it back:

`arecord -d 5 test-mic.wav && aplay test-mic.wav && rm test-mic.wav`

0 comments on commit b93aed1

Please sign in to comment.