Ah! Right, that variables aswell.
Thanks that worked !
Search found 158 matches
- 2017-03-09T23:02:02-07:00
- Forum: Users
- Topic: Rotate image 4 and append to original to create "complete set"
- Replies: 9
- Views: 7351
- 2017-03-09T13:59:14-07:00
- Forum: Users
- Topic: Rotate image 4 and append to original to create "complete set"
- Replies: 9
- Views: 7351
Re: Rotate image 4 and append to original to create "complete set"
Nice ! Tried this one, out of the various suggestions: convert quarter.png ^ +duplicate -distort SRT "%[fx:t?-90:0]" +append ^ +duplicate -distort SRT "%[fx:t?0:180]" -append whole.png and it works like a charm :) Only one thing is strange: When I try and modify it like this (as ...
- 2017-03-09T11:41:59-07:00
- Forum: Users
- Topic: Rotate image 4 and append to original to create "complete set"
- Replies: 9
- Views: 7351
Rotate image 4 and append to original to create "complete set"
So, as they say "a picture says more than a thousand words": I want to go from this: https://picload.org/image/rllrprgw/quarter.png to this: https://picload.org/image/rllrprgi/full.png However I can't think of a way to rotate and append (while exanding the canvas without further instructin...
- 2017-02-10T00:54:42-07:00
- Forum: Users
- Topic: Subtracting 100% match only?
- Replies: 3
- Views: 3517
Re: Subtracting 100% match only?
Version in sig. For now this is what I came up with... :? @echo off mkdir BG | move BG.png BG for %%x in (*png) do convert %%x BG/BG.png -compose difference -composite -threshold 0 -separate -evaluate-sequence Add mask.png convert mask.png -alpha remove mask.png convert mask.png -transparent "#...
- 2017-02-09T15:17:26-07:00
- Forum: Users
- Topic: Subtracting 100% match only?
- Replies: 3
- Views: 3517
Subtracting 100% match only?
So, Let's assume I want to "subtract" this image: https://picload.org/image/roicraor/bg.png from this: https://picload.org/image/roicraai/image_with_bg.png Thereby removing the Logo in the back completly, without harming the image in the foreground. Is this possible by using imagemagick (p...
- 2017-02-08T16:02:21-07:00
- Forum: Users
- Topic: Replace txt file hex colors in current image
- Replies: 4
- Views: 4388
Re: Replace txt file hex colors in current image
Ok, so the command like that: for /F %%c in (hex.txt) do for %%x in (*png) do convert %%x -fill "#000000" -opaque "%%c" %%x works as advertised. Further question (this might get messy): If I now would want a second text file "hexignore.txt" in the same dir, and have ima...
- 2017-02-08T03:30:22-07:00
- Forum: Users
- Topic: Replace txt file hex colors in current image
- Replies: 4
- Views: 4388
Replace txt file hex colors in current image
So, I'm trying the following: 1.) have a hex.txt with hex values 2.) have a png file where I want to remove said hex (by replacing it w. #000000) My command looks like this: @echo off DEL heximage* DEL newimage* DEL hex.txt cls SET /P heximage=Drag and drop that contains the hex colors to remove: co...
- 2017-01-28T16:14:47-07:00
- Forum: Users
- Topic: Turning Still image into animation (frames) Roll ?
- Replies: 9
- Views: 8683
Re: Turning Still image into animation (frames) ?
Has been a long time, but at long last I found an approch that works in windows: @echo off echo "Press Enter to roll image into rolled dir" echo "Exit Script to stop processing" mkdir rolled :START set SAVESTAMP=%DATE:/=-%@%TIME::=-% set SAVESTAMP=%SAVESTAMP: =% set SAVESTAMP=%SA...
- 2016-02-14T03:48:48-07:00
- Forum: Users
- Topic: Make an image transparent
- Replies: 10
- Views: 26572
Re: Make an image transparent
Perfect
- 2016-02-14T02:02:51-07:00
- Forum: Users
- Topic: Make an image transparent
- Replies: 10
- Views: 26572
Re: Make an image transparent
try convert image.png -alpha set -channel a -evaluate set 65% +channel newimage.png see http://www.imagemagick.org/Usage/transform/#evaluate_set what IM version, platform and OS? can you post a link to your image(s)? It works, but there is one problem. It replaces the "already present transper...
- 2016-02-09T12:53:44-07:00
- Forum: Developers
- Topic: New Android ImageMagick port with all CPU's architectures
- Replies: 1
- Views: 14488
Re: New Android ImageMagick port with all CPU's architectures
Any chane a complete Android newb can gwt this to work aswell ?
The only knowledge (after 7yrs Apple fix) that I currently have, is how to use shell scripts.
However since I miss having Imagemagick on my mobile (ios had it), i'd like to get it to work again.
Grateful for any pointers.
The only knowledge (after 7yrs Apple fix) that I currently have, is how to use shell scripts.
However since I miss having Imagemagick on my mobile (ios had it), i'd like to get it to work again.
Grateful for any pointers.
- 2016-01-31T15:19:29-07:00
- Forum: Users
- Topic: [Solved ]Rotating image.. won't stay centered
- Replies: 9
- Views: 7865
Re: [Solved ]Rotating image.. won't stay centered
Perfect ! Thanks.
Honestly this should be written into the imgmagck examples page.
(If it isn't already)
Honestly this should be written into the imgmagck examples page.
(If it isn't already)
- 2016-01-31T12:03:32-07:00
- Forum: Users
- Topic: [Solved ]Rotating image.. won't stay centered
- Replies: 9
- Views: 7865
Re: Rotating image.. won't stay centered
Ok, so this: move *.png source.png for /L %%i in (0,10,90) do convert source.png -trim -rotate %%i -gravity Center -extent 1000x1000 +repage r_fr_%%i.png for %%x in (*png) do convert %%x -gravity Center -extent 480x800+0+0 +repage %%x is pretty much perfect in execution ! The only question I now hav...
- 2016-01-31T10:09:09-07:00
- Forum: Users
- Topic: [Solved ]Rotating image.. won't stay centered
- Replies: 9
- Views: 7865
Re: Rotating image.. won't stay centered
Hmm...
using "-extent" instead of "-crop" yields me the same results.... the image spirals downwards...
for %%x in (*png) do mogrify -rotate 15 -background transparent %%x
for %%x in (*png) do convert %%x -gravity Center -extent 480x800+0+0 +repage %%x
using "-extent" instead of "-crop" yields me the same results.... the image spirals downwards...
for %%x in (*png) do mogrify -rotate 15 -background transparent %%x
for %%x in (*png) do convert %%x -gravity Center -extent 480x800+0+0 +repage %%x
- 2016-01-31T09:25:24-07:00
- Forum: Users
- Topic: [Solved ]Rotating image.. won't stay centered
- Replies: 9
- Views: 7865
Re: Rotating image.. won't stay centered
Hmm... ok, this looks good: for %%x in (*png) do mogrify -rotate 15 -background transparent %%x for %%x in (*png) do convert %%x -gravity Center -crop 480x800-96-49 +repage %%x Too bad I have to do the math myself... wish imagemagick did this auto"magickally". Can be tiresome if too many f...