105
edits
(Created page with "well I've done that, but the output is not what we want. http://hack.rs/cgi-bin/threshold_bitwise.pl <pre> #!/usr/bin/perl -w use strict; use CGI; use CGI::Carp qw(fatalsToBro…") |
No edit summary |
||
| Line 62: | Line 62: | ||
--[[User:AndyE|AndyE]] 14:16, 12 January 2011 (UTC) | --[[User:AndyE|AndyE]] 14:16, 12 January 2011 (UTC) | ||
These options do something like what we want: | |||
<pre> | |||
my @ar = ("gm", | |||
"convert", "-type", "grayscale", "-colors", 8, "-threshold", 12.5*$i ."%", | |||
$tempfile, | |||
"/var/www/threshold_output/$filename".$i ); | |||
</pre> | |||
--[[User:AndyE|AndyE]] 14:28, 12 January 2011 (UTC) | |||
edits