Used to create a ota bitmap to use in CLI and OPERATOR logo's, also the double height format as in a PictureMessage is supported. We use the perlinterface to ImageMagick instead of the 'convert' command from the same package.
$ref_bitmaparray = OTABitmap_fromb64($bitmap_image_b64, $format_of_image);
Expects a bitmap in base64 format and the format of the image (e.g. 'gif', 'png'). The base64 method is here to be able to use the function in a webcentric way. This way you can e.g. use xmlrpc calls to exchange images for sending via SMS.
$ref_bitmaparray = OTABitmap_fromfile($image_file);
Create a bitmap array from a file.
$stream = OTABitmap_makestream( $width, $height, $depth, $ref_bitmaparray );
Create an OTA Bitmap. Width is 72 and height is 14 or 28 pixels, you can find those back in the constants BITMAP_WIDTH, BITMAP_HEIGHT and BITMAP_HEIGHT_DOUBLE.
Johan Van den Brande <email@example.com>