Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Change Image File Timestamp to Match EXIF Data

by Paladin (Vicar)
on Jun 01, 2009 at 08:56 UTC ( [id://767190]=note: print w/replies, xml ) Need Help??


in reply to Change Image File Timestamp to Match EXIF Data

Cool utility. A small suggestion for the next version: Instead of die()ing if it can't read a file, perhaps just warn() and skip to the next file so the rest still get processed.
  • Comment on Re: Change Image File Timestamp to Match EXIF Data

Replies are listed 'Best First'.
Re^2: Change Image File Timestamp to Match EXIF Data
by toolic (Bishop) on Jun 01, 2009 at 15:32 UTC
    Does the -r file test guarantee that ImageInfo will be successful? I wonder if it would be better to omit the file test, then analyze the return status of ImageInfo to determine whether to proceed with processing. Of course, ImageInfo might just die anyway, in which case an eval might be useful to capture the failure.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://767190]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2024-04-19 16:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found