C cloner7801 Active Member Licensed User Longtime User Mar 10, 2017 #1 Hi, I am using camera(iMedia library) for capture photo. How can I use just Square mode? Or how can I use Square in LLCamera?
Hi, I am using camera(iMedia library) for capture photo. How can I use just Square mode? Or how can I use Square in LLCamera?
Erel B4X founder Staff member Licensed User Longtime User Mar 12, 2017 #2 You will need to use LLCamera. You then have full control over what the user sees. You can hide part of the preview panel to make it look like a square picture. Upvote 0
You will need to use LLCamera. You then have full control over what the user sees. You can hide part of the preview panel to make it look like a square picture.
C cloner7801 Active Member Licensed User Longtime User Mar 12, 2017 #3 Erel said: You will need to use LLCamera. You then have full control over what the user sees. You can hide part of the preview panel to make it look like a square picture. Click to expand... Yes thanks, but how can I save that photo square ? whitout black space.. or other things.. Upvote 0
Erel said: You will need to use LLCamera. You then have full control over what the user sees. You can hide part of the preview panel to make it look like a square picture. Click to expand... Yes thanks, but how can I save that photo square ? whitout black space.. or other things..
Erel B4X founder Staff member Licensed User Longtime User Mar 13, 2017 #4 You will need to crop the image. You can use the code here to draw a part of an image: https://www.b4x.com/android/forum/threads/drawbitmap-no-source-rectangle.47082/#post-291351 Upvote 0
You will need to crop the image. You can use the code here to draw a part of an image: https://www.b4x.com/android/forum/threads/drawbitmap-no-source-rectangle.47082/#post-291351
C cloner7801 Active Member Licensed User Longtime User Mar 13, 2017 #5 Erel said: You will need to crop the image. You can use the code here to draw a part of an image: https://www.b4x.com/android/forum/threads/drawbitmap-no-source-rectangle.47082/#post-291351 Click to expand... How can I work wit SrcRect and DestRect , whats this? Upvote 0
Erel said: You will need to crop the image. You can use the code here to draw a part of an image: https://www.b4x.com/android/forum/threads/drawbitmap-no-source-rectangle.47082/#post-291351 Click to expand... How can I work wit SrcRect and DestRect , whats this?
Erel B4X founder Staff member Licensed User Longtime User Mar 14, 2017 #6 SrcRect - defines the rectangle in the bitmap that will be drawn. DestRect - The bitmap will be drawn to this rectangle in the target canvas. Upvote 0
SrcRect - defines the rectangle in the bitmap that will be drawn. DestRect - The bitmap will be drawn to this rectangle in the target canvas.