Search found 38 matches

by zemlik
2018-03-22T17:30:01-07:00
Forum: PerlMagick
Topic: syntax for using a variable in Draw
Replies: 2
Views: 7219

Re: syntax for using a variable in Draw

cheers that works

Code: Select all


my $string ="$x \, $y  $x \, $dy";

$image->Draw(fill=>'black', stroke=>'black', primitive=>'circle', points=>$string ,strokewidth=>2);
by zemlik
2018-03-22T14:27:03-07:00
Forum: PerlMagick
Topic: syntax for using a variable in Draw
Replies: 2
Views: 7219

syntax for using a variable in Draw

Hello, #I can use variables here but a pixel isn't really big enough $image->Set("pixel[$value[$z][1],$value[$z][2]]"=>"#000000"); #try to make a bigger dot, this works $image->Draw(fill=>'black', stroke=>'gold', primitive=>'circle', points=>'200,4 10,10',strokewidth=>2); #this also works with a var...
by zemlik
2018-03-03T12:44:55-07:00
Forum: PerlMagick
Topic: PerlMagick syntax Composite
Replies: 2
Views: 5913

Re: PerlMagick syntax Composite

well I thought somebody might take pity. Is sorted now, I had my quotation marks in a twist.

Code: Select all

$image->Composite(image=>$image2,
            geometry=>"+$x+$y",
            compose=>"over");
doesn't seem to matter that cpanm version fails to install.
by zemlik
2018-02-28T09:49:06-07:00
Forum: PerlMagick
Topic: PerlMagick syntax Composite
Replies: 2
Views: 5913

Re: PerlMagick syntax Composite

I dunno if something is messed up. with use Image::Magick; $base->Composite(image=>$over,compose=>'over',geometry=>'+$xpix +$ypix'); there is error "Uncaught exception from user code: Can't locate object method "Composite" via package" ---- Debian testing (buster) I had installed perlmagick with apt...
by zemlik
2018-02-28T08:26:45-07:00
Forum: PerlMagick
Topic: PerlMagick syntax Composite
Replies: 2
Views: 5913

PerlMagick syntax Composite

sorry put this on other board in error hello, I don't do this very often. have an array of images and pixel coordinates. would like to combine over another image at those coordinates. not understanding the syntax something like $y=0; while ($y <= $#frames){ #say $frames[$y][0]; # the backgound #say ...
by zemlik
2018-02-21T04:56:13-07:00
Forum: Users
Topic: registering with combine
Replies: 5
Views: 2251

Re: registering with combine

ta,
looks very comprehensive.
by zemlik
2018-02-20T08:30:09-07:00
Forum: Users
Topic: registering with combine
Replies: 5
Views: 2251

Re: registering with combine

I guess it would be but I wondered if anything exists already
by zemlik
2018-02-20T05:53:41-07:00
Forum: Users
Topic: registering with combine
Replies: 5
Views: 2251

registering with combine

hello,
Interested in overlaying one image over a series.
Is there anyway anyone can think of for clicking on a point and have those co-ordinates saved to a file ?
1,80,100
2,80,101
3,81,101
etc

cheers.
by zemlik
2016-07-31T07:30:58-07:00
Forum: Users
Topic: rose:
Replies: 1
Views: 2310

rose:

hello,
feeling a bit dense
here.
http://www.imagemagick.org/script/composite.php
there is;

Code: Select all

composite -gravity center smile.gif  rose: rose-over.png
what is "rose:" ? it is the rose image presumably but why indicated as "rose:" is that something defined earlier ?
by zemlik
2016-04-12T05:22:14-07:00
Forum: PerlMagick
Topic: Gradient
Replies: 8
Views: 13695

Re: Gradient

It is just for me, I am playing with different things so there is no real rush.
I would like everything to be in the one file.
I could not see anything about gradient in any of the perl help documents/sites.
by zemlik
2016-04-11T12:42:51-07:00
Forum: PerlMagick
Topic: Gradient
Replies: 8
Views: 13695

Re: Gradient

well you know different syntax
by zemlik
2016-04-10T07:18:51-07:00
Forum: PerlMagick
Topic: Gradient
Replies: 8
Views: 13695

Re: Gradient

Does that work in Perl ?
by zemlik
2016-04-10T01:31:19-07:00
Forum: PerlMagick
Topic: Gradient
Replies: 8
Views: 13695

Gradient

hello,
I want to make and fill a rectangle with black on the left gradating to white on the right.
What is the syntax to get that ?
In Imagemagick there is

Code: Select all

convert  -size 100x100 gradient:  gradient.jpg 
cheers
by zemlik
2016-03-01T05:11:12-07:00
Forum: Users
Topic: [Solved] Spiff and Sharpen to a large amount of an images.
Replies: 7
Views: 3897

Re: [Solved] Spiff and Sharpen to a large amount of an images.

put images in a directory then go through them.

#!/bin/bash
for i in $(ls)
do
do something with $i
done
by zemlik
2014-06-06T00:01:59-07:00
Forum: MagickStudio
Topic: Fonts not available
Replies: 4
Views: 30909

Re: Fonts not available

I installed MagickStudio and I get the famous message Arial font not available, when trying to output. I put arial.ttf in /usr/share/fonts. used the script that makes the ~/.magick/type.xml file "convert -list font" shows Arial gnome-font-viewer shows Arial but <?php $imagick = new Imagick(); $fonts...