You Are Here:

Community: Developer Discussion Boards

#1 Old Question how can i make a Picture smaler or bigger in MIDP 2 - 2006-08-26, 08:40

Join Date: Aug 2006
Posts: 7
mehiii2
Offline
Registered User
i need to know how can i make from only one picture some other smaller picture during the Games.


thank you so much.
Reply With Quote

#2 Old Re: how can i make a Picture smaler or bigger in MIDP 2 - 2006-08-26, 11:25

Join Date: Nov 2003
Posts: 3,641
Location: Bangalore , India
Send a message via Yahoo to balagopalks
balagopalks's Avatar
balagopalks
Offline
Forum Nokia Expert
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 11:30.
Reply With Quote

#3 Old Re: how can i make a Picture smaler or bigger in MIDP 2 - 2006-08-26, 12:05

Join Date: Mar 2003
Posts: 2,280
Location: Israel
shmoove
Offline
Forum Nokia Champion
If you're asking about resizing images, then here is some code.

shmoove
Reply With Quote

#4 Old Re: how can i make a Picture smaler or bigger in MIDP 2 - 2006-08-26, 18:07

Join Date: Aug 2006
Posts: 7
mehiii2
Offline
Registered User
yes i mean , Resizing a *.png ,, that is what i mean .

thank you Soooo much.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
MIDP applicatyion accessing a servlet not working in series 60 emulator ferozekadamapuzha Mobile Java General 11 2008-05-07 19:04
Series 60Series 60 MIDP Concept SDK Beta 0.2 Linux bug? kauppi Mobile Java Tools & SDKs 3 2003-04-07 10:05
Unable to load files into MIDP default phone alan_stewart Mobile Java General 0 2003-03-03 18:49
Http connection problem in 6310i teahola Mobile Java General 1 2002-10-03 19:46
Can't seem to make my Wap-page work for MIDP over the air (OTA) ssevon General Browsing 1 2002-07-16 09:37

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d127641X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZentertainmentQ qfnZtopicQUqfnTopicZgamesQ qfnZtopicQUqfnTopicZj2meQ qfnZtopicQUqfnTopicZjavaQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