Hi, I have a camera app which creates large 2048x, medium 1024x and small 512x images by setting the camera parameters and it is still working OK in 1.6 on G1.
My guess is that 640 is not a binary integer multiple of 2048 ???, so maybe try 1024 and then rescale to 640. Does 5mp pictures ( eg HTC Hero ) actually work, can anyone confirm ? Regards On Oct 25, 1:55 am, enervat...@gmail.com wrote: > Before 1.6: > > Camera.Parameters parameters = mCamera.getParameters(); > parameters.setPictureSize(640, 480); > > Would deliver me a 640 by 480 image from the Camera. > > As of the 1.6 OS upgrade on my G1 (it doesn't matter whether the > SDK is 1.5 or 1.6) is sends me 2048x1536 pixel images. > > This is extremely painful especially in light of the fact that there is no > way to scale images this big (BitmapFactory pukes on images that > large) that I know of. > > I imagine that Camera users that upload their pictures to the net with > 5 megapixel cameras are going to be even more unhappy, but I'm pretty > unhappy as it is. > > Mike --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---