Taking pictures with a resolution different from that stated in the application -7230
Gentlemen,
I developed a J2ME application that takes pictures and transmits these to a web server.
This application takes pictures at 640x480 resolution on other devices, such as:
This application takes pictures at 640x480 resolution on other devices, like Nokia 2730, 3120 arrives in the picture resolution, but now we are using the Nokia 7230 model and independent of the resolution that I use in encoding, it always comes at a small size.
To ensure that the problem was not in receipt of photos on the server, I send the image capturing direct from the gallery of the device and it arrived at normal size.
Someone tell me if this device exists to some peculiarity that makes it not to accept the resolution set in the application?
Or is there another way to define the image dimensions to this situation?
I appreciate the attention and collaboration.
Thanks
Re: Taking pictures with a resolution different from that stated in the application -
Hi there, ederfel
You could try defining the dimensions with the method below,let me know if there is any difference, ok?
Adjust values for your case.
jpg = mVideoControl.getSnapshot("encoding=jpeg&quality=100&width=640&height=480");
Best regards,
Marko
Re: Taking pictures with a resolution different from that stated in the application -
My code is basically the same as its only parameter qualyti I'm not using, see:
getSnapshot("encoding=jpeg&width=640&height=480");
Still, the image generated by the application has the dimensions 160x120, I believe it is native to the device.
[QUOTE=Maveric;799814]Hi there, ederfel
You could try defining the dimensions with the method below,let me know if there is any difference, ok?
Adjust values for your case.
jpg = mVideoControl.getSnapshot("encoding=jpeg&quality=100&width=640&height=480");
Best regards,
Marko[/QUOTE]
Re: Taking pictures with a resolution different from that stated in the application -
check this property for supported resolution / encodings
System.getProperty("video.snapshot.encodings");