• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Downsize an image in J2ME MIDP 2, JSR

 
Jan Schneider
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Programming in Java MIDP 2, using JSR 135 I have the problem to downsize a picture, taken with the mobile digital cam.
Are there any functions, which will solve my problem or have I to program own functions?
Perhaps there exist some plugins?
Can I configure the mobile cam to make pictures via JSR 135?
I will appreciate any tips.
Thanks
Jan Schneider
www.bluetoothflirt.de
 
Punit Raizada
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Iam not sure if i understood ur question correctly but u can get a picture from the camera on the cellphone in different sizes.
in the method getSnapshot u can specify the size of the capture.
byte[] pngImage = videoControl.getSnapshot("height=120&width=160");
[ May 01, 2004: Message edited by: Punit Raizada ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic