Search found 4 matches

by arv
2014-04-22T14:53:37-07:00
Forum: PerlMagick
Topic: How to redirect/capture debug information to variable ?
Replies: 0
Views: 10266

How to redirect/capture debug information to variable ?

Hello,

I would like to redirect/capture information about corrupted data to a variable in Perl.
My code doesn't work, the variable $output is empty:

my $output;
close STDERR;
open( STDERR, ">", \$output ) or die "Error: $!\n";

my $image = Image::Magick->new;
$image->Set( debug => 'Exception ...
by arv
2014-04-22T07:12:59-07:00
Forum: Users
Topic: How to detect corrupted JPEG files in version IM 6.8 ?
Replies: 2
Views: 5440

Re: How to detect corrupted JPEG files in version IM 6.8 ?

Indeed, with this option the program works just as I need.
How could I be so blind ?

Thanks awfully!
by arv
2014-04-22T05:45:16-07:00
Forum: Users
Topic: How to detect corrupted JPEG files in version IM 6.8 ?
Replies: 2
Views: 5440

How to detect corrupted JPEG files in version IM 6.8 ?

Hello,

Currently I'm using ImageMagick-6.2.4-5-Q8-windows-dll.exe on Windows 2008 R2 Std
and to detect corrupted JPEG files I'm running the identify utility which returns message:
Exception 325: Corrupt JPEG data: premature end of data segment 'file.jpg'

But, when I upgraded to ImageMagick-6.8.X ...
by arv
2013-05-23T13:22:59-07:00
Forum: Bugs
Topic: identify doesn't detect corrupt JPEG files (Firefox does)
Replies: 5
Views: 21026

Re: identify doesn't detect corrupt JPEG files (Firefox does

I'm currently using:
- ImageMagick-6.2.4-5-Q8-windows-dll.exe 32-bit,
- ActivePerl-5.8.7.813 32-bit,
- windows 2008 R2 Std 64-bit.

In this configuration, the detection of corrupted JPEG files works as expected, ie returns a message:
Exception 325: Corrupt JPEG data: premature end of data segment ...