Hi Dave,<br><br>Thanks for idea!<br><br>I'm in fact using Python and trying to include in my code, generation of such images.<br>I didn't know that command:<br>print "a" * X <br>in Python, will print string "a", X times; so your idea will help me a lot.<br>
<br>Thanks again,<br>Marija<br><br><br><div class="gmail_quote">On Tue, Jan 5, 2010 at 4:07 PM, David Smith <span dir="ltr"><<a href="mailto:dbs176@gmail.com">dbs176@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
This script below may be on the right track. Save it as "pblank", make<br>
it executable, and put it in /usr/bin or wherever. It'll make a X by Y<br>
image with all pixels having value of VALUE. It requires Python to be<br>
installed, by the way.<br>
<br>
--Dave<br>
<br>
<br>
#! /bin/bash<br>
<br>
# pblank - make an X by Y Radiance HDR image with all pixels having<br>
values of VALUE<br>
#<br>
# Usage:<br>
#<br>
# pblank [x] [y] [value] > outfile<br>
#<br>
# by David Smith, July 2009<br>
<br>
echo "print('$3 $3 $3 \n' * $1 * $2)" | python | pvalue -di -d -r -h<br>
-H -y $2 +x $1<br>
<br>
</blockquote></div><br>