> > Luca - > > > > Dumb question... is sem.jpg the name of the image file you're trying to > > open? > > > > Hi David, > Yes it is. > And it's in the same directory of the script. > Using absolute path provides the same error... > > The sem.jpg picture is opened without problems using Image::Magick > Read method and Image::Imlib2 load method. > > Thanks :)
Good. Getting the dumb errors out of the way first. :-) Before we go any further, I must say I don't use PDL::IO::Pic, so I'm mostly just trying to help with general compilation issues. Another fishy item is this line: --------%<-------- package PDL::IO::Pic; -------->%-------- Almost surely you meant to say this: --------%<-------- use PDL::IO::Pic; -------->%-------- Also, calling your test script pdl.pl is just asking for confusion. Perhaps 'convert-jpg-to-png.pl' would be better? :-) David _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
