Search found 25563 matches

by fmw42
2010-01-13T11:37:03-07:00
Forum: Users
Topic: resize + alpha script
Replies: 5
Views: 9326

Re: resize + alpha script

by fmw42
2010-01-13T08:54:35-07:00
Forum: Users
Topic: resize + alpha script
Replies: 5
Views: 9326

Re: resize + alpha script

what do you mean by place the image on an alpha layer? where does -draw come in to the process? can you give a full command line and/or explain your actual goal for the layout of the output image and its layer. should it not be: convert img -resize "1600*978\>" -gravity center -background ...
by fmw42
2010-01-13T08:51:16-07:00
Forum: Users
Topic: Quality problem with resizing
Replies: 3
Views: 6612

Re: Quality problem with resizing

post a link to your example input, bad and good outputs and your exact command line
by fmw42
2010-01-13T08:44:08-07:00
Forum: Users
Topic: comparing images of different sizes
Replies: 1
Views: 4235

Re: comparing images of different sizes

post links to example images. I am not sure what the issue is that causes the two images to be different sizes? Is it a scaling issue? You can either crop one image to be the same size as the other and compare or resize one image to be the same size as the other and compare. I generally use -metric ...
by fmw42
2010-01-12T19:49:10-07:00
Forum: Developers
Topic: converting image to pgm plain (text) format
Replies: 6
Views: 32534

Re: converting image to pgm plain (text) format

ImageMagick support plain text PBM, PGM, PPM, and TXT formats. None of these produce one row of text per image scanline. Its simple enough to produce the format with one of the language interfaces or script. It would take, for example, about 10 lines of code to produce the format with PerlMagick. Y...
by fmw42
2010-01-12T17:29:26-07:00
Forum: Developers
Topic: png file scaling edge artifacts
Replies: 1
Views: 4634

Re: png file scaling edge artifacts

Provide links an input and output image to show the soft edges and you command line and I will try to test for you and post the result back. Then you can judge. I am on IM 6.5.9-10 Q16 Mac OSX Tiger.
by fmw42
2010-01-12T16:31:54-07:00
Forum: Developers
Topic: converting image to pgm plain (text) format
Replies: 6
Views: 32534

Re: converting image to pgm plain (text) format

We'll get a patch into ImageMagick 6.5.9-0 Beta to fix this problem. I am not quite sure what you have in mind. Doing a little research on NetPBM, on the page at http://netpbm.sourceforge.net/doc/pgm.html it says for the plain text format (P2). "No line should be longer than 70 characters"...
by fmw42
2010-01-12T16:19:19-07:00
Forum: Users
Topic: Swedish signs - åäö - disappears?
Replies: 5
Views: 15397

Re: Swedish signs - åäö - disappears?

not unless your terminal window allows utf-8 see http://www.imagemagick.org/Usage/text/#unicode if you copy and past from the text file, the character codes show in stead. This is an A umlaut: convert -background lightblue -fill blue -pointsize 48 label:\303\204 atmp.png and it works, but you have t...
by fmw42
2010-01-12T16:16:05-07:00
Forum: Users
Topic: Help with multiple captions
Replies: 10
Views: 21391

Re: Help with multiple captions

Are you on Windows? Windows uses different line continuations and escape characters. If so, see http://www.imagemagick.org/Usage/windows/ Furthermore, my command did not use parentheses! Is argv[1] valid? test using echo $argv[1] to see if it has the filename and possibly the full path to the file y...
by fmw42
2010-01-12T16:09:29-07:00
Forum: Users
Topic: Generating a text matrix with pixel values
Replies: 18
Views: 59296

Re: Generating a text matrix with pixel values

printf is a unix, c command as far as I know. It is not an IM command.

From the NetPBM docs at http://netpbm.sourceforge.net/doc/pgm.html
it says line max is 70 characters
by fmw42
2010-01-12T12:51:04-07:00
Forum: Users
Topic: Path in batchfiles to pictures
Replies: 3
Views: 8174

Re: Path in batchfiles to pictures

try using the full path from root

or

try

-level "0,50%"

see http://www.imagemagick.org/Usage/windows/ for windows specific issues regarding escape characters and special characters
by fmw42
2010-01-12T12:39:24-07:00
Forum: Users
Topic: Generating a text matrix with pixel values
Replies: 18
Views: 59296

Re: Generating a text matrix with pixel values

see http://www.imagemagick.org/discourse-server/viewtopic.php?f=2&t=15321&p=54093#p54093 which explains how to get IM to convert to plain text PGM format. But unfortunately, it does not seem to group the rows of pixel data. So one is left with some kind of conversion of my unix to Windows Ba...
by fmw42
2010-01-12T12:37:36-07:00
Forum: Developers
Topic: converting image to pgm plain (text) format
Replies: 6
Views: 32534

Re: converting image to pgm plain (text) format

thanks convert rose:[10x10+0+0] -colorspace gray -compress none -depth 8 rose10.pgm P2 10 10 255 47 48 51 52 52 52 50 51 50 50 46 47 49 50 51 50 49 51 51 51 44 44 47 47 45 46 45 46 45 46 45 45 45 45 43 43 43 43 44 44 46 46 46 46 43 43 42 39 42 43 47 47 48 49 49 48 46 43 43 42 50 51 51 54 54 52 50 47...
by fmw42
2010-01-12T10:51:37-07:00
Forum: Users
Topic: Generating a text matrix with pixel values
Replies: 18
Views: 59296

Re: Generating a text matrix with pixel values

There were some known issues with that page when converted by Anthony from the person who supplied it. But Anthony is out-of-country and won't be able to fix it properly until he can get back to a place internet connection. Hopefully one of the Windows users can step in and help you convert my code ...
by fmw42
2010-01-12T10:39:17-07:00
Forum: Users
Topic: Quality problem with resizing
Replies: 3
Views: 6612

Re: Quality problem with resizing

try supersampling and downsizing.

convert -density 288 image.pdf -resize 25% -quality 100 image.jpg

the above will produce a 1:1 result as nominal density is 72, so 288=4*72 and then resize by 25%=1/4.

Use a smaller percent in the resize to downsize further.