Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
SVG_VALIDATE(1)	      User Contributed Perl Documentation      SVG_VALIDATE(1)

NAME
       svg_validate - This script scans	a directory full of *.svg files	and
       checks them to see if they have proper metadata.	 If so,	it copies them
       into a target directory and creates a png of it.	 It also creates a
       list of PASS and	FAIL for the different criteria.

SYNOPSIS
       svg_validate [OPTIONS] subdir1[,	subdir2...]

	-V, --version	  Displays version info	for the	script
	-h, --help	  This help screen
	-D, --debug=N	  Reports debugging info (1=sparse, 3=tons)
	-n, --noclobber	  Don't	overwrite existing files
	-t, --target_dir  Specifies where files	should be placed
	    --passfail	  Just generate	the passfail file (still buggy)

DESCRIPTION
       This script is an example of use	of SVG::Metadata for processing	sets
       of SVG files, selecting the ones	that have proper metadata, and placing
       them into a separate directory tree.  It	generates and places PNG's of
       each image as well as a text summary file with the metadata info.

       The purpose of this script is to	assist in building the release
       packages	for the	Open Clip Art Library (http://www.openclipart.org/).

OPTIONS
       -V, --version
	       Displays	the version information	about the script.

       -h, --help
	       Prints a	brief help message with	option summary.

       -D N, --debug=N
	       Prints debug messages.  This expects a numerical	argument
	       corresponding to	the debug message verbosity.

       -n, --noclobber
	       Permits preventing any files to be overwritten during the
	       processing.  Normally, if there are existing files in the
	       target directory, they'll be deleted (unlinked) and new ones
	       written.	 With this option, the originals will be preserved and
	       new ones	will not be generated.

       -t DIRECTORY, --target_dir DIRECTORY
	       This option allows control over where the output	files will be
	       written to.  These files	will include a copy of the SVG file, a
	       PNG image rendered using	inkscape, and a	text file with a
	       summary of the file's metadata.	The files will be grouped into
	       a subdirectory tree based on keywords.

	       The default target directory is 'default-0.00'.

       --passfail
	       This option allows you to skip generating the thumbnails	and
	       only produce the	passfail report.

PREREQUISITES
       "Pod::Usage", "Getopt::Long", "File::Basename", "File::Copy",
       "File::Find", "File::Path", "File::Spec", "SVG::Metadata"

COREQUISITES
       "inkscape"

SCRIPT CATEGORIES
       Text Processing::Filters	Utilities

BUGS
       None known.

SEE ALSO
       SVG::Metadata, inkscape,	XML::Simple

AUTHOR
       Bryce Harrington	<bryce@bryceharrington.org>

       <http://www.bryceharrington.org/>

COPYRIGHT
       Copyright (C) 2004 Bryce	Harrington.  All Rights	Reserved.

       This script is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself.

perl v5.24.1			  2005-08-11		       SVG_VALIDATE(1)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | PREREQUISITES | COREQUISITES | SCRIPT CATEGORIES | BUGS | SEE ALSO | AUTHOR | COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=svg_validate&sektion=1&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help