Search found 46 matches

by sin
2011-09-13T12:04:58-07:00
Forum: Users
Topic: imagemagick commands in perlmagick
Replies: 3
Views: 9225

Re: imagemagick commands in perlmagick

I am not certain what the first two commands are doing, a threshold on the extracted alpha channel would probably do just as well. As for the edge, of a binary image using morphology will probably give you much more control, and can get you the inside/outside. or both sides of the binary (or non ...
by sin
2011-09-07T01:55:29-07:00
Forum: PerlMagick
Topic: obtaining silhouette
Replies: 1
Views: 12851

obtaining silhouette

this is the input image..
http://www.fmwconcepts.com/misc_tests/e ... ree_01.png

can you please tel me the perlmagick code to get the output as shown in the link below
http://www.fmwconcepts.com/misc_tests/e ... _edge2.png

please guide me in obtaining this.....!!!!
by sin
2011-09-03T22:34:31-07:00
Forum: Users
Topic: getting the edges of an image
Replies: 30
Views: 88271

Re: getting the edges of an image

Not Found The requested URL /openclipart/clipart/recreation/holiday/christmas/christmas_tree_02_l.png was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. I searched google and found another image. So here are ...
by sin
2011-09-03T04:42:05-07:00
Forum: Users
Topic: imagemagick commands in perlmagick
Replies: 3
Views: 9225

imagemagick commands in perlmagick

hi, Can you pleas tell me how to write these imagemagick commands in perlmagick..... i tried but i'm nt getting the required output. the output should be a silhoutte with white contour ad black background....so it should be a perfect black and white image. convert a.png -fuzz 10% -fill white -opaque ...
by sin
2011-08-30T04:07:07-07:00
Forum: Users
Topic: extracting a colored pixel from an image
Replies: 11
Views: 23975

Re: extracting a colored pixel from an image

are you on unix/mac or windows? what version of IM? If on unix, use this with hex color values: convert rose: txt: | grep " #38302D " 6,0: ( 56, 48, 45) #38302D rgb(56,48,45) 8,0: ( 56, 48, 45) #38302D rgb(56,48,45) 9,0: ( 56, 48, 45) #38302D rgb(56,48,45) 6,6: ( 56, 48, 45) #38302D rgb(56,48,45 ...
by sin
2011-08-29T21:48:49-07:00
Forum: Users
Topic: giving filename in PERLMAGICK
Replies: 3
Views: 8619

Re: giving filename in PERLMAGICK

Thank you.

The resize part is working fine....can you please tell me the syntax to ask user the input in perlmagick?
by sin
2011-08-28T23:47:17-07:00
Forum: PerlMagick
Topic: Can't Read an image file
Replies: 9
Views: 42345

Re: Can't Read an image file

Hi all, I'm trying to use PerlMagick to open and read in a jpg file, but I've had no luck so far. This is my code snippet: # Open the inputImage for reading my $inputImage = Image::Magick->new; my $status = $inputImage->Read($filePath) or die; print "$file status $status\n"; The script dies at the ...
by sin
2011-08-28T22:37:45-07:00
Forum: PerlMagick
Topic: Can't Read an image file
Replies: 9
Views: 42345

Re: Can't Read an image file

I'm using Perlmagick. it is working fine in my windows.

but I'm unable to write a code in such a way that the "code asks user to enter the filename of his interest"
instead of reading the filename that is mentioned in the code.
by sin
2011-08-27T02:46:19-07:00
Forum: Users
Topic: giving filename in PERLMAGICK
Replies: 3
Views: 8619

giving filename in PERLMAGICK

hi, How can we ask the user to enter the image file in perlmagick? like in perl, we can ask... print "please enter the input file "; Is there a option like this in perlmagick to take the input from the user in reading it?? Also please tell me the command for resizing an image. I'm writing like this ...
by sin
2011-08-17T04:02:12-07:00
Forum: Users
Topic: removing background
Replies: 1
Views: 5104

removing background

Hi,

Is it possible to remove background(unKnown background)???
Also, Please tell me the command for background subtraction and explain it(in detail) plzz.......!!!!!!!!!!!!
by sin
2011-08-17T00:20:34-07:00
Forum: Users
Topic: Background Subtraction
Replies: 14
Views: 32107

Re: Background Subtraction

Can you please explain that command for background subtraction???
by sin
2011-08-04T05:21:37-07:00
Forum: Users
Topic: how to given the input coordinates
Replies: 9
Views: 21872

Re: how to give the input coordinates

echo "enter HEM_X3" echo set /p "E=>" if %E% == End goto End if %E% == end goto End if %E% == "End" goto End if %E% == "end" goto End echo "enter HEM_Y3" echo set /p "F=>" if %F% == End goto End if %F% == end goto End if %F% == "End" goto End if %F% == "end" goto End echo "enter HEM_X4" echo set /p ...
by sin
2011-08-03T02:45:36-07:00
Forum: Users
Topic: extracting a colored pixel from an image
Replies: 11
Views: 23975

Re: extracting a colored pixel from an image

how can i convert the existing black pixels into transparent or white??
by sin
2011-08-02T12:18:55-07:00
Forum: Users
Topic: how to given the input coordinates
Replies: 9
Views: 21872

Re: how to given the input coordinates

okay, thank you.

but the command for polygon/polyline is written in a .bat file and executed, it is not giving the correct picture whereas if it typed directly in the command line it is working.
by sin
2011-08-02T10:51:24-07:00
Forum: Users
Topic: how to given the input coordinates
Replies: 9
Views: 21872

Re: how to given the input coordinates

how to crop that particular polygon using crop command??