Hi everybody:
I use Camera2 to make pictures in my app. In some of these pictures, I need to know the compass orientation, so I've overlaid a compass over the camera preview, and I need to save the image with the overlaid compass.
I've tried to define
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
But I get a black screen with the compass and the views in the pnlCamera, but not the image itself.
The resulting image is too small too (about 19kb).
I've been reading about BitmapCreator, but not sure if it's what I need. Maybe with this I could save the image as always, the pnlCamera.Snapshot and overlay them?
Thanks.
			
			I use Camera2 to make pictures in my app. In some of these pictures, I need to know the compass orientation, so I've overlaid a compass over the camera preview, and I need to save the image with the overlaid compass.
I've tried to define
			
				B4X:
			
		
		
		pnlCamera as B4XView
..
cam.Initialize(pnlCamera)
...
Dim bmp As B4XBitmap = pnlCamera.SnapshotBut I get a black screen with the compass and the views in the pnlCamera, but not the image itself.
The resulting image is too small too (about 19kb).
I've been reading about BitmapCreator, but not sure if it's what I need. Maybe with this I could save the image as always, the pnlCamera.Snapshot and overlay them?
Thanks.
 
				 
 
		 
 
		 
 
		 
 
		 
 
		