×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Aug 2006
    Posts
    7

    Question how can i make a Picture smaler or bigger in MIDP 2

    i need to know how can i make from only one picture some other smaller picture during the Games.


    thank you so much.

  2. #2
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: how can i make a Picture smaler or bigger in MIDP 2

    Hi mehiii2! Welcome to Nokia Discussion Boards!! :)

    If you are talking about making some animations(Eg: hero walking) or making the picture of a building by reusing smaller images you can use image strips.
    You can use setClip() to set the clipping position on the strip (PNG image with different small images/drawings) and then draw the image using drawImage();

    If you are looking for a solution for scaling images, may be you should check this link http://developer.sonyericsson.com/th...D=77127&#77127

    If this does not help, please explain your problem, so that we could provide you some other solutions.

    Regards
    Gopal
    Last edited by balagopalks; 2006-08-26 at 10:30.

  3. #3
    Super Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280

    Re: how can i make a Picture smaler or bigger in MIDP 2

    If you're asking about resizing images, then here is some code.

    shmoove

  4. #4
    Registered User
    Join Date
    Aug 2006
    Posts
    7

    Re: how can i make a Picture smaler or bigger in MIDP 2

    yes i mean , Resizing a *.png ,, that is what i mean .

    thank you Soooo much.

Similar Threads

  1. MIDP applicatyion accessing a servlet not working in series 60 emulator
    By ferozekadamapuzha in forum Mobile Java General
    Replies: 11
    Last Post: 2008-05-07, 18:04
  2. Series 60Series 60 MIDP Concept SDK Beta 0.2 Linux bug?
    By kauppi in forum Mobile Java Tools & SDKs
    Replies: 3
    Last Post: 2003-04-07, 09:05
  3. Unable to load files into MIDP default phone
    By alan_stewart in forum Mobile Java General
    Replies: 0
    Last Post: 2003-03-03, 17:49
  4. Http connection problem in 6310i
    By teahola in forum Mobile Java General
    Replies: 1
    Last Post: 2002-10-03, 18:46

Posting Permissions

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