Search found 8 matches

by grouchysmurf
2011-06-17T01:32:19-07:00
Forum: Users
Topic: Rounded 3d borders with color transition
Replies: 14
Views: 23797

Re: Rounded 3d borders with color transition

Sure thing, here's the script: Input: there are >200 images, each 96 pixels wide and 96 pixel high. They come in different colors; different colors represent different nationalities. In the game I design a board for there are, let me count... say, six nationalities. Below is a sample counter: http ...
by grouchysmurf
2011-06-16T14:41:57-07:00
Forum: Users
Topic: Rounded 3d borders with color transition
Replies: 14
Views: 23797

Re: Rounded 3d borders with color transition

This is the FINAL version of counters I decided to use:

Image

Let me just say ImageMagick ROCKS. I would never be able to add the fancy frames if it wasn't for IM. Thank you!
by grouchysmurf
2011-06-16T01:07:01-07:00
Forum: Users
Topic: Rounded 3d borders with color transition
Replies: 14
Views: 23797

Re: Rounded 3d borders with color transition

I like the latter better ;-) The artifacts are caused - of which I am perfectly aware - by antialiasing.I don't want to turn it off for, when it's turned off, the results are really odd-looking. Below are the masks are use for clipping off the counter corners. The left one is the older version. http ...
by grouchysmurf
2011-06-15T08:27:07-07:00
Forum: Users
Topic: Rounded 3d borders with color transition
Replies: 14
Views: 23797

Re: Rounded 3d borders with color transition

One minor correction. The roundrectangle produces some semi-transparent pixels which themselves are not visible but when projected onto a opaque counter they create ugly lines that interfere with clean 3d look. A -threshold helps: Instead of C:\IM\convert %%~dpnxa -border 3 -alpha transparent ...
by grouchysmurf
2011-06-13T22:42:35-07:00
Forum: Users
Topic: Rounded 3d borders with color transition
Replies: 14
Views: 23797

Re: Rounded 3d borders with color transition

Yeah, I know that. I commented the lines that invoked the morphology but it still wouldn't work.

Anyways, I am happy with the result as it is and even more for I made it by myself (well, almost, I recycled and compiled scripts I found in the internet).
by grouchysmurf
2011-06-13T15:13:43-07:00
Forum: Users
Topic: Rounded 3d borders with color transition
Replies: 14
Views: 23797

Re: Rounded 3d borders with color transition

Thank you. It seems, however, that neither your script nor new version of IM work on my outdated Fedora 11 (I really need to upgrade it). So, I started to tinker with the script I posted earlier. Here is the result (it works!): SETLOCAL ENABLEDELAYEDEXPANSION @echo off for %%a in (path_to_pngs\*.png ...
by grouchysmurf
2011-06-13T09:01:44-07:00
Forum: Users
Topic: Rounded 3d borders with color transition
Replies: 14
Views: 23797

Re: Rounded 3d borders with color transition

This one below is not perfect and needs cleaning but so far it's best what I was able to come up with: convert -size 100x100 canvas:red canvas.png convert canvas.png -border 3 -alpha transparent -background none -fill white -stroke none -strokewidth 0 -draw "roundrectangle 1,1 104,104 15,15" rounded ...
by grouchysmurf
2011-06-13T01:26:26-07:00
Forum: Users
Topic: Rounded 3d borders with color transition
Replies: 14
Views: 23797

Rounded 3d borders with color transition

I am new to this site and ImageMagick too, so let me first say 'Hello everybody'. I am long time GIMP user; for batch jobs I prefer Picture Window Pro. Currently, I am working on a virtual board for a wargame (you know, map of hexes, counters, dice, tables and so on). This requires a significant ...