Pictures for cell-phone. Note that my own software I'm writing can process
only BMP images, but BMP images can't be seen on cell-phone, so in all cases
where I show a JPEG image below, my program generated BMP image then the
Unix utility 'cjpeg' converted it to JPEG format, with default 75% quality,
or I override to get lower quality to save cell-phone download cost:
Here's the first sun-ray test pattern, generated by Lisp, 48*48 pixels so that
I could
shade-print
it to stdout to debug the code before viewing on cellphone:
sunray-75.jpg
Same test pattern algorithm but larger image to nearly fill one-inch cell-phone
screen:
sunray2-75.jpg
Same BMP image, but using only 25% quality when converting to JPEG:
sunray2-25.jpg
Then I converted all the BMP-image-procesing software to PHP. Here's the
full-cell-phone-sized test pattern, identical to just above:
sunRayFromPHP.jpg
Notice how there are jaggy edges along all the diagonal boundaries between
adjacent wedges? You probably know the technical term for this, maybe
"aliasing"?? Anyway, next my PHP software performs resampling by weighted
rectangles to shrink that image:
sunRayFromPHPs.jpg
Notice how the jaggy edges are mostly gone due to interpolation of brightness
of each pixel that crosses a division line?
Next, I generated an image about 3 times as large as will fit on cell-phone
screen, then used the same weighted-rectangle averaging algorithm to shrink
it to fit cell-phone:
sunRayFromPHPbs.jpg
Notice how smooth the edges look compared to identical-sized test pattern
two images ago? I think this image is beautiful! If you use a magnifying
glass (or if you're nearsighted and look close-up) you can see the fade
from yellow to black as a row of pixels crosses a boundary, especially when
the row of pixels is early parallel to the boundary so that it takes several
pixels in a row to get all the way from yellow to black.
.
Please atsign-tweet me
after you have seen the above: Tell me what you think of it so-far.
After I hear from you, that you've looked at this, meaning my time to
set up this special page for you wasn't a waste of my time, I'll show
you where I shrunk a full page of printed text down to one-inch size
and with weighted-rectangle resampling it's almost legible (on cell-phone)
in some places.
Ignore this, Unix directory where I'm putting these images:
Pictures