Image Sharpness

XverhelstX

Well-Known Member
Licensed User
Longtime User
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
 

XverhelstX

Well-Known Member
Licensed User
Longtime User
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:
    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."

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:
Upvote 0

Merlot2309

Active Member
Licensed User
Longtime User
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
Top