Files / Configuration to just do Convert and Mogrify

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: IM on a USB stick

Post by anthony »

I am not certain how you woul ddo this for windows, but I am certain it would be similar.

Under UNIX I can set up something like this.

You would configure and install Im into a particular location
for example....

Code: Select all

rm config.status config.log
nice ./configure --prefix=$HOME/apps/im --disable-static --with-modules --without-perl --without-magick-plus-plus 
make clean
make all
rm -r ~/apps/im; make install
However to run from this location, especially if a system install of IM is also present I would need to ensure that the binaries (PATH environment variable) and libraries (LD_LIBRARY_PATH under LINUX,
DYLD_LIBRARY_PATH for MacOSX) are also set.

I have not done so, but there is a script in the source area called "magick.sh" which is designed to allow you to run an IM command from the built but un-installed binaries for testing purposes. I use it all the time during testing of new additions to IM. This script could be modified to make a 'all-in-one' directory install, work very well.

How big it is? Depends on the number of coders and extra libraries needed. You can always delete all the coders for image formats you don't need, but keep them safe to put back if you later find you do need that coder. You can also remove the french (or english, or both) error config files, and cut back on the color specification files too if you need to.

Will it fit on a USB? not sure.
However if you USB stick mount moves around you may also have other problems, which would make the launch script essential.

Perhaps someone would like to expand on the above and work out a guide to publish here or for on the website.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply