• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Image zoom in and zoom out functionality

 
Dushyant Chhetri
Ranch Hand
Posts: 75
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,
I am back again with another problem.

I want to implement zoom functionality onto an image that I display on a form but have no idea as how to go about it.
Please help.


Thanks in advance..
 
Aleksandar Babic
Ranch Hand
Posts: 68
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've never done it but maybe this will be useful
http://forums.sun.com/thread.jspa?threadID=5331352
or
http://snippets.dzone.com/posts/show/3257
 
Syam Sathyan George
Ranch Hand
Posts: 64
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
He is right,

What you need is a Image Scale function.
Change the image scale ration based on command or user interaction in Form/Item.
 
Dushyant Chhetri
Ranch Hand
Posts: 75
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank You Guys,

I implemented it and now it is working fine..
However the problem of Image not being scrolled horizontally is still an issue..

Please let me know if any workaround is there.
 
Syam Sathyan George
Ranch Hand
Posts: 64
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are using LCDUI Form, then options of scrolling is limited.
Use some other UI kit or use Canvas and implement your own Map/Image navigation screen
 
Dushyant Chhetri
Ranch Hand
Posts: 75
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yipee, I have the solution now, refer tis link

Horizantal image scroll in J2ME form

 
Syam Sathyan George
Ranch Hand
Posts: 64
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Great, but was it so tough to figure out ..
Any was you have found the right solution
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic