Making good photos
Here are a few tips on how to make photos with devices running postmarketOS look relatively good, even if you just use another phone to make the photo.
Taking the photo
- Put your device on one or more pages of white paper, so it's easy to see it.
- Make sure that the whole device is on the photo.
- Run something postmarketOS specific on it, for example:
- postmarketOS background from the artwork repository
uname -ain a terminal showing
-postmarketOSin the kernel name
- typing something with "postmarketOS" in a text input
- If you have problems with the flash of the camera reflecting on the phone's screen, just shoot at it from a different angle (see example on the right)
- If you're trying to photograph the console, but it's too hard to do it, try to make one photo where the whole device is visible and another one where you just photograph the interesting part of the terminal.
- Finally focus your device and take a non-blurry photo (or multiple ones just to make sure).
- With GIMP:
- Cut out the device
- Cut out the screen and put it on an extra layer
- Use "Colors / Brightness-Contrast" to improve both the device and screen contrast independently
- add a shadow effect if you want to do that (Filters / Light and Shadow / Drop Shadow)
- possibly use "Filters / Artistic / Cartoon" on the device to improve the contrast some more
exiftool -all= -overwrite_original file.jpgto remove all metadata
Creating a gif from a video
Useful for new blog posts. See also: Cut up a video with ffmpeg
$ ffmpeg -y -i video.webm -vf palettegen palette.png $ ffmpeg -y -i video.webm -vf scale=320:240 video-small.webm $ ffmpeg -y -i video-small.webm -i palette.png -filter_complex paletteuse -r 10 video.gif