Working with Images , using Image Magick

Bienvenido, Welcome,
This is where any comments, questions,introductions, or anything else
can be discussed.
Aquí es donde cualquier comentario, preguntas, presentaciones, o cualquier otra cosa
puede ser discutido.
Spammers will be submitted to a spam prevention data base, and could get you blocked or banned from many other sites, as well as this one.
Los spammers serán sometidos a una base de datos de prevención de spam, y podría obtener bloqueado o prohibido en muchos otros sitios, así como este.

Re: Working with Images , using Image Magick

Postby garry » Tue Jan 10, 2017 7:44 pm

To make the screen shots I use the "import" command
Code: Select all
import screenshot.png

"screenshot.png" can be any name you want, also it could be gif or other
format.
For various options:
Code: Select all
man import


To resize them and make thumbnails:
Code: Select all
convert

Some examples:
Code: Select all
 convert rose.jpg rose.png


convert rose.jpg -resize 50% rose.png
convert terminal.png -resize 200x100 aa1-term-tmb.png

===============
convert screenshot.png -resize 200x100 import-tmb.png


Code: Select all
man convert

For more details and options.
Also lots of details here:
http://www.imagemagick.org/script/convert.php

To make the animated, gifs I use "byzanz"
Code: Select all
 byzanz-record

NAME
byzanz-record - record your desktop session to an animated GIF

SYNOPSIS
byzanz-record [options] FILENAME

DESCRIPTION
Byzanz records your desktop session to an animated GIF. You
can record your entire screen, a single window, or an arbitrary
region. byzanz-record allows you to make recordings from the
command line. Graphical users may want to use the panel applet
instead.


Code: Select all
 byzanz-record -d 120 --delay=5 -x 0 -y 0 -w 1440 -h 900 aa-openbox-Wheezy7.gif
===============================
byzanz-record -d 240 --delay=5 -x 0 -y 0 -w 600 -h 400 code-boxes.gif
=============
byzanz-record -d 180 --delay=5 -x 0 -y 0 -w 1200 -h 900 mouse-cursor.gif
==================
byzanz-record -d 280 --delay=5 -x 0 -y 0 -w 1200 -h 900 gdebi.gif
-----------------------------


More details:
Code: Select all
man byzanz-record

How to use byzanz-record
Also for more details, there are many results, and I don't want to recommend any
particular site, they all have good information.
Another forum I recently started:
Parrots and OpenBsd
garry
Site Admin
 
Posts: 91
Joined: Tue Feb 06, 2007 12:36 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron