Author |
Message |
polle
Joined: 27 Jun 2007 Posts: 11
|
Posted: Thu 14 Aug 2008, 07:41 Post subject:
Image Magick |
|
As I had to convert some photos and didn't find a pet package for ImageMagick I compiled it from source, first got an error about fontconfig not found, so I compiled this first, afterwards no problem compilng ImageMagick
Made a pet package of both programs if someone is interested:
http://users.telenet.be/mylinux/fontconfig-2.6.0-i486.pet
http://users.telenet.be/mylinux/ImageMagick-6.4.1-10-i486.pet
|
Back to top
|
|
 |
jeffrey
Joined: 16 Jan 2006 Posts: 162 Location: Christchurch, New Zealand
|
Posted: Mon 03 Nov 2008, 21:19 Post subject:
|
|
Very useful, thanks. This version has got image statistics included, so it should be relatively easy to compare a sequence of photos to detect significant changes for an intruder detection system. For example,
Code: | convert image1.gif image2.gif -compose difference -composite miff:- | identify -verbose - | awk '$1=="Channel"&&$2=="statistics:"{p++; next} $1=="Alpha:"{exit} p{print}'
|
will show differences between image1 and image2 on the colour channels. Try comparing two identical photos, two with minor differences, two with slight lighting changes, and two where one has an intruder and the other does not. Then find suitable thresholds for an intruder.
Doubtless this is off-topic, but it may help some poor soul. There are countless other (more common) uses for Image Magick, of course.
|
Back to top
|
|
 |
KF6SNJ
Joined: 19 Jun 2007 Posts: 698 Location: Distressed States of Amerika
|
Posted: Mon 03 Nov 2008, 21:28 Post subject:
|
|
Doesn't seem off topic to me. Rather it looks like you are consider a new way to make use of Image Magick. Nothing wrong with that. In fact, it could also be useful for detecting a difference between a genuine artwork and cheap forgeries. I would like to hear a little more about that idea.
_________________ The only windows I have are those on my home.
|
Back to top
|
|
 |
ttuuxxx

Joined: 05 May 2007 Posts: 11193 Location: Ontario Canada,Sydney Australia
|
Posted: Tue 04 Nov 2008, 03:32 Post subject:
Re: Image Magick |
|
I was missing fontconfig the other day when I was compiling gimp or could of been transmission, it might be useful to include it in future devx's.
ttuuxxx
_________________ http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games 
|
Back to top
|
|
 |
amigo
Joined: 02 Apr 2007 Posts: 2641
|
Posted: Tue 04 Nov 2008, 06:38 Post subject:
|
|
fontconfig should be considered a basic part of any GTK2 environment as many, many programs will require it.
|
Back to top
|
|
 |
jeffrey
Joined: 16 Jan 2006 Posts: 162 Location: Christchurch, New Zealand
|
Posted: Tue 04 Nov 2008, 16:21 Post subject:
Detecting a significant difference between two photos |
|
KF6SNJ, I really don't know much more than I said yesterday. But last night I threw together a script to start testing for significant differences in photos. I'd like it to give a positive result if someone walks onto my property, but not if it's only a cat, or the sun going behind a cloud. I'll have to test that and it may take me a week or two to get around to it. In the meantime, here's my initial script. It uses Image Magick to compare two images for differences, returning an exit code of 0 if they match (or are reasonably similar), an error code of 2 if the user didn't supply two filenames, or an error code from 5 upwards depending on how different the photographs are. (I used a logarithmic scale to reduce a wide range of numbers down to something more sedate.) The log result is derived from the product of the mean of the alpha and colour channel values (which seemed to give a big number on different photos and a small number on similar ones), and values of 0 (identical photos) to 4 (roughly the same) are treated as having only minor differences, so the script returns 0 in for that range, or 5+ if the photos have more significant differences. I'm sure that this will need tuning, but it's a start. Now I need to get a Web camera and work out how long a USB connection I can run...
 |
