how can i edit image using j2me
Hello freinds,
i m having prblem with rditing my image after capturing it.....
Actually wt i m doing is just capture the image and save it on memory card..........but how can i edit or modify image before saving it...
i m using Nokia-6681 mobile.....cpturing image using getSnapshot()
method which returns image bytes.
Plz help me out....
Thanx & Regards,
Parag.
# 1
to access to your image on the memory card , you shuld use FileConnection API
http://developers.sun.com/mobility/apis/articles/fileconnection/index.html
if you don't want to use it, store it in the RMS
check out this..
http://www-128.ibm.com/developerworks/library/j-j2me3/
# 5
use drawImage(..) from Graphics to draw the image and after, on the same Graphics object
in the paint(...) method, use drawString(...) to draw the text at the specified x and y
check out the link below to see how to draw resized image (can be used to draw image)
http://developers.sun.com/mobility/reference/techart/design_guidelines/image_resizing.html,
you will see the code used to draw images...