I’ve an app that places an effect on a bitmap from a camera shot. it works fine on my Galaxy portal but when trying the app on HTC Desire the jpeg image is small. How can i set the picture size that is ultimately displayed to the full size of the screen? On the Galaxy i’ve used BitmapFacory.Options sample size=1, this makes the image the same size as the one captured, but on different phones this doesn’t work. thanks.
Share
There is a difference between the capture size and the preview size (the screen size never changes that’s device specific) so I am assuming you are talking about the capture size.
You can only select a capture size that is supported by the camera Selecting Supported Image Sizes so I suppose you could select the highest size that a camera supports, but if you want to normalize the size (make same on each camera) then you would have to scale the resulting image up or down dependent.
But I am wondering if this is what you are really after, or are you trying to place the image in a specific location (like the center of the captured image) and possibly scaling the overlaid image to a percentage of the captured image?