StringToImage
util.StringToImage

This actor takes a StringToken containing the raw data representing an image in a standard format (for instance JPEG or PNG) and produces an ImageToken containing that image. Bug: Maybe we should rename it "ImageDataToImageToken," or is that too much of a mouthfull? Bug: Since java is smart about character encodings, it might get creative with the whole "getBytes" call. We really want the raw bytes that were used to construct the string in the first place, without any kind of translation. I'm not sure how to accomplish this. I wonder if StringTokens should carry around information about their encoding? I guess String's probably do that already. Or something.

Author(s): Tobin Fricke (tobin@splorg.org), University of California
Version:
Pt.Proposed Rating:Red (tobin)