Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How automate crops of an image
#18
(08-13-2020, 12:46 PM)rich2005 Wrote: Of course for Windows you can download an installation file from the IM website.

I have been looking at a Windows .bat and a bit stuck on adding some leading zeros to (easily) make the images with consecutive numbers. Not impossible to get around without but tedious when loading images.

For linux and IM7 it looks like this: https://youtu.be/k0LiyMPh_gM  1 minute 20 seconds worth Wink

Hopefully you will get a Gimp script / plugin working and not require IM.

That was very helpful.

I was just about to post ,but it looks like all I needed to add to the script was:

magick convert wide.png -crop 750x100+$i+0 +repage "%02d"$i.png

  I have been trying many different options, but giving in again.  

It looks like I am missing some delegates.  missing: (djvu fftw fontconfig jbig wmf x) compared to what you had in the youtube video.

I have Version: ImageMagick 7.0.10-25 Q16 x64 2020-08-01

Here is what I did:
I installed cygwin on win10
inside Cygwin:
$wget http://ftp.ftp.imagemagick.org/pub/Image...win.tar.gz
$tar XVZF ImageMagick-i686-pc-cygwin.tar.gz
$export MAGICK_HOME="$HOME/ImageMagick-7.0.10"
$export MAGICK_HOME="$HOME/ImageMagick-6.8.8"   (as this is the directory it wrote to)
$export PATH="$MAGICK_HOME/bin:$PATH
>LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}$MAGICK_HOME/lib
$export LD_LIBRARY_PATH

I can see the instructions to download and install the delegates.

https://www.imagemagick.org/download/delegates/
but the instructions say to use the commands:
./configure

make
make install
Which cygwin does not have.
Reply


Messages In This Thread
How automate crops of an image - by stevem0 - 08-12-2020, 01:24 AM
RE: How automate crops of an image - by Ofnuts - 08-12-2020, 08:35 AM
RE: How automate crops of an image - by stevem0 - 08-12-2020, 02:20 PM
RE: How automate crops of an image - by Kevin - 08-12-2020, 02:47 PM
RE: How automate crops of an image - by denzjos - 08-12-2020, 02:49 PM
RE: How automate crops of an image - by stevem0 - 08-12-2020, 03:58 PM
RE: How automate crops of an image - by Ofnuts - 08-12-2020, 04:11 PM
RE: How automate crops of an image - by stevem0 - 08-12-2020, 03:23 PM
RE: How automate crops of an image - by Ofnuts - 08-12-2020, 03:46 PM
RE: How automate crops of an image - by stevem0 - 08-12-2020, 04:48 PM
RE: How automate crops of an image - by rich2005 - 08-12-2020, 06:24 PM
RE: How automate crops of an image - by stevem0 - 08-13-2020, 04:08 AM
RE: How automate crops of an image - by Ofnuts - 08-13-2020, 06:49 AM
RE: How automate crops of an image - by stevem0 - 08-13-2020, 11:51 AM
RE: How automate crops of an image - by stevem0 - 08-12-2020, 08:05 PM
RE: How automate crops of an image - by rich2005 - 08-13-2020, 07:04 AM
RE: How automate crops of an image - by rich2005 - 08-13-2020, 12:46 PM
RE: How automate crops of an image - by stevem0 - 08-13-2020, 08:58 PM

Forum Jump: