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 Sat 22 Sep 2018, 11:05
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
imagemagick 6.6.6-6 and 6.6.6-7
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 3 [33 Posts]   Goto page: 1, 2, 3 Next
Author Message
Dingo


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

PostPosted: Sat 25 Dec 2010, 17:44    Post subject:  imagemagick 6.6.6-6 and 6.6.6-7
Subject description: for Puppy 3.01, 4.21, 4.3.1
 

Woof Woof! time to compile latest imagemagick:

since I'm a Puppy 3.01 lover, and I use use even frequently Puppy 4.2.1 and Puppy 4.3.1, I compiled for all three puppy versions

*imagemagick 6.6.6-6* for Puppy 3.01
*imagemagick 6.6.6-6* (STATIC BUILD with jpeg2000 support) for Puppy 3.01
*imagemagick 6.6.6-6* (docs and manual)
*imagemagick 6.6.6-6* for Puppy 4.2.1
*imagemagick 6.6.6-7* for Puppy 4.3.1 (with jpeg 2000 support)
- http://dokupuppylinux.co.cc/programs:imagemagick (download here)

apps in every package:

animate
compare
composite
conjure
convert
display
identify
import
mogrify
montage
stream

_________________
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux

Last edited by Dingo on Tue 28 Dec 2010, 21:21; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
vovchik


Joined: 23 Oct 2006
Posts: 1465
Location: Ukraine

PostPosted: Sat 25 Dec 2010, 18:37    Post subject: thanks  

Dear dingo,

Since I still use 3.01 on three machines, I, for one, am grateful.

Thanks, mate.

With kind regards,
vovchik
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 6730
Location: Earth

PostPosted: Sat 25 Dec 2010, 20:12    Post subject: I was unfamiliar with this until I noticed the thread.  

  • Does ImageMagick also includes an X Window graphical user interface for rendering and manipulating images? (I saw a reference to this on Wikipedia)
  • Would you recommend this for PUPs 5.1+?
  • Is there a PET on Ibiblio?
Thanks in advance

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile
Back to top
View user's profile Send private message 
Dingo


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

PostPosted: Sun 26 Dec 2010, 11:01    Post subject:  

*display* (type in console display and a GUI will be shown)

is utility from imagemagick with a GUI, but I recommend learning processing images via command-line. Once learned, you will use very fast and easily

animate
compare
composite
conjure
convert
display <----
identify
import
mogrify
montage
stream


I remember that Barry has already done in past an imagemagick package for Lupu (see his blog)

every Puppy series needs to have its proper imagemagick package, since it has differences in system and in libs

_________________
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 
muggins

Joined: 20 Jan 2006
Posts: 6749
Location: hobart

PostPosted: Sun 26 Dec 2010, 21:49    Post subject:  

I agree with Dingo, that commandline is best, but for some gui is preferred.

I don't know whether this Flimp pet will work with the Imagemagick version above...might be worth a try.

Converseen is a QT4 frontend, to Imagemagick, that provides image conversion & resizing.
Back to top
View user's profile Send private message 
miriam


Joined: 06 Dec 2006
Posts: 364
Location: Queensland, Australia

PostPosted: Mon 07 Mar 2011, 20:25    Post subject: imagemagick for Puppy 5.0.2 Lucid
Subject description: troubles, troubles, troubles, and a solution
 

I've just spent most of a couple of days trying to get ImageMagick working on Puppy 5.0.2 Lucid. In previous Puppies I had little or no difficulty compiling it, but for some weird reason I'm unable to in this Puppy. The compilation fails with
Code:
magick/libMagickCore.la: No such file or directory
when that file actually does exist. I tried many versions that compiled on previous Puppies, always with the same problem. One or two people have posted the same problem on the web, but with no solution as far as I can find.

So I turned to trying pre-compiled versions. These failed too. At first I got the same error no matter what I installed, but I eventually realised that they were installing in different places and the old problematic versions were not being replaced by the newer ones. So I tracked down all the files and deleted them by hand to get a clean slate.

Now I tried Dingo's ImageMagick-6.6.6-6-i486-static-puppy-301.pet because I figured static files would be less likely to have problems (don't know if my reasoning is correct here). Now when trying a simple convert test.png test.jpg it returned the error:
Code:
convert: error while loading shared libraries: libxcb-xlib.so.0: cannot open shared object file: No such file or directory
Ahhh! Smile Now we're getting somewhere. It seems that lib was left out of Puppy 5.0.2 Lucid. (That, of course is the eternal struggle with Puppy -- to leave out unnecessary stuff and include what is needed.) Anyway, I located it in an earlier pet libxcb-1.0.pet (from Puppy3 I think). I only copied the relevant lib over instead of installing the whole libxcb pet in case of bad repercussions. (I seem to recall something about incompatibilities between some of those libs and later Puppies.)

That ImageMagick now works fine on Puppy 5.0.2 Lucid. Yay!
I can finally get some work done!
Thank you Dingo, for providing them.

Oh, and for those who don't know the trick to selecting only some files from a pet, or checking to see what they contain before installing them, here's what I do:
First, I rename the pet, adding ".tgz" to the end of the name, because they are actually tar.gzip files.
Then I click to open in Puppy's archive extraction program (Xarchive in Puppy 5).
Next I select all and extract to the current location. It will give an error because of the way pets are wrapped (with checksum?). Ignore it.
Now you have a folder with all the files in it arranged in the layout they are intended to install on your computer and you can check to see if they are what you want or you can pick and choose from them.

_________________
A life! Cool! Where can I download one of those from?
Back to top
View user's profile Send private message Visit poster's website 
bleepingbeep


Joined: 29 Mar 2011
Posts: 15
Location: Tucson, Arizona

PostPosted: Wed 20 Apr 2011, 15:54    Post subject: Imagemagick for Lucid 5.20/5.25?  

Imagemagick has been a long-time favorite of mine. I'd love to see a PET for the newest versions of Lucid.
_________________
Lucid Puppy 5.2.5 frugal install on SD card in Eee PC (earliest model, given new life by Puppy)
Back to top
View user's profile Send private message 
DPUP5520

Joined: 16 Feb 2011
Posts: 813

PostPosted: Thu 21 Apr 2011, 17:25    Post subject:  

newest version compiled in 525 for lupu is in this thread

http://murga-linux.com/puppy/viewtopic.php?p=515725#515725

_________________
PupRescue 2.5
Puppy Crypt 528
Back to top
View user's profile Send private message 
mikeslr


Joined: 16 Jun 2008
Posts: 2625
Location: 500 seconds from Sol

PostPosted: Fri 12 Jan 2018, 15:15    Post subject: Does ImageMagick-continuous-x86_64.AppImage work?  

Hi All,

I stumbled on ImageMagick-continuous-x86_64.AppImage here: https://github.com/KurtPfeifle/ImageMagick/releases/tag/continuous.

Recalled reading good things about ImageMagick, but also that it was somewhat difficult to create a functional application: many dependencies.

ImageMagick is the umbrella name for several command-line tools used in image manipulation, one of which being the creation of animated gifs. But, I'm not a 'command-line guy', and currently don't have a project in mind which requires any of the tools offered. Moreover, as it employs python, I can't use ldd (list dynamic dependencies) to test whether all dependencies under Xenialpup64 have been met.

ImageMagick.AppImage should work in Xenialpup64, maybe Tahrpup64; other 64-bits less likely but possible. So, if you have an interest and a current project, please post back and let us know if this package will work OOTB, or its dependencies are easily satisfied.

mikesLr
Back to top
View user's profile Send private message 
slavvo67

Joined: 12 Oct 2012
Posts: 1570
Location: The other Mr. 305

PostPosted: Fri 12 Jan 2018, 17:06    Post subject:  

I have Imagemagick working in RUXerus64. I'll be happy to link the packages I used, if needed. Not sure which Puppies or Quirkies it will work in. Don't recall the version, though.
Back to top
View user's profile Send private message 
mikeslr


Joined: 16 Jun 2008
Posts: 2625
Location: 500 seconds from Sol

PostPosted: Fri 12 Jan 2018, 17:26    Post subject:  

slavvo67 wrote:
I have Imagemagick working in RUXerus64. I'll be happy to link the packages I used, if needed. Not sure which Puppies or Quirkies it will work in. Don't recall the version, though.


Hi slavvo67,

Please do. It was your prior post which started me looking. The concern expressed in my prior post was about python which, looking at imagemagick in ppm, appeared to be a dependency. And I don't understand python at all.

But with a working version under RUXerus64, my best guess is that whatever python modules required having been satisfied, any binary changes, adjustments --if at all necessary-- to get it functional under Xenialpup64 should be manageable even by someone at my level of incompetence. Smile

mikesLr
Back to top
View user's profile Send private message 
miriam


Joined: 06 Dec 2006
Posts: 364
Location: Queensland, Australia

PostPosted: Fri 12 Jan 2018, 17:37    Post subject:  

Thanks mikeslr. I use ImageMagick quite a lot (though not as much as Gimp). The commandline can make a lot of things much easier.

I haven't noticed ImageMagick use python, though the first thing I always install on Puppy is its devx package, which includes python, so maybe it uses it without me seeing it. It certainly doesn't require you to know any python.

