paulloz / Engif Your Screen
Programming Languages
enGIF-your-screen
Capture what you're doing on your screen in a .gif the easy way.
Prerequisites
- python3
- python3-gobject
- wand >= 0.3.0 (and MagickWand, obviously)
- libindicator (optionnal, for AppIndicator support only)
How to install?
Make sure you are using python3 and install the package with setuptools, easy_install or whatever you're used to.
How to configure?
enGIF-your-screen is reading its configuration from your $(HOME)/.config/enGIF/enGIF.ini
ini file (it will be created if it does not exist).
Each line is a key = value
option, everything must be configured in the enGIF section.
Supported options:
- scale : percentage to which the output file will be scaled (default: 100)
Example:
[enGIF]
scale = 50
How to use?
- Click the big button in your traybar: the record begins
- Re-click the big button: the record ends
- Select where you want your .gif saved
- You're done
How it works?
enGIF-your-screen is just taking a bunch of screenshots with xwd
and creates a .gif using ImageMagick.
Pro tips
- If you've recorded your screen in full size, the output file can weight several MB. You can resize your .gif using ImageMagick CLI :
$> convert inputFile.gif -coalesce -repage 0x0 -resize 800x600 +repage outputFile.gif
$> convert inputFile.gif -coalesce -repage 0x0 -resize 50% +repage outputFile.gif
- Another good way to reduce the resulting .gif size is to posterize them. Posterization reduces the number of color levels per channel (and though is a destructive optimization process). Note that values between 8 and 16 are generally a good compromise between quality and size.
$> convert inputFile.gif -coalesce -repage 0x0 -posterize 8 +repage outputFile.gif
Icons
Icons are borrowed from Sekyumu's Developpers Icons.
License
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.