~ubuntu-branches/ubuntu/precise/boinc/precise

« back to all changes in this revision

Viewing changes to html/ops/bossa_example_make_files.php

Tags: 6.12.8+dfsg-1
* New upstream release.
* Simplified debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
// --dir dir            where to put them (e.g., ../user/example)
25
25
// --ellipse_frac X     fraction of images with ellipses
26
26
 
 
27
$cli_only = true;
27
28
require_once("../inc/util_basic.inc");
 
29
require_once("../inc/util_ops.inc");
28
30
 
29
31
function rand_color($im, $range) {
30
32
    $mid = 200;
103
105
    $case = make_test_case($ellipse_frac);
104
106
    $f = fopen($anspath, 'w');
105
107
    fwrite($f, serialize($case));
106
 
    fclose(f);
 
108
    fclose($f);
107
109
    imagepng(make_image($case), $path);
108
110
}
109
111