Commons talk:Pearson Scott Foresman

From Wikimedia Commons, the free media repository
Jump to: navigation, search

Raw scans[edit]

Is deleting the raw scans such a good idea, my guess is that the quality of the extractions will vary wildly and people who think a poor job has been done may well want to go back to the original scan. Plugwash 23:48, 29 November 2007 (UTC)

agree, the raw scans should be kept for archival purpose. AzaToth 00:19, 30 November 2007 (UTC)
Someone should make a directory for these, if that's the case. There will be a *LOT* more :) Cary Bass demandez 16:45, 30 November 2007 (UTC)

tracking[edit]

Should there be some tracking of what images result from each scan? Or, another way of saying this, how do you know that all the useful images have been extracted from a given scan? Perhaps updating the scan's image info page to show what images were created would be goodness? I do see that some use "other versions" which is I guess the way to do it? ++Lar: t/c 20:53, 30 November 2007 (UTC)

Notes to my self (Aza)[edit]

format of the commons uploader script if I forgot...

@{{uncat}}
>Statue of Liberty (PSF).png
{{ScottForesman
  |description=Line art representation of the [[w:Statue of Liberty]]
  |raw=PSF_Scan40009.png
}}
raw=PSF_Scan40009.png;for i in *.png; do echo -e ">$i\n{{ScottForesman\n  |description=Line art representation of [[w:"$(echo $i | sed s/\\s\(PSF\)\.png.*$//g)"]]\n  |raw=$raw\n}}"; done

echo "<gallery>";for i in *.png; do echo "Image:$i|"$(echo $i | sed s/\\s\(PSF\)\.png.*$//g); done; echo "</gallery>"

Script[edit]

Perl script, if forgotten somewhere (using the file upload bot script atm)

#!/usr/bin/perl -w
 
use strict;
use warnings;
use File::Basename;
use Getopt::Long;
use Image::Magick;
use File::Temp qw/ tempfile tempdir /;
 
my $raw = '';
 
my $tempdir = tempdir( CLEANUP => 1 );
 
GetOptions('raw=s' => \$raw);
 
open F, '>', $tempdir."/files.txt";
print F "\@\{\{uncat\}\}\n";
foreach my $file (@ARGV) {
	my $filename = basename( $file, '.png' );
	$filename =~ /(.*)\d*\s+\(PSF\)\s*$/;
	my $name = $1;
	my $svg = << "EOF";
>$filename.svg
{{ScottForesman
  |description=Line art representation of [[w:$name]]
  |other versions=[[Image:$filename.png|200px|Original bitmap]]
}}
EOF
	my $png = << "EOF";
>$file
{{ScottForesman
  |description=Line art representation of [[w:$name]]
  |raw=$raw
  |other versions=[[Image:$filename.svg|200px|SVG version]]
}}
EOF
	my $image = new Image::Magick;
	$image->Read($file);
	$image->Write("$tempdir/$filename.pgm");
	$image->Write("$tempdir/$filename.png");
	system( 
		"potrace",
		"--svg",
		"--turnpolicy=minority",
		"--turdsize=10",
		"--alphamax=1",
		"--opttolerance=0.2",
		"--resolution=600",
		"--unit=1",
		"--output=$tempdir/$filename.svg",
		"$tempdir/$filename.pgm"
	)  == 0 or die "Error: $!";
 
	print F "$png\n";
	print F "$svg\n";
}
close F;
 
system( 'common', $tempdir );

Good[edit]

That is a one awesome initiative Pearson Scott had made! the preceding unsigned comment was added by 41.232.112.253 (talk • contribs)

I'm glad you liked it :). Maybe you'd like to join and help us? There are many many images for clean-up, still. Patrícia msg 10:26, 21 February 2008 (UTC)

Possible to rescan an image?[edit]

Image:PSF A-20011.png

(Image:PSF A-20011.png) is cut off along the left edge. I think it is a scanning problem (rather than the original being damaged). If it is a scanning problem, is there any possibility of a rescan? --Oldak Quill 03:34, 24 February 2008 (UTC) EDIT: It is obviously damage to the original. --Oldak Quill 03:36, 24 February 2008 (UTC)

SVG versions for many line drawing files already available![edit]

Users at the Open Clip Art Library have created many SVG versions of line drawing files by Pearson Scott Foresman here. They should be uploaded with the DerivativeFX tool, and the raster version tagged with Template:SupersededSVG. File:Catfish (PSF).svg is one file I have uploaded so far; use it as a basis for formatting new SVG upload filepages. --Siddharth Patil (talk) 00:57, 7 November 2009 (UTC)

List of uploaded SVGs[edit]

Here is the list of all uploaded SVGs so far. --Siddharth Patil (talk) 00:33, 7 November 2009 (UTC)

2009-11-06[edit]