Search found 20199 matches

by fmw42
2017-02-19T21:10:13-07:00
Forum: Users
Topic: How to get max saturation from image sequence
Replies: 6
Views: 54

Re: How to get max saturation from image sequence

You could try getting the max saturation and max brightness from colorspace HSL and combine that with any of your image's hue channel. convert *.jpg -colorspace HSB -channel g -separate -evaluate-sequence max maxsat.png convert *.jpg -colorspace HSB -channel b -separate -evaluate-sequence max maxbri...
by fmw42
2017-02-19T21:02:51-07:00
Forum: Users
Topic: text to image problem
Replies: 12
Views: 112

Re: text to image problem

Just a note about Imagemagick syntax. It is not like the usual Unix command syntax and IM 7 will be less forgiving that IM 6. But typically for raster images, you read the input image right after convert, then any settings that are needed for the subsequent operator(s) and then the output image. Ord...
by fmw42
2017-02-19T18:52:56-07:00
Forum: Users
Topic: How to get max saturation from image sequence
Replies: 6
Views: 54

Re: How to get max saturation from image sequence

Thanks, snibgo. It is clearly an legacy command and I have never used it in all my years of using IM. But it says: return the maximum intensity of an image sequence. This would make me believe it was a synonym for -evaluate max. I would suggest the OP use whatever is the proper current option that i...
by fmw42
2017-02-19T18:37:46-07:00
Forum: Users
Topic: text to image problem
Replies: 12
Views: 112

Re: text to image problem

If I specify PNG8:, your file size is reduced further. convert -size 300x300 -fill black -font /Library/fonts/GC2004D_.TTF label:@boardstring.txt -fuzz 40% -trim +repage out.png convert out.png -resize 288x288! PNG8:out2.png identify out.png out2.png out.png PNG 280x288 280x288+0+0 8-bit sRGB 256c 1...
by fmw42
2017-02-19T18:35:07-07:00
Forum: Users
Topic: text to image problem
Replies: 12
Views: 112

Re: text to image problem

If I check your font glyph, it is not square. The following shows: Metrics: text: 1; width: 38; height: 36 convert -debug annotate -pointsize 36 -font /Library/fonts/GC2004D_.TTF label:1 tmp.png 2017-02-19T17:34:00-08:00 0:00.010 0.000u 6.9.7 Annotate convert[88365]: annotate.c/RenderFreetype/1468/A...
by fmw42
2017-02-19T18:24:33-07:00
Forum: Users
Topic: How to get max saturation from image sequence
Replies: 6
Views: 54

Re: How to get max saturation from image sequence

I do not see any command -maximum for IM 6 or 7 at http://www.imagemagick.org/script/command-line-options.php. Please, always provide your IM version and platform when asking questions, since syntax may differ. Also provide your exact command line and if possible your images. See the top-most post i...
by fmw42
2017-02-19T18:22:52-07:00
Forum: Users
Topic: text to image problem
Replies: 12
Views: 112

Re: text to image problem

Your font glyph may not be perfectly square. Try the font I used above and see if you still have trouble. My example was using Mac OSX SnowLeopard with IM 6.9.7.8. You have your -trim in the wrong place. it should be just after label: and before +repage. See if that helps at all. You also did not fo...
by fmw42
2017-02-19T18:15:58-07:00
Forum: Users
Topic: Batch watermark images in subfolders
Replies: 4
Views: 41

Re: Batch watermark images in subfolders

First thing is you did not identify your platform for your server nor what IM version is there. Second IM does not create new folders. So you will need to do that in your OS. Third you did not post an example of what you want nor an input image and watermark image. So we do not know exactly what you...
by fmw42
2017-02-19T14:41:49-07:00
Forum: Users
Topic: text to image problem
Replies: 12
Views: 112

Re: text to image problem

P.S. Please always provide your IM version and platform/OS, since syntax may vary.

The more current your version of IM, the better label: has been optimized.
by fmw42
2017-02-19T14:04:40-07:00
Forum: Users
Topic: text to image problem
Replies: 12
Views: 112

Re: text to image problem

try convert -background white -pointsize 48 -gravity center -font GC2004D_.TTF label:"21212121\n12121212" -fuzz XX% -trim +repage chess_test.png where XX is some small number between 0 and 100 that will allow near white colors to be removed. Start with 0 and if that does not work, try 1, 5 or 10 and...
by fmw42
2017-02-19T14:01:13-07:00
Forum: Users
Topic: Batch watermark images in subfolders
Replies: 4
Views: 41

Re: Batch watermark images in subfolders

I would agree with user snibgo. You IM version is about 250 versions old. Upgrade if you can. Once you work out how to do it in convert, you can then use the same watermark to watermark all images in a directory using mogrify. See http://www.imagemagick.org/Usage/basics/#mogrify http://www.imagemagi...
by fmw42
2017-02-19T12:23:35-07:00
Forum: Users
Topic: text to image problem
Replies: 12
Views: 112

Re: text to image problem

Here is a simple test, not meant to be realistic. convert -background white -pointsize 48 -gravity center -font /Library/fonts/CHEQ_TT.TTF label:"BBBBBBBB\nHHHHHHHH\nLLLLLLLL" chess_test.png http://www.fmwconcepts.com/misc_tests/chess_test.png I got the font from http://www.dafont.com/chess.font
by fmw42
2017-02-19T12:09:19-07:00
Forum: Users
Topic: text to image problem
Replies: 12
Views: 112

Re: text to image problem

Try making the board size 8 * the square dimension of your font pointsize. Presumably your font is a monospaced font. Or leave off the size, use label: with newline breaks \n every eight characters and whatever pointsize you want. But as user snibgo suggested, it would be best if you provide your fo...
by fmw42
2017-02-17T11:46:50-07:00
Forum: Fred's Scripts
Topic: Creating a cartoon effect
Replies: 24
Views: 303

Re: Creating a cartoon effect

Here is the result from using the online editor at http://pho.to/

Image
by fmw42
2017-02-17T11:33:49-07:00
Forum: Users
Topic: Exporting font samples as image
Replies: 4
Views: 139

Re: Exporting font samples as image

If on unix-like system, see Anthony's script show_fonts at http://www.imagemagick.org/Usage/scripts/show_fonts