×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    47

    How to save a image ?

    Hi all,

    I really need help
    I allow the user to add text and add mini icons into a selected photo, and how can i save the photo and background into one image?

    Thanks in advance =)

  2. #2
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Thumbs up Re: How to save a image ?

    Quote Originally Posted by intheworldofmyown View Post
    Hi all,

    I really need help
    I allow the user to add text and add mini icons into a selected photo, and how can i save the photo and background into one image?

    Thanks in advance =)
    Hi,
    Well,you can move ahead like this -

    Just take the entered text and icon ..then just draw the both over the image on some x and y pos....then you can access the x and y of the both..then keep the co-ordinated fixed..text and image position will not be changed..
    if you want to again show the image with the two..then save the co-ordinated in RMS.Then you can again display the same..
    Thanks,
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  3. #3
    Registered User
    Join Date
    Nov 2008
    Posts
    47

    Re: How to save a image ?

    Hi, i want to save to one image as i want it to be able to save it into the phone memory of the device.

    So is it still possible?

  4. #4
    Super Contributor
    Join Date
    Apr 2007
    Posts
    2,708

    Re: How to save a image ?

    actually even I cant grasp what u'r saying raj_j2me...
    maybe u could try to re-formulate ur post ?

  5. #5
    Nokia Developer Expert
    Join Date
    May 2007
    Location
    Mexico D.F
    Posts
    351

    Re: How to save a image ?

    Hello


    1. Create a mutable image using the following method of the Image class

    Code:
    public static Image createImage(int width,int height)
    2. Get the Graphics object of that Image. (you will be painting actually in the image)

    Code:
    public Graphics getGraphics()
    3. Paint whatever you want in that Graphics. First the other image you have, then the text or whatever you want.

    4. Save the Image in the phone using JSR 75 (File API)
    :Ruben

Similar Threads

  1. desperately needs help on how to save an image in the mobile device memory
    By daregazi in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2008-06-23, 12:37
  2. Opening a JPEG Image
    By ummarbhutta in forum Mobile Java Media (Graphics & Sounds)
    Replies: 8
    Last Post: 2007-02-15, 06:34
  3. how to save image taken by camera with bitmap
    By winsys in forum Symbian Media (Closed)
    Replies: 0
    Last Post: 2006-10-10, 05:46
  4. how to cut some part of Image
    By mshouab in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2006-08-04, 09:05
  5. Nokia Image Converter
    By davidpurdie in forum General Development Questions
    Replies: 0
    Last Post: 2004-02-18, 15:31

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×