Search found 25563 matches

by fmw42
2010-01-12T10:36:50-07:00
Forum: Users
Topic: Swedish signs - åäö - disappears?
Replies: 5
Views: 15396

Re: Swedish signs - åäö - disappears?

your characters are not unicode compatible when typing directly. Put them in a unicode (utf-8) text editor file and then use the @ symbol. see http://www.imagemagick.org/Usage/text/#unicode this works for me with just Ä in the text file. convert -background lightblue -fill blue -pointsize 48 label:@...
by fmw42
2010-01-12T10:25:53-07:00
Forum: Users
Topic: Generating a text matrix with pixel values
Replies: 18
Views: 59276

Re: Generating a text matrix with pixel values

I am not a Windows users, but there are some on the list who could help you convert my unix example above. But the windows information page does work and is at http://www.imagemagick.org/Usage/windows/
by fmw42
2010-01-12T10:24:11-07:00
Forum: Users
Topic: Spot Healing (aka: removing "splotches")
Replies: 4
Views: 8188

Re: Spot Healing (aka: removing "splotches")

post an example image
by fmw42
2010-01-12T10:21:59-07:00
Forum: Users
Topic: Creating a thumbnail of specified resolution
Replies: 5
Views: 9332

Re: Creating a thumbnail of specified resolution

see the ^ symbol for the geometry at http://www.imagemagick.org/script/comma ... p#geometry to resize to the smaller dimension. If on windows, see http://www.imagemagick.org/Usage/windows/

convert image -resize "100x100^" -gravity center -crop 100x100+0+0 +repage result
by fmw42
2010-01-12T10:17:31-07:00
Forum: Users
Topic: Vignette Help ?
Replies: 5
Views: 17471

Re: Vignette Help ?

If this is not even close to what you want, then perhaps you need to upgrade your IM. I used 6.5.8-10 Q16 Mac OSX Tiger.

convert source.jpg -background black -vignette 100x65000 result.png

Image
by fmw42
2010-01-11T22:36:40-07:00
Forum: Users
Topic: convert's equivalent to (gimp-brightness-contrast)
Replies: 5
Views: 12810

Re: convert's equivalent to (gimp-brightness-contrast)

the IM team is working to convert my bcimage script into an IM function called -brightness-contrast. it is hoped to be available in IM 6.5.9.0
by fmw42
2010-01-11T21:43:50-07:00
Forum: Users
Topic: Generating a text matrix with pixel values
Replies: 18
Views: 59276

Re: Generating a text matrix with pixel values

Here is some IM and unix code that will do the job. My example takes a 10x10 set of pixels from the top left of the rose image and displays it. I am not a Windows programmer so don't know how to convert to Windows. But see http://www.imagemagick.org/Usage/windows/ listArr=(`convert rose:[10x10+0+0] ...
by fmw42
2010-01-11T20:14:51-07:00
Forum: Developers
Topic: converting image to pgm plain (text) format
Replies: 6
Views: 32523

converting image to pgm plain (text) format

How can I convert an image to NetPBM pgm (grayscale) plain/text format. If I do convert rose:[10x10+0+0] -colorspace gray -depth 8 rose10.pgm I get the binary pgm format (P5). I would like to get the plain pgm format (P2). Is this possible and if so, how to do that. I tried convert rose:[10x10+0+0] ...
by fmw42
2010-01-11T19:15:14-07:00
Forum: Users
Topic: Help with multiple captions
Replies: 10
Views: 21379

Re: Help with multiple captions

try this convert logo: \ -background none -fill red -size 50x -pointsize 14 \ caption:"THIS IS TEST 1" -gravity northwest -geometry +10+10 -compose over -composite \ -background none -fill blue -size 50x -pointsize 14 \ caption:"THIS IS TEST 2" -gravity southeast -geometry +10+10...
by fmw42
2010-01-11T19:05:34-07:00
Forum: Users
Topic: Convert PDF -> Picture -> Read Barcode
Replies: 10
Views: 43389

Re: Convert PDF -> JPG -> Read Barcode

use supersampling to get better quality from the pdf

convert -density 288 image.pdf -resize 25% -threshold XX% image.gif
by fmw42
2010-01-11T19:01:59-07:00
Forum: Users
Topic: Creating a thumbnail of specified resolution
Replies: 5
Views: 9332

Re: Creating a thumbnail of specified resolution

add +repage after -crop and use -thumbnail rather than -resize so as to strip the headers and profiles, etc. to make the result smaller.
by fmw42
2010-01-11T19:01:04-07:00
Forum: Users
Topic: Generating a text matrix with pixel values
Replies: 18
Views: 59276

Re: Generating a text matrix with pixel values

no way I know of to have IM format it for you to an array 40x30. if you want grayscale values rather than color use convert image -colorspace gray image.txt If your image is 40x30 pixels dimension, then you can convert to NetPBM (pgm) text/plain format and it will likely be in the 40x30 array with a...
by fmw42
2010-01-11T18:38:31-07:00
Forum: Users
Topic: Vignette Help ?
Replies: 5
Views: 17471

Re: Vignette Help ?

try

convert source.jpg -background black -vignette 100x65000 result.png
by fmw42
2010-01-10T22:04:49-07:00
Forum: Users
Topic: Generating a text matrix with pixel values
Replies: 18
Views: 59276

Re: Generating a text matrix with pixel values

convert image txt:-

will list the text data to the terminal

convert image image.txt

will create a text file.

The first two columns are the pixel x,y coords and the rest are its color values in differnent forms.

see http://www.imagemagick.org/Usage/files/#txt
by fmw42
2010-01-10T15:06:58-07:00
Forum: Users
Topic: Photo to cartoon script
Replies: 35
Views: 87940

Re: Photo to cartoon script

Hi, I've been searching for good color segmentation algorithms and noone does not sutisfied me except of http://www.caip.rutgers.edu/~comanici/segm_images.html. Yes, I have been pushing for that open source code as well. Have you integrated this code for use with IM? If so, post it or send it to Ma...