retdvd.blogg.se

Perl install exiftool module
Perl install exiftool module








  1. #Perl install exiftool module how to
  2. #Perl install exiftool module pdf
  3. #Perl install exiftool module Pc

I thought maybe it was the same problem that I had when I first running a cgi script in my local environment this morning - that is that the site config lists a script alias for /cgi-bin that points somewhere like /usr/bin/cgi-bin, so if you have a cgi-bin folder on your site it's pointless as /cgi-bin doesn't point there. It said to check the site error logs, but there weren't any (other than a PHP error log and an access log). The first problem I had was that it was just saying access forbidden.

perl install exiftool module

The tags array is just a list of all available tags from ExifTool Tag Names.Īfter that I tried to get the script to work on the web server. $info = $exifTool->ImageInfo($file, "$tag:*")

#Perl install exiftool module pdf

My = qw(JPEG EXIF IPTC XMP GPS GeoTiff ICC_Profile PrintIM Photoshop Canon CanonCustom Casio FujiFilm HP JVC Kodak Leaf Minolta Nikon NikonCapture Olympus Panasonic Pentax Ricoh Sanyo Sigma Sony Unknown DNG CanonRaw KyoceraRaw MinoltaRaw SigmaRaw JFIF FlashPix APP12 AFCP CanonVRD FotoStation PhotoMechanic MIE Jpeg2000 BMP PICT PNG MNG MIFF PDF PostScript ID3 ITC Vorbis FLAC APE MPC MPEG QuickTime Flash Real RIFF AIFF ASF DICOM DjVu HTML EXE Rawzor ZIP Extra Composite Shortcuts) $file = './Bitteswell Church _DSC4883.jpg'

perl install exiftool module

Unfortunately I don't know enough about ExifTool or Perl to do this. it would be better to just call it once getting all metadata, and then seperate it out into the tag 'families'. The script is quite slow, I think probably because I call the ExifTool->ImageInfo() function for each tag. cgi file so that it could be executed.Īfter lunch I went on Animal, the after that I got my perl script working with EXIFtool to print the metadata, seperated by tag name. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatchĪnd changed the permissions on the. I had already added directory info to the site config

#Perl install exiftool module how to

Thanks to How to Add Perl CGI Script Support to Your Apache 1.x Web Server on Windows for this info (It's the same for Linux and Apache2). Unfortunately it didn't, and after quite a bit fo testing and searching I found I needed AddHandler cgi-script. I was following the tutorial at and just copy and pasted the example there to make sure it works. Next I started trying to get a perl script to run in my local web development environment.

#Perl install exiftool module Pc

Then I restarted my PC as it had finished downloading some Windows updates. In searching for the stuff I was on about I came across this nice article at Sitepoint: Open Source Image Archiving: Exif, IPTC, XMP and all that.

perl install exiftool module

Possibly it falling off may be because I cleaned the screen before attaching it, though I would have thought this should make it stick better.Īfter that I updated yesterday's blog post with some links to the stuff I was on about as I didn't have time to do that when I wrote it last night. It was still really hard to unstick after it was done though. So I had to sit looking at the screen for a few minutes while the spyder did its job, then hold it in place when the top sucker came unstuck. Unfortunately the spyder kept falling off the screen even though I stuck it on as hard as I could. This morning I took some more flower photos, then I calibrated my monitor.










Perl install exiftool module