Guys i have a problem here. i have been able to read an image display it on my form. what i want to do now is draw lines on the image which i am showing. ihave few xy points which i have to draw on my image. Here is the CODE
ImageItem image = new ImageItem("Image",CurrentImage, ImageItem.LAYOUT_CENTER, "Image Exceeds size");
where b is the byte array containg image data.
i thought by getting the grahpics object of my image
i might be able to draw lines on it, but this function returns the graphics object as null. Am i missing something? any kind of help or code will be appreciated. i can use its d.drawline function to draw my lines on the image. i am using Nokia 6680