Query: image::exiftool::import
OS: debian
Section: 3pm
Links: debian man pages all man pages
Forums: unix linux community forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Image::ExifTool::Import(3pm) User Contributed Perl Documentation Image::ExifTool::Import(3pm)NAMEImage::ExifTool::Import - Import CSV and JSON database filesSYNOPSISuse Image::ExifTool::Import qw(ReadCSV ReadJSON); $err = ReadCSV($csvFile, \%database); $err = ReadJSON($jsonfile, \%database);DESCRIPTIONThis module contains routines for importing tag information from CSV (Comma Separated Value) and JSON (JavaScript Object Notation) database files.EXPORTSExports nothing by default, but ReadCSV and ReadJSON may be exported.METHODSReadCSV / ReadJSON Read CSV or JSON file into a database hash. Inputs: 0) CSV file name. 1) Hash reference for database object. 2) Optional flag to set '-' values to undef in the database. (Used for deleting tags.) 3) [ReadJSON only] Optional character set for converting Unicode escape sequences in strings. Defaults to "UTF8". See the ExifTool Charset option for a list of valid settings. Return Value: These functions return an error string, or undef on success and populate the database hash with entries from the CSV or JSON file. Entries are keyed based on the SourceFile column of the CSV or JSON information, and are stored as hash lookups of tag name/value for each SourceFile.AUTHORCopyright 2003-2011, Phil Harvey (phil at owl.phy.queensu.ca) This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.SEE ALSOImage::ExifTool(3pm) perl v5.12.4 2011-03-12 Image::ExifTool::Import(3pm)
Similar Topics in the Unix Linux Community |
---|
CSV to XML |
Speeding/Optimizing GREP search on CSV files |
Read a CSV file and generate SQL output |
txt file to CSV |
Remove " character from 25th position in file |