Hi,

I run ActivePerl on a IIS server and have created a perl script that get the 
iptc data from jpg files, now I would like to use the values in my asp code, 
is it possible ?

<HTML>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<TITLE>exif info</TITLE>
</head>
<script language="perlscript" runat="server">
sub exif
{
use Image::ExifTool;
my $exifTool = new Image::ExifTool;
my @ioTagList = ('DateTimeDigitized', 'ImageSize', 'CaptionWriter', 
'Copyright', 'Artist', 'ImageDescription', 'Keywords' );

$exifTool->Options(Unknown => 1, DateFormat => '%Y-%m-%d (%H:%M:%S)', 
Duplicate => 0);
$info = 
$exifTool->ImageInfo('D:\Bildbank\Sidmakarn\Bilder\ÅBY_2005_ORG\050416_aby\050416_03_2.JPG',
 
[EMAIL PROTECTED]);


foreach (keys %$info) {
    return  ("$$info{$_},");
}
}
</script>

<% exif >

</HTML>


Any ideas how to do this ?

/Jef 




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to