General :: The Trick With The "import" (imagemagick) Command?
Jun 3, 2010
To take a screenshot(or partial screenshot), I use to use the command-line, type "import <filename>.png" and then "alt-tab" away from the console (for me, xterm) and then (usually) select a part of the webpage showing up on the browser. However, I find in my modern X-window installations (I use osuse and slackware, with several window managers: xfce, icewm and awesome) the alt-tabbing bit doesn't work any more.To get by, I have to reduce the size of the console so that the bit I want to capture is visible as I write the import commandI figure this is an X problem, but it could also be an imagemagick problem (on that subject, I think I'm going to try out graphicsmagick soon)
View 2 Replies
ADVERTISEMENT
Feb 16, 2011
I wrote a simple command line script which is suppose to take my screenshot every 5 minutes.(using ImageMagick's "import" program)
Here is the script (shottr.sh):
This is working fine if I execute by hand i.e:
The script itself is being executed (I hear a voice saying: "Screenshot") but the actual screenshot is not taken.
Be assured that it is NOT permission issue (I placed a simple "touch" invocation and file was created)
May be if it's run from cron...it doesn't have a "window" so it can't take a screenshot from nowhere? If that is the case, then how can I workaround it?
View 1 Replies
View Related
May 5, 2011
I have an ImageMagick command that is something like this:
convert "/path/to/photo" -set comment "(c) my company" -resize WxH miff:- | composite -dissolve 30 -geometry +40+138 -quality 80 "/path/to/logo.miff" - jpeg:"/path/to/photo_for_public"
Directory /path/to is mounted over NFS (same network). Some options of fstab that might be helpful:
Both rsize and wsize are 3kB
hard,proto=tcp,timeo=600,retrans=2
Sometimes the imagemagick command fails and produces no file (/path to/photo_for_public might not emerge after command execution). Files might be from 100kB to 10MB. We usually re-run the command for files not generated. Sometimes it fails even twice, so we do it third time (hilariously funny, but even a third run can fail).
Are there any thoughts what may be wrong with my photo-processing setup?
View 1 Replies
View Related
Jan 12, 2011
in imagemagick,i have a png format picture, but it seems too big for me,i wanna compress it ...how can i do ...command line...Code:convert "png.png" -strip -units PixelsPerInch -density 96 -quality 60 "png2.png"this command can't compress the picture, the worse is: the size will be bigger...
View 4 Replies
View Related
Jan 10, 2010
where we can find the script trick, i found once before then lost it and i search a lot but cant find again.like people do fun and play while learn with script basic. i am talking about shell
View 5 Replies
View Related
May 17, 2010
after I had to rebuild the rpmdb because of some errors within it, i can't import any gpg-keys with the command "rpm --import". All I get is this:
[Code]....
View 14 Replies
View Related
Mar 28, 2011
I am looking an neat trick / elegant solution to manipulate / modify hostname and set a variable to the value inside a script.I have figured what I want to do.I just want to know how to set the variable correctly ?
View 1 Replies
View Related
May 1, 2010
simple scan error as follows: Failed to save file ImageMagick returned error code 11 Command line: convert -adjoin /tmp/simple-scan-DA9MBV.jpg /tmp/simple-scan-XCK4BV.jpg /tmp/simple-scan-NZVYBV.pdf Stdout: Stderr: using karmic note: I have apparmor extra profiles installed but didn't notice one that related to simple scan or imagemagick. Red herring or not?
View 6 Replies
View Related
Jun 6, 2010
while installing ImageMagick on my i686-pc-linux gnu, everything seems to go fine when i put ./configure --with-modules in action. however, after this, as soon as i execute "make"
it gives loads of error as shown below:
"make all-am
make[1]: Entering directory `/home/vijitkarma/ImageMagick-6.6.2-2'
CC magick/magick_libMagickCore_la-animate.lo
make[1]: Leaving directory `/home/vijitkarma/ImageMagick-6.6.2-2'
[Code]...
View 3 Replies
View Related
Jun 2, 2011
I downloaded, configured and installed ImageMagic-6.7 without too much trouble.
I'm trying to install the perl module Image::Magick, and using MCPAN just errors out big time.
I read in the docs for installing ImageMagic, that I need to edit the Makefile.PL in the PerlMagick directory before I can do a make / make install.
I'm supposed to change the LIBS and INC, but I have no idea what I'm supposed to change them to? Do I just add to what's there? Where do I find the values to add/change to?
View 10 Replies
View Related
Mar 9, 2011
When I run
convert *.jpg output.pdf
the output looks like this:
Why is the first page bigger then the others in the PDF? The original JPEGs were all the same size!
View 1 Replies
View Related
May 7, 2010
I have installed unbuntu 10.04.. since i dont want grub to boot my linux distros , i have installed the bootloader in the root partition (sda9 in my case with no separate partition for boot). Subsequent to successful ubuntu installation i booted using the live cd and extracted the boot loader using the following.
dd if=/dev/sda9 of=/ub.bin bs=512 count=1
Finally i edited the boot.ini (win xp) to show ubuntu in the menu which points to ub.bin.
But this doesnt seem to work... the same had worked with Mandriva 2010
Where did i go wrong ?
View 6 Replies
View Related
Oct 10, 2010
I have this weird program: dns2tcpc (creates a dns tunnel). I would like it to run at startup. However, I found that the program doesn't work when backgrounded! EX: dns2tcpc -z dns.domain.com -l 8888 208.67.222.222 Works, and I can use SSH to port 8888. However, if I try to background it, like: dns2tcpc -z dns.domain.com -l 8888 208.67.222.222 & Then trying to connect to SSH won't get any response
Now, I know this is a bug in dns2tcpc, and I really don't feel like compiling it or anything (I may have to), so is there any way to "trick" an application into thinking it's running in the foreground (like typing the command from the terminal window)? (Bonus if no addition installation is required)
View 2 Replies
View Related
Apr 8, 2010
I think that the kde4.x clipboard is mishandled. using any method of copy from a kde app causes the data to be cut instead of copied when pasted into another app (even non kde). Non kde apps behave as expected.
open gedit and kwrite.
type K in kwrite.
Type G in gedit
highlight the G in Gedit
(select copy or use primary)
middle click or paste into kwrite.
fine - there's a G in both editors.
Reverse, copy the K from kwrite and copy paste it into gedit. when you go back to kwrite the K is gone! Evil Magic. what's up? Can't wait until kde 5 or 6 when t gets to be usable again.
View 9 Replies
View Related
Nov 23, 2010
I've compiled a program on ubuntu with python(make python) but the problem comes when I try to use it and exactly after the command line "from libpy import *", the message that appears is such
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "libpy/knit.py", line 28, in <module>
import _knit
ImportError: libpy/_knit.so: undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE
View 1 Replies
View Related
Jul 18, 2010
I'm trying to use convert, I have installed the imagemagick. I use this line:convert *.jpg test.pdf but I'm only able to convert to pdf 1 single jpg file, not multiple files at once. When there's more than one file, I get the following error: Segmentation fault
View 5 Replies
View Related
Apr 29, 2010
installed the 9.10 Version of ubuntu. Now the situation is: Four Computers are running under Windos XP-professional SP3 My computer, the fifth has ubuntu as os After the upgrade to ubunto 9.10 (with the newest updates installed today) I`m unable to access the windows network. Shows me only windows network but when I click on it no list of workgroup is shown and therfore the network cannot be connected
Only with one "trick" get access: connect to server, then putting the ip's of th windows computers I've got connection to all allowed dir of all the four windows computers (location: smb://ip-adress) To install a network printer is impossible neither with cups nor with system-> adaministration->print At my computer is one printer which works fine. the other printer a Xerox Phaser 6110 is connectet to one XP computer and is configured as network printer under Windows. The computer (IP-Adress is found but that is all) Printer is not connected.
Trying now for three days I'm really upset because there is one golden rule: Never touch running Systems! But you folks from ubuntu must bring ever second day some updates. Nothing against this, but configure your updates in that manner that the updates don't change all my settings. When I boot my computer with windows-XP all network computers are there and usable. My Samba config is ok too because otherwise I would not be able to connect to windows computer through the above mentioned trick.
View 6 Replies
View Related
Oct 28, 2010
I'm using Inkscape, and I'm trying to import an EPS file to use it as a vector and eventually save it as an SVG.
This link here mentions several methods:
[URL]
But the responses aren't rated since it's a forum, so I thought I'd ask here to find the best answer. I'd prefer not to have to use some website to convert the file to a PDF first.
Either way, when I import an EPS into Inkscape, or use the website to convert it to a PDF, in both cases the resulting file loses all colour and gradients, and the EPS file gets cut off on the right side.
It looks like ps2pdf is clipping the file incorrectly, and Inkscape is eliminating the colour.
I have these version installed in Ubuntu Lucid Linux:
Inskape 0.47.0-2ubuntu2
Ghostscript 8.71.dfsg.1-0ubuntu5.3
View 1 Replies
View Related
Jun 30, 2011
I am running RHEL5 and I have just upgraded my RPM software manager from RPM version 4.4.2 to RPM version 4.9.0 (the latest version) by doing a clean install of v4.9.0. The version 4.4.2 came with the RHEL5 and at the moment is very old so I cannot install certain newer rpms. I followed the INSTALL instructions that comes with the tarball for V4.9.0. The problem is the new install (i.e. RPM V4.9.0) has no knowledge of my old RPM manager i.e. V4.4.2, hence it does not know of the rpm packages installed on my system.
I think the problem is that the V4.9.0 is a new install rather than an upgrade (There are no instructions on how to perform a 'real' upgrade). I have tried to rebuild the rpmdb for v4.9.0 but that does not help and I have no idea how to import the data from v4.4.2 database to v4.9.0 database. My question is, how do I import the database from RPM manager V4.2.2 into RPM manager V4.9.0 or how do I 'upgrade'properly from V4.4.2 to V4.9.0. I have trawled the internet for some guides but there does not seem to be anything regarding this.
View 4 Replies
View Related
Apr 15, 2009
I'm attempting to install ImageMagick on my shiny new CentOS 5 server, but it wants to install a bunch of X libs and ALSA to get that to run.
I don't really want sound software and X installed. I see there is a configure option to install --without-x.Are there any alternatives to compiling from source? Any sort of rpm you know of that I am not seeing?
View 2 Replies
View Related
Jan 14, 2011
$ rpm -qa | grep -i "^thunderbird"
thunderbird-enigmail-1.1.2-1.fc14.i686
thunderbird-3.1.7-2.fc14.i686
$ lsb_release -a
[Code].....
I just can't import my contacts to the address book of enigmail.
View 1 Replies
View Related
Jun 11, 2010
This is about ubuntu 10.04
I can import projects to my cvs repository only when the repository set to group owner cvs. Which is fine to me.
But I found the project folder/files that I imported into the repository have group name other than cvs (in fact, that's my username). And that prevents others to check out my code.
View 3 Replies
View Related
May 6, 2010
I want to import data from MySQL to MSSQL. I've been searching in the web, and I can't find a good and straight answer. How can I do it?
View 2 Replies
View Related
Nov 23, 2010
I m facing a problem in installing GNS3 Cisco simulator on Fedora 14. I persistently followed the instructions on the [URl]... website and the readme that came in with the GNS3 source package. The main packages needed before running GNS3 are:
Dynamips
Dynagen
Qemu
Qt 4.5.1 (or higher)
Python 2.5 (or higher)
Sip 4.5 (or higher)
PyQt 4.5 (or higher
Ive compiled and installed all the above packages...it took almost a lifetime, especially for Qt and PyQt. Then, I compiled and installed the GNS3 package and that went well too. But when I run the gns3 executable, I m getting the error message given below:
[root@mnpc GNS3-0.7.2-src]# gns3
Can't import Qt modules, PyQt is probably not installed. I did a double install on PyQt, but the problem still persists.
View 5 Replies
View Related
Aug 1, 2010
I would like to import my inbox from windows to Thunderbird I am running Mint 9
View 1 Replies
View Related
Apr 27, 2011
Anybody know how to import Simply Accounting files into Gnucash?
View 1 Replies
View Related
Mar 18, 2011
Python version 2.6 worked fine but since updating to version 3.1 and now 3.2 I cannot get beyond this error. I have also downloaded and installed APSW v3.7.5
View 2 Replies
View Related
Feb 12, 2011
I need to be able to open a photo manager and scan directly from within the program without opening a separate app. Is there one that does? I just installed Mint on my daughters laptop. Wow! I'm impressed. I tried a some Linux distros a few years ago and although I liked the idea, I just couldn't find one that impressed me. Things have changed since then! I tried 2 or 3 distros this past week and they all beat the pants off any version of Win... that I've used. I'm so impressed that I am now considering installing on my machine if I can find software replacements. If not, I may still do it and run Virtualbox when I need to. I need to start with the photo manager.
View 2 Replies
View Related
Aug 13, 2010
I am trying to use Rythmbox to replace windows media player, in Ubuntu 10.04. So of course, I needed to import all my music. So in Rythmbox I go to Music>Import Folder and then I simply select the correct folder, which is on a different drive. And sometimes, that works. even though it won't remember that I did it once I close Rythmbox. Other times, when I do that, Rythmbox simply closes right then and there, and has to be reopened. I don't really know what is going on here, other than what I would call a bug. But it never actually keeps the music file that I imported. I always have to re-import it, every time I open Rythmbox.
View 2 Replies
View Related
Jan 8, 2010
I am getting error like:
"/usr/lib/ruby/1.8/i486-linux/RMagick2.so: This installation of RMagick was configured with ImageMagick 6.5.1 but ImageMagick 6.5.8-10 is in use. (RuntimeError)".
So, I am trying to install ImageMagick 6.5.1. But it gives me error like:
"ERROR: Can't create '/usr/local/man/man3".
And I am using Ubuntu 9.10.
View 3 Replies
View Related