I did not read the version question correctly..
I'm first going to upgrade ImageMagick and than try again.
Search found 14 matches
- 2017-03-09T07:33:47-07:00
- Forum: PerlMagick
- Topic: Create a diagonal gradient
- Replies: 9
- Views: 163963
- 2017-03-09T03:49:55-07:00
- Forum: PerlMagick
- Topic: Create a diagonal gradient
- Replies: 9
- Views: 163963
Re: Create a diagonal gradient
of is or (sorry I'm dutch)
- 2017-03-09T03:48:31-07:00
- Forum: PerlMagick
- Topic: Create a diagonal gradient
- Replies: 9
- Views: 163963
Re: Create a diagonal gradient
Of course I did, but perl doesn't like: $img->Set(gradient:vector=>'x1,y1, x2,y2');
You are not allowed to use a : in a hash key whithout enclosing with ' or "
so either .. Set('gradient:vector'=> ... of gradient_vector
But still no luck.
You are not allowed to use a : in a hash key whithout enclosing with ' or "
so either .. Set('gradient:vector'=> ... of gradient_vector
But still no luck.
- 2017-03-09T03:29:24-07:00
- Forum: PerlMagick
- Topic: Create a diagonal gradient
- Replies: 9
- Views: 163963
Re: Create a diagonal gradient
After your reply I tried:
$img->Set("gradient:vector"=>"1,1 100,100");
$img->Set("gradient_vector"=>"1,1 100,100");
$img->Set(gradient_vector=>"1,1 100,100");
Before and after the $img->ReadImage('gradient:green-orange');
I also tried to put in in the ReadIMage itself, no luck so far ...
$img->Set("gradient:vector"=>"1,1 100,100");
$img->Set("gradient_vector"=>"1,1 100,100");
$img->Set(gradient_vector=>"1,1 100,100");
Before and after the $img->ReadImage('gradient:green-orange');
I also tried to put in in the ReadIMage itself, no luck so far ...
- 2017-03-08T00:44:26-07:00
- Forum: PerlMagick
- Topic: Create a diagonal gradient
- Replies: 9
- Views: 163963
Re: Create a diagonal gradient
I'm using version 6.6.9-7
IMHO: Aren't Read and ReadImage the same? They produce the same results.
I looked at http://www.imagemagick.org/script/gradient.php
but how can I use these settings from perlmagick? For example:
-define gradient:vector=x1,y1, x2,y2
IMHO: Aren't Read and ReadImage the same? They produce the same results.
I looked at http://www.imagemagick.org/script/gradient.php
but how can I use these settings from perlmagick? For example:
-define gradient:vector=x1,y1, x2,y2
- 2017-03-07T14:23:36-07:00
- Forum: PerlMagick
- Topic: Create a diagonal gradient
- Replies: 9
- Views: 163963
Create a diagonal gradient
$img=Image::Magick->new();
$img->Set(size=>'500x500');
$img->Read('gradient:green-red');
Gives a box with a linear gradient from left to right, I would like a linear gradient from top-left to bottom right in the same box.
If I use a Rotate than the complete box gets rotated.
Any hints are ...
$img->Set(size=>'500x500');
$img->Read('gradient:green-red');
Gives a box with a linear gradient from left to right, I would like a linear gradient from top-left to bottom right in the same box.
If I use a Rotate than the complete box gets rotated.
Any hints are ...
- 2016-09-14T04:58:34-07:00
- Forum: PerlMagick
- Topic: Beginners question: postioning a image on top of big cirkel at position x,y
- Replies: 5
- Views: 27825
Re: Beginners question: postioning a image on top of big cirkel at position x,y
found:first create a separate image with the gradient circle and mask and than a composite.
- 2016-09-14T04:15:40-07:00
- Forum: PerlMagick
- Topic: Beginners question: postioning a image on top of big cirkel at position x,y
- Replies: 5
- Views: 27825
Re: Beginners question: postioning a image on top of big cirkel at position x,y
So true, but how can I solve this?
- 2016-09-14T03:25:46-07:00
- Forum: PerlMagick
- Topic: Beginners question: postioning a image on top of big cirkel at position x,y
- Replies: 5
- Views: 27825
Re: Beginners question: postioning a image on top of big cirkel at position x,y
You can see the result at: http://digirent.nl/images/m3.jpg
It is written in perl and my current code is as follows:
#!/usr/bin/perl
#
use strict;
use Image::Magick;
my $x;
# Source, Composite or Overlay image
my $src=Image::Magick->new();
$src->Set(size=>'80x80');
$src->Read('radial-gradient ...
It is written in perl and my current code is as follows:
#!/usr/bin/perl
#
use strict;
use Image::Magick;
my $x;
# Source, Composite or Overlay image
my $src=Image::Magick->new();
$src->Set(size=>'80x80');
$src->Read('radial-gradient ...
- 2016-09-14T02:32:03-07:00
- Forum: PerlMagick
- Topic: Beginners question: postioning a image on top of big cirkel at position x,y
- Replies: 5
- Views: 27825
Beginners question: postioning a image on top of big cirkel at position x,y
First image is a radial-gradient image (rectangle) (80x80)
Second image is a black circle to be used as a mask (80x80)
Third image is a bigger background image (Big red circle) 200x200
I want to place a gradient (first image) cirkel om de big circle using the mask (second image)
When I use ...
Second image is a black circle to be used as a mask (80x80)
Third image is a bigger background image (Big red circle) 200x200
I want to place a gradient (first image) cirkel om de big circle using the mask (second image)
When I use ...
- 2016-09-11T03:44:22-07:00
- Forum: PerlMagick
- Topic: Looking for example 3d circle
- Replies: 2
- Views: 22606
Re: Looking for example 3d circle
I have made the following "working" example:
Still have a few questions at the bottom left.
...
####################
# part of example script
####################
print "Create 3D ball ...\n";
$img=Image::Magick->new;
$img->Set(size=>'500x500');
$x=$img->ReadImage('xc:white');
warn "$x" if "$x";
my ...
Still have a few questions at the bottom left.
...
####################
# part of example script
####################
print "Create 3D ball ...\n";
$img=Image::Magick->new;
$img->Set(size=>'500x500');
$x=$img->ReadImage('xc:white');
warn "$x" if "$x";
my ...
- 2016-09-10T06:27:08-07:00
- Forum: PerlMagick
- Topic: Looking for example 3d circle
- Replies: 2
- Views: 22606
Looking for example 3d circle
I'm looking for a perl example to create a 3-D looking circle (or ball).
Any help would be appreciated.
Any help would be appreciated.
- 2015-05-24T05:17:59-07:00
- Forum: PerlMagick
- Topic: How to create a 3D rectangle
- Replies: 0
- Views: 14213
How to create a 3D rectangle
I would like to create a 3D looking rectangle or a rectangle with a gradient.
I cannot figure out how. Any help or pointing in the right direction would be appreciated.
I'm using the following perl script.
#!/usr/bin/perl
use Image::Magick;
$image = Image::Magick->new; # create new image ...
I cannot figure out how. Any help or pointing in the right direction would be appreciated.
I'm using the following perl script.
#!/usr/bin/perl
use Image::Magick;
$image = Image::Magick->new; # create new image ...
- 2014-02-28T01:49:39-07:00
- Forum: PerlMagick
- Topic: Do's and dont's performance
- Replies: 0
- Views: 10606
Do's and dont's performance
First of all I'm new in using Image::Magick so have patience with me :)
I'm using Image::Magick from perl for creating images from scratch, drawing shapes and annotating text on images.
For examples see http://digirent.nl/images/proef/
When trying the default font versus true type fonts I see ...
I'm using Image::Magick from perl for creating images from scratch, drawing shapes and annotating text on images.
For examples see http://digirent.nl/images/proef/
When trying the default font versus true type fonts I see ...