For instance, a while ago I downloaded an old ebook from the Internet Archive (http://archive.org) which had been scanned as page images. I wanted to use OCR (optical character recognition -- get the computer to convert the images of text into plain text) on the whole thing, but the images needed to be cropped to remove the edges of the pages and needed to be enlarged to get the best results from the brilliant, opensource OCR program I was using -- tesseract. The simplest way to do this was to work out the best crop size and rescaling size interactively with Gimp then use ImageMagick to crop all the hundred or so images using a single command, and another ImageMagick command to enlarge all the images. This left me with results that converted using tesseract almost flawlessly.

ImageMagick can also do some things that are simple using it, but extremely difficult using Gimp, or any other usual image editing program, for example, it can add text to an image while simultaneously applying unusual effects to it. If you have ImageMagick installed, try this:
Code:
convert -size 400x150 xc:white -font "DejaVu-Sans-Oblique" -pointsize 72 -fill "#80c0ff" -annotate +70+70 'testing' -motion-blur 40x120+310 -background white -rotate 270 -wave 3x35 -rotate -270 -gravity center -crop 400x150+0+0 +repage +gravity -fill "#99eeff" -stroke "#cc0000" -annotate +70+70 'testing' testing.jpg
I know this looks kinda complicated, but it's actually made up of just a few very simple parts all mashed together.

You may have noticed that often the names of the font files are not necessarily the actual names of the fonts inside the files. ImageMagick can help you with this too by making a text list of the real names of all the fonts on your system:
Code:
convert -list font | grep "Font:" | cut -d" " -f4 >fonts-quicklist.txt


Another nice thing you can do with ImageMagick that I haven't seen anything else able to do (though it might be possible with netpbm) is that it can ripple through all the fonts on your system and create images of them.
Code:
function drawfont {
   convert -size 600x150 -gravity center -background white -font "$1" -fill black label:"$1" "$1.jpg"
}

for fontname in `convert -list font | grep "Font:" | cut -d" " -f4`
# skip .pcf fonts because they cause an error
do
   case "$fontname"
   in
      "Courier-Bold")
         echo "----> skipping $fontname !"
         ;;
      "Courier-Oblique")
         echo "----> skipping $fontname !"
         ;;
      "Courier-Regular")
         echo "----> skipping $fontname !"
         ;;
      "cursor-Regular")
         echo "----> skipping $fontname !"
         ;;
      "Fixed-Bold")
         echo "----> skipping $fontname !"
         ;;
      "Fixed-Regular")
         echo "----> skipping $fontname !"
         ;;
      "Helvetica-Bold")
         echo "----> skipping $fontname !"
         ;;
      "Helvetica-Regular")
         echo "----> skipping $fontname !"
         ;;
      *)
         echo "drawing $fontname..."
         drawfont "$fontname"
         ;;
   esac

done


But as you might imagine ImageMagick can be used for hundreds of things. It is most useful when working on many files, to remove repetitive actions, but has some surprisingly powerful commands that can be a great help even in single-instance use.

_________________
A life! Cool! Where can I download one of those from?
Back to top
View user's profile Send private message Visit poster's website 
slavvo67

Joined: 12 Oct 2012
Posts: 1570
Location: The other Mr. 305

PostPosted: Fri 12 Jan 2018, 17:46    Post subject:  

Ok. Well, just in case, maybe I'll upload the Python modules, as well.

BTW, I have a script (not GUI, yet) that I call PDFchuck (never really meant to share) which basically does certain imagemagick functions such as brighten contrast, enlarge, change file type. I tied in a file converter using the backend of ABI Word (I think). It's definitely a messy little script but I'll share if you're interested.

Eventually, I may take that script and make it user friendly by putting YAD on the front end.

I'll post a link here, this evening. Working on a new RU Xerus so the packages will be in my reach tonight.
Back to top
View user's profile Send private message 
miriam


Joined: 06 Dec 2006
Posts: 364
Location: Queensland, Australia

PostPosted: Fri 12 Jan 2018, 18:02    Post subject:  

slavvo67, I'm very interested in that script. Very Happy
_________________
A life! Cool! Where can I download one of those from?
Back to top
View user's profile Send private message Visit poster's website 
slavvo67

Joined: 12 Oct 2012
Posts: 1570
Location: The other Mr. 305

PostPosted: Fri 12 Jan 2018, 21:38    Post subject:  

Miriam:

It's a hot mess but I'll include it in the Imagemagick link shortly....


Slavvo67
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 3 [33 Posts]   Goto page: 1, 2, 3 Next
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.3401s ][ Queries: 12 (0.0439s) ][ GZIP on ]