Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 01 Sep 2014, 22:41
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
Image Magick
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [12 Posts]  
Author Message
polle

Joined: 27 Jun 2007
Posts: 11

PostPosted: 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
View user's profile Send private message 
jeffrey

Joined: 16 Jan 2006
Posts: 162
Location: Christchurch, New Zealand

PostPosted: 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
View user's profile Send private message 
KF6SNJ

Joined: 19 Jun 2007
Posts: 698
Location: Distressed States of Amerika

PostPosted: 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
View user's profile Send private message Visit poster's website Yahoo Messenger 
ttuuxxx


Joined: 05 May 2007
Posts: 10747
Location: Ontario Canada,Sydney Australia

PostPosted: Tue 04 Nov 2008, 03:32    Post subject: Re: Image Magick  

polle wrote:
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


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 Smile

Back to top
View user's profile Send private message Visit poster's website 
amigo

Joined: 02 Apr 2007
Posts: 2238

PostPosted: 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
View user's profile Send private message 
jeffrey

Joined: 16 Jan 2006
Posts: 162
Location: Christchurch, New Zealand

PostPosted: 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...
pixcompare.zip
Description 
zip

 Download 
Filename  pixcompare.zip 
Filesize  772 Bytes 
Downloaded  771 Time(s) 
Back to top
View user's profile Send private message 
cklammer


Joined: 26 Apr 2008
Posts: 28
Location: Abu Dhabi, United Arab Emirates

PostPosted: 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
View user's profile Send private message 
vtpup


Joined: 15 Oct 2008
Posts: 1077
Location: Republic of Vermont

PostPosted: Sun 20 Jun 2010, 20:27    Post subject:  

Darn. The links are broken.

Does anybody else have this?

Thanks.
Back to top
View user's profile Send private message 
big_bass

Joined: 13 Aug 2007
Posts: 1747

PostPosted: 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

_________________
debian wheezy ,linux mint, slackware I use them all and they all have good points
Mint would be best for general users though
Back to top
View user's profile Send private message 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: 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
View user's profile Send private message 
Dingo


Joined: 11 Dec 2007
Posts: 1415
Location: somewhere at the end of rainbow...

PostPosted: 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
View user's profile Send private message Visit poster's website 
mikeslr


Joined: 16 Jun 2008
Posts: 777
Location: Union New Jersey USA

PostPosted: 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
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [12 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0869s ][ Queries: 13 (0.0120s) ][ GZIP on ]