Hi everyone.

i have a problem when i capture an image i get different picture than what i choose on the screen, i mean the zoon is different, the focus of the picture is not what i want, i get only have of the picture.
.so is there a way that i can get the same picture size as i see before capturing it.


this my code

public void captureVideo() {

byte[] photo = videoControl.getSnapshot(null);
Image image = Image.createImage(photo, 0, photo.length);
form.append(image);
display.setCurrent(form);

i also tried this

String enc="encoding=jpeg&width=2592&height=1944";
byte[] photo = videoControl.getSnapshot(enc);
Image image = Image.createImage(photo, 0, photo.length);


thanks