Description |
|

Download |
Filename |
pixcompare.zip |
Filesize |
772 Bytes |
Downloaded |
959 Time(s) |
|
Back to top
|
|
 |
cklammer

Joined: 26 Apr 2008 Posts: 28 Location: Abu Dhabi, United Arab Emirates
|
Posted: Wed 28 Jan 2009, 01:35 Post subject:
libbz2 missing dependency in 4.1.2 |
|
Hi all,
When I installed IM on 4.1.2 I received a whole shitload of messages regarding a missing dependency: libbz2.so.1.0.
Turns out that I had a broken symlink with that name in /usr/lib.
Code: | find / -name 'libbz2*' -print | more 2>/dev/null |
<... SNIPPED a whole list of found libbz2's ...>
Code: | file /usr/lib/libbz2.so.1.0 | <... Got the message about the broken symlink to libbz2.so.1.0.0 >
I fixed it:
Code: | cd /usr/lib
rm libbz2.so.1.0
ln -s libbz2.so.1.0.4 libbz2.so.1.0 |
I really don't know if this was only my specific installation or a general problem with 4.1.2 - one of the Ueberusers can go and verify maybe, please.
Best of Luck,
cklammer
|
Back to top
|
|
 |
vtpup

Joined: 15 Oct 2008 Posts: 1208 Location: Republic of Vermont
|
Posted: Sun 20 Jun 2010, 20:27 Post subject:
|
|
Darn. The links are broken.
Does anybody else have this?
Thanks.
|
Back to top
|
|
 |
big_bass
Joined: 13 Aug 2007 Posts: 1742
|
Posted: Sun 20 Jun 2010, 20:43 Post subject:
|
|
imagemagick-6.4.3.10 I compiled it from source as a *.tgz
http://puppy2.org/slaxer/imagemagick-6.4.3.10-i486-2-slxr.tgz
havent had a need for pets in a long time
easy to convert it
Joe
|
Back to top
|
|
 |
aragon
Joined: 15 Oct 2007 Posts: 1698 Location: Germany
|
Posted: Mon 21 Jun 2010, 03:11 Post subject:
|
|
although not the latest, you could find a pet for imagemagick here:
http://www.murga-linux.com/puppy/viewtopic.php?t=45981
aragon
_________________ PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
|
Back to top
|
|
 |
Dingo

Joined: 11 Dec 2007 Posts: 1434 Location: somewhere at the end of rainbow...
|
Posted: Mon 21 Jun 2010, 07:03 Post subject:
|
|
latest image magick available here:
http://dokupuppylinux.co.cc/programs:image_converters
_________________ replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
|
Back to top
|
|
 |
mikeslr

Joined: 16 Jun 2008 Posts: 2345 Location: 500 seconds from Sol
|
Posted: Tue 21 Dec 2010, 18:24 Post subject:
Imagemagick & Xaralx sfs Subject description: Just trying to make life simple |
|
Hi all,
For those who prefer an sfs, Mu --I believe-- created a combined Imagemagic + Xaralx sfs. It is available here:
http://puppyisos.org/isos/2008-07-to-12/Puppy-4-K2.6.27.5/iso-01/Addons-by-MU/
Although it was written for the early 4 series Puppies, it can be easily converted for use with the later 4 and 5 series.
Don't panic when after loading it doesn't show up in your menu, nor can be located by pfind. Its actually a suite of applications you run from the console. If you're interested, you'll find the link to one of them, "convert" --probably all of them, but convert is the only one I've used-- in /usr/bin.
Imagemagick is an essential tool for creating a boot splash. Instructions are given here:
http://diddy.boot-land.net/grub4dos/files/splash.htm
For complete details regarding all the applications provided by Imagemagick, and how to use them, see:
http://www.imagemagick.org/script/index.php
mikesLr
|
Back to top
|
|
 |
|