Search found 4 matches

by ache
2012-05-21T18:03:06-07:00
Forum: PerlMagick
Topic: File name containing ':' can't be escaped if frame used
Replies: 8
Views: 30754

Re: File name containing ':' can't be escaped if frame used

First one works because you directly specify pre-known format. But format of the file can be not known. Extension sometimes hides real format, f.e. some image hostings preserve .GIF on uploaded file but put JPEG format inside. Second one in 6.7.6-9 my $imagename = 'implicit::foo:bar.ext[0]'; gives ...
by ache
2012-05-16T15:50:03-07:00
Forum: PerlMagick
Topic: File name containing ':' can't be escaped if frame used
Replies: 8
Views: 30754

Re: File name containing ':' can't be escaped if frame used

The problem you reported should be fixed in ImageMagick 6.7.6-7. If you have further problems, let us know. I just test this example #!/usr/bin/perl -w use Image::Magick; my $imagename = 'foo\:bar.ext[0]'; my $image = Image::Magick->new; my $status = $image->Read($imagename); print "$status\n" if ...
by ache
2012-04-23T23:08:31-07:00
Forum: PerlMagick
Topic: File name containing ':' can't be escaped if frame used
Replies: 8
Views: 30754

Re: File name containing ':' can't be escaped if frame used

I already mention that I try with 1-4 backslashes with the same result (and both types of quotes). Here is full script with the string you suggest as working: #!/usr/bin/perl -w use Image::Magick; my $imagename = 'foo\:bar.ext[0]'; my $image = Image::Magick->new; my $status = $image->Read($imagename ...
by ache
2012-04-19T06:42:14-07:00
Forum: PerlMagick
Topic: File name containing ':' can't be escaped if frame used
Replies: 8
Views: 30754

File name containing ':' can't be escaped if frame used

Hi. PerlMagick from IM 6.7.5-10 can't process first frame in file names with ':' inside because it always mistreat the first part before ':' as image format. I try to escape ':' with backslashes, but it does not help (I try with 1-4 backsklashes). I mean calls like that: $imagename = "foo:bar.ext ...