Please, here is my little code for creating thumbnails of pictures saved in a folder named 'pictures', and saving them in another folder named 'thumbs'.
! /bin/bash
for i in *.jpg
do
convert -thumbnail 100 pictures/$i thumbs/$i
done
However, there two things the program doesn't do:
1) It does not retain the name of the pictures in the thumbnail.
I have the following code which is supposed to convert the first page of PDF to thumbnail:
<?php
$strPDF = "http://www.domain.com/b.pdf";
exec("/usr/bin/convert \"{$strPDF}[0]\" -colorspace RGB -geometry 200 \"output.gif\"");
?>
My host server is Siteground, and apparently /usr/bin/convert is where ImageMagick convert function is.
I am converting images to pdfs.I use following command
convert page.jpg page.pdf
and then combine multiple pdf's generated accordingly by command
pdftk 1.pdf 2.pdf output result.pdf
but I noticed loss of quality in the resulting pdf.Is there some way that I can retain the quality of pdf i.e.
I have changed my username and when I did this,I can not log in with my new user and this error comes in the screen: nautilus could not create the following required folders: /home/"last username"/desktop and /home/'last username'/.nautilus .Also when I press CTRL+ALT+F6 for the command line I can not login with my new username. Although I have still access to Linux by root.
I use gframecatcher to generate thumbnail video galleries. However this is a GUI tool and I want to create recursively a gallery for every video in a directory structure, so I am looking for a fast command line tool to do this.
I'm trying to modify the permissions of a group so that they can have full control over files (read/write/delete...
In Fedora 12....
Openoffice odt files display a thumbnail (of the first page) in Nautilus file browser. Same with pdf files. These thumbnails are created by Nautilus using tools such as gsf-office-thumbnailer and evince-thumbnailer.
I am working on creating system monitoring graphs from sar outputs. Ksar seems to be a nice gui tool, with some command line support. My goal is to create pdf/png charts from a script using ksar command line.
The released version has some minor bugs where I got some exceptions. Fortunately the beta 5.1.0_beta4 does not have the bugs and produces nice graphs from GUI.
Imagemagick is a very cool graphic tool. In today's article, I will show you a trick with Imagemagick to create a simple text image with some cool effects.