XverhelstX Well-Known Member Licensed User Longtime User May 18, 2011 #1 Hey everyone, When I take a picture with the camera library in an application and I compare it with a picture taken from the 'camera application' itself, the sharpness is completely different. I need a good picture where the text is readable. How does this come and how to solve this. See these pictures: Picture from camera library on panel: ImageShack® - Online Photo and Video Hosting Picture from camera: ImageShack® - Online Photo and Video Hosting Thank you, xverhelstx
Hey everyone, When I take a picture with the camera library in an application and I compare it with a picture taken from the 'camera application' itself, the sharpness is completely different. I need a good picture where the text is readable. How does this come and how to solve this. See these pictures: Picture from camera library on panel: ImageShack® - Online Photo and Video Hosting Picture from camera: ImageShack® - Online Photo and Video Hosting Thank you, xverhelstx
Erel B4X founder Staff member Licensed User Longtime User May 19, 2011 #2 I can't see the images you've uploaded. I guess that the image resolution is different. Currently the camera library operates the camera with the default parameters. Upvote 0
I can't see the images you've uploaded. I guess that the image resolution is different. Currently the camera library operates the camera with the default parameters.
agraham Expert Licensed User Longtime User May 19, 2011 #3 Looks more like out-of-focus than limited resolution to me. It looks like a close-up shot, perhaps one used a macro setting and the other didn't. Upvote 0
Looks more like out-of-focus than limited resolution to me. It looks like a close-up shot, perhaps one used a macro setting and the other didn't.
XverhelstX Well-Known Member Licensed User Longtime User May 19, 2011 #4 Ok, and how do i take pictures in micro then? Xverhelstx Upvote 0
agraham Expert Licensed User Longtime User May 19, 2011 #5 I've no idea, it was a suggestion as to what the difference was. Upvote 0
XverhelstX Well-Known Member Licensed User Longtime User May 19, 2011 #6 oh, ok. I'm now trying to edit the Camera Library a bit to make the picture in Macro and also using the Flashlight. but I encountered an error that I cannot seem to solve: B4X: Expand Collapse Copy public void FlashOn() { Camera.Parameters params = c.getParameters(); // setting camera parameters params.setFlashMode( Camera.Parameters.[U]FLASH_MODE_ON[/U] ); c.setParameters(params); } In the underlined, i get the following error: "FLASH_MODE_ON cannot be resolved or is not a field." Click to expand... I really don't know what to do with it, I searched around, but can't find it. I'm not sure but it has to be something with import android.R; or smthing. the only options I receive after Camera.Parameters.: are this and class XverhelstX note that I do import these: import android.hardware.Camera; import android.hardware.Camera.Parameters; Last edited: May 19, 2011 Upvote 0
oh, ok. I'm now trying to edit the Camera Library a bit to make the picture in Macro and also using the Flashlight. but I encountered an error that I cannot seem to solve: B4X: Expand Collapse Copy public void FlashOn() { Camera.Parameters params = c.getParameters(); // setting camera parameters params.setFlashMode( Camera.Parameters.[U]FLASH_MODE_ON[/U] ); c.setParameters(params); } In the underlined, i get the following error: "FLASH_MODE_ON cannot be resolved or is not a field." Click to expand... I really don't know what to do with it, I searched around, but can't find it. I'm not sure but it has to be something with import android.R; or smthing. the only options I receive after Camera.Parameters.: are this and class XverhelstX note that I do import these: import android.hardware.Camera; import android.hardware.Camera.Parameters;
M Merlot2309 Active Member Licensed User Longtime User May 19, 2011 #7 Hi, The only thing that I can tell you is that I use the Camera without a canvas. So with the Panel only the quality is the same. Succes, Helen. Upvote 0
Hi, The only thing that I can tell you is that I use the Camera without a canvas. So with the Panel only the quality is the same. Succes, Helen.
Erel B4X founder Staff member Licensed User Longtime User May 20, 2011 #8 The FLASH constant is not available in Android 1.6. You will need to reference a higher version of the SDK. Upvote 0
The FLASH constant is not available in Android 1.6. You will need to reference a higher version of the SDK.