Search found 10 matches
- 2019-04-19T11:40:11-07:00
- Forum: Users
- Topic: scripting / processing multiple images
- Replies: 9
- Views: 7686
Re: scripting / processing multiple images
thanks for that link. I think I'll probably tidy up my code (e.g. make it handle spaces in filenames, quoting etc..) and see if I can propose it as a patch/pull request. It's not like full on scripting but it does address some of the perf issues that the doc you linked mentions, and which are also ...
- 2019-04-19T10:35:07-07:00
- Forum: Users
- Topic: scripting / processing multiple images
- Replies: 9
- Views: 7686
Re: scripting / processing multiple images
you sir have the patience of a saint - I'd just munged my original @ file and forgotten the -write part.
It did at least complete this time but took about 5 mins - so still doesn't help when there are 1000's of files.
thanks again
Rob
It did at least complete this time but took about 5 mins - so still doesn't help when there are 1000's of files.
thanks again
Rob
- 2019-04-19T09:29:58-07:00
- Forum: Users
- Topic: scripting / processing multiple images
- Replies: 9
- Views: 7686
Re: scripting / processing multiple images
right then I'm back to needing my @list.txt method unless I'm doing something wrong. My modified code that reads list.txt and feeds each line as argc,argv to magick (convert) takes 22 secs on windows to process 1300 files. using -script has so far nearly nuked my machine, running out of swap ...
- 2019-04-19T09:11:23-07:00
- Forum: Users
- Topic: scripting / processing multiple images
- Replies: 9
- Views: 7686
Re: scripting / processing multiple images
ok I just got back and tried it and no files were deleted as you say.
I suppose now I should generate both my @list and a -script list and see which is faster
thanks for all the help
Rob
I suppose now I should generate both my @list and a -script list and see which is faster
thanks for all the help
Rob
- 2019-04-19T06:04:22-07:00
- Forum: Users
- Topic: scripting / processing multiple images
- Replies: 9
- Views: 7686
Re: scripting / processing multiple images
Thanks
I'm afk but intrigued to know which file +delete will delete - I don't want to delete either my source file nor the file I've written after the resize operation
cheers
Rob
I'm afk but intrigued to know which file +delete will delete - I don't want to delete either my source file nor the file I've written after the resize operation
cheers
Rob
- 2019-04-19T00:19:03-07:00
- Forum: Users
- Topic: scripting / processing multiple images
- Replies: 9
- Views: 7686
scripting / processing multiple images
Hi I have 1000's of images to convert. I already posted about this here (https://imagemagick.org/discourse-server/viewtopic.php?f=2&t=35870#p165168), and then found that im has a -script option. I can't seem to find much help on that, nor even search for that term in this forum. I've experimented ...
- 2019-04-19T00:06:04-07:00
- Forum: Developers
- Topic: batch processing / response file support
- Replies: 6
- Views: 12893
Re: batch processing / response file support
ugh - it's early but I can't seem to find anything on the forums relating to the -script option. Searching for "-script" returns no hits - not even my post above, and no amount of shell-escaping or quoting seems to help. I've made a small file with what I think should work, but it doesn't do what I ...
- 2019-04-18T23:35:59-07:00
- Forum: Developers
- Topic: batch processing / response file support
- Replies: 6
- Views: 12893
Re: batch processing / response file support
aha - I've just noticed that magick has a -script option, which would appear to be what I need after all
thanks
Rob
thanks
Rob
- 2019-04-18T22:48:58-07:00
- Forum: Developers
- Topic: batch processing / response file support
- Replies: 6
- Views: 12893
Re: batch processing / response file support
Thanks for the replies re syntax - I'll fix that! From what I can tell IM scripts don't really address my issue - they are shell/bat/perl/etc.. scripts that still end up invoking magick once per file - unless I'm missing something. On windows there is a command line length limit of 8k chars. My test ...
- 2019-04-18T15:15:53-07:00
- Forum: Developers
- Topic: batch processing / response file support
- Replies: 6
- Views: 12893
batch processing / response file support
Hi We use imagemagick to process 1000's of images as part of our build process. As a test I've timed processing a subset of these files - around 1000. Invoking convert for every file takes around 3 minutes, where each operation is like this convert -resize 64x64! Character_packs.bmp -type truecolor ...