Search found 4 matches

by marc557
2014-11-07T07:02:06-07:00
Forum: PerlMagick
Topic: Attribute <image> fails type constraint
Replies: 6
Views: 14540

Re: Attribute <image> fails type constraint

I modified my code as show in red as it still fails. Can somebody help me? Thanks, Marc use strict; use warnings; use Graphics::DZI; use Image::Magick; my $image = Image::Magick->new; my $x = $image->Read("record-image.jpg"); #my $image = "record-image.jpg"; my $overlap = "0"; my $tilesize = "256 ...
by marc557
2014-11-07T06:36:24-07:00
Forum: PerlMagick
Topic: Attribute <image> fails type constraint
Replies: 6
Views: 14540

Re: Attribute <image> fails type constraint

Snibdgo,

I realize that it is related to the data type. How do I specify an image type in this case?

Thanks,

Marc
by marc557
2014-11-06T21:57:28-07:00
Forum: PerlMagick
Topic: Attribute <image> fails type constraint
Replies: 6
Views: 14540

Re: Attribute <image> fails type constraint

But that's the name of the image. How do I specify an image without a name?

Thanks,

Marc
by marc557
2014-11-06T18:55:12-07:00
Forum: PerlMagick
Topic: Attribute <image> fails type constraint
Replies: 6
Views: 14540

Attribute <image> fails type constraint

I am getting his error when I used Graphics::DZI which must also use Image::Magick Attribute <image> does not pass the type constraint because: Validation failed for 'Image::Magick' with value record-image.jpg <not isa Image::Magick> at ... What am I doing wrong? Thanks, Marc This is my code use ...