Search found 20 matches

by burt46
2017-02-21T13:30:37-07:00
Forum: IMagick
Topic: IMagick to generate GIF and skip every n image
Replies: 7
Views: 10537

Re: IMagick to generate GIF and skip every n image

Perfect. Many thanks for the help.
by burt46
2017-02-21T13:22:18-07:00
Forum: IMagick
Topic: IMagick to generate GIF and skip every n image
Replies: 7
Views: 10537

Re: IMagick to generate GIF and skip every n image

Thanks for the feedback. I thought about this but it would delete my master images that i need for other scripts.

I cant change the IM version as it is controlled by my hosting company
by burt46
2017-02-21T13:10:09-07:00
Forum: IMagick
Topic: IMagick to generate GIF and skip every n image
Replies: 7
Views: 10537

Re: IMagick to generate GIF and skip every n image

Thanks for the reply. I guess this is a separate feature to IM to generate the txt file? Perhaps a cron job can do this too.

Linux, IM version 6.6.3
by burt46
2017-02-21T11:52:03-07:00
Forum: IMagick
Topic: IMagick to generate GIF and skip every n image
Replies: 7
Views: 10537

IMagick to generate GIF and skip every n image

Hi, I have a IMagick PHP code that i use from a cron job to generate GIF files from folders of images. The problem is that the gifs are around 3 - 10mb in size and take too long to download. Is it possible to generate a gif but say every n image in a folder? I have seen this is possible to extract f...
by burt46
2016-08-24T20:10:39-07:00
Forum: Users
Topic: Convert with fuzz not ideal. Any better alternative to use underlying feature as ROI?
Replies: 16
Views: 5716

Re: Convert with fuzz not ideal. Any better alternative to use underlying feature as ROI?

Thanks for the feedback, i have just fixed it. It is actually the brackets. In windows its necessary to put quote marks around each bracket "(" and ")" or it wont work. So my final code was convert "!infile!" "!infile2!" "(" -clone 0 -blur 0x0.2 -statistic minimum 3x3 -threshold 30%% -negate -morpho...
by burt46
2016-08-24T19:17:35-07:00
Forum: Users
Topic: Convert with fuzz not ideal. Any better alternative to use underlying feature as ROI?
Replies: 16
Views: 5716

Re: Convert with fuzz not ideal. Any better alternative to use underlying feature as ROI?

Ok this works, but not inside a windows batch file. I think its something to do with the brackets. Do i need to change the syntax?

Thanks for the help.
by burt46
2016-08-24T17:46:46-07:00
Forum: Users
Topic: Convert with fuzz not ideal. Any better alternative to use underlying feature as ROI?
Replies: 16
Views: 5716

Re: Convert with fuzz not ideal. Any better alternative to use underlying feature as ROI?

Ok, this is my last question on this. How can i apply your last code, but to only show the 2.png result with a transparente background (i.e. do not have the 1.png underneath). This is the code that works but i dont need the underlying aerial image. convert 1.png 2.png \ \( -clone 0 -blur 0x0.6 -stat...
by burt46
2016-08-23T15:02:29-07:00
Forum: Users
Topic: Convert with fuzz not ideal. Any better alternative to use underlying feature as ROI?
Replies: 16
Views: 5716

Re: Convert with fuzz not ideal. Any better alternative to use underlying feature as ROI?

Thanks for the input. The last version works the best, particularly when combined with the orignal -transparent green method. convert a1.png a2.png ( -clone 0 -blur 0x0.6 -statistic minimum 3x3 -threshold 20% -negate -morphology open octagon:1 -morphology close octagon:3 ) -compose over -composite a...
by burt46
2016-08-22T16:51:57-07:00
Forum: Users
Topic: Convert with fuzz not ideal. Any better alternative to use underlying feature as ROI?
Replies: 16
Views: 5716

Re: Convert with fuzz not ideal. Any better alternative to use underlying feature as ROI?

I tried your final code for other areas and it did not pick up all the darker areas. If I increase the fuzz it picks up areas outside the riverbed. However, if i use my original code modified to generate 2a.png (the -transparent green), i can see some of these extra areas. Therefore, the final image...
by burt46
2016-08-22T16:21:58-07:00
Forum: Users
Topic: Convert with fuzz not ideal. Any better alternative to use underlying feature as ROI?
Replies: 16
Views: 5716

Re: Convert with fuzz not ideal. Any better alternative to use underlying feature as ROI?

I should have picked up that modification, i didnt realise it could be done inline. I tried to modify your last line so i can composite the final 1_2.png "over" with my original 2a.png (i can make sure it captures all areas this way) but it wont recognise the general -composite concept -compose over...
by burt46
2016-08-22T15:43:32-07:00
Forum: Users
Topic: Convert with fuzz not ideal. Any better alternative to use underlying feature as ROI?
Replies: 16
Views: 5716

Re: Convert with fuzz not ideal. Any better alternative to use underlying feature as ROI?

Ok, i get the same results as you (i am using ImageMagick-6.9.4-Q16 on Windows 10). However, the red should be replaced with the image in 2.png as an overlay. How do i extract the red and trim the 2.png, then composite?

Thanks for the reply and help
by burt46
2016-08-22T14:07:15-07:00
Forum: Users
Topic: Convert with fuzz not ideal. Any better alternative to use underlying feature as ROI?
Replies: 16
Views: 5716

Convert with fuzz not ideal. Any better alternative to use underlying feature as ROI?

I have aerial images of various river beds that I have to overlay an image to identify the presence of water. I am 80% there to get the solution I need but I think my way of doing this is not the best. What I would like to do is extract the darker area of the river bed in the aerial image (1.png) th...
by burt46
2016-06-26T14:44:55-07:00
Forum: Users
Topic: Image Sequence Equalize
Replies: 9
Views: 4210

Re: Image Sequence Equalize

Thanks for the tips, i did look at Snibgos bat files but to be honest it is far too advanced for me. I cant even see where to put in the variables to process my images.
by burt46
2016-06-26T14:12:11-07:00
Forum: Users
Topic: Image Sequence Equalize
Replies: 9
Views: 4210

Re: Image Sequence Equalize

Thanks for the tips. I like the append function but could this not be done in a similar way with mogrify through a loop?
by burt46
2016-06-26T12:59:26-07:00
Forum: Users
Topic: Image Sequence Equalize
Replies: 9
Views: 4210

Re: Image Sequence Equalize

Thanks for the reply.

I am using Windows 10 pro and ImageMagick 7.0.2-8. I normally use .bat files for my programming and can run loops no problem.