class ImageMask { function input(string jpegdata) return true/false; function getMaskData() return string maskdata; }