Search found 6 matches

by godfried76
2019-06-13T11:15:42-07:00
Forum: Users
Topic: Cut image in horizontal slices
Replies: 9
Views: 8413

Re: Cut image in horizontal slices

AMAZING!! You are THE BEST!! Thank you so much!! If anyone else is reading this, I could just add I made some very minor adaptations to the script, indicated in bold. #!/bin/bash cd ~ cd Afbeeldingen infile=$1 inname=`convert "$infile" -format "%t" info:` WxH=`convert "$infile" -format "%wx%h" info ...
by godfried76
2019-06-12T14:31:14-07:00
Forum: Users
Topic: Cut image in horizontal slices
Replies: 9
Views: 8413

Re: Cut image in horizontal slices

Thanks for your advice, fmw42!

How would this work? I'm totally new to ImageMagick (and to bash scripting for that matter ;) ) so sorry if this is a trivial question...
by godfried76
2019-06-12T14:28:18-07:00
Forum: Users
Topic: horizontal splitting by white line
Replies: 5
Views: 6945

Re: horizontal splitting by white line

This produces image files with the slices, but they don't seem to come out in the right order (top-down ~ 01..99).

Could this be fixed in any way?
by godfried76
2019-06-12T12:59:47-07:00
Forum: Users
Topic: Cut image in horizontal slices
Replies: 9
Views: 8413

Re: Cut image in horizontal slices

In the end, I couldn't get the bat-scripts to work. Always error messages. So I installed a linux virtual machine and used this script, which I found on the forum. It NEARLY does what I want! #!/bin/bash cd ~ cd Afbeeldingen WxH=`convert 043-lg.jpg -format "%wx%h" info:` cropArr=(`convert 043-lg.jpg ...
by godfried76
2019-06-12T04:40:15-07:00
Forum: Users
Topic: Cut image in horizontal slices
Replies: 9
Views: 8413

Re: Cut image in horizontal slices

Windows.

Impressive collection of BAT-files you have there. I'll take a look. Thanks!
by godfried76
2019-06-12T03:41:40-07:00
Forum: Users
Topic: Cut image in horizontal slices
Replies: 9
Views: 8413

Cut image in horizontal slices

Hi, I'm new to ImageMagick and hope someone could help me. I'm looking for a command / script which could automatically split an image with music score into smaller image files with the individual bars. So somehow, the programme should detect horizontal bars with all white pixels. Those are the ...