Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arecord, convert: edit pages #12644

Merged
merged 14 commits into from
May 20, 2024
Merged
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`