Related
username I have a bitmap and a mask (also a bitmap). I want to draw a bitmap on the mask (as shown in the image below) How can I do this on Delphi using Firemonkey ? Tom Bromberg useTBitmap.CreateFromBitmapAndMask() constructor CreateFromBitmapAndMask(const Bi
username I have a bitmap and a mask (also a bitmap). I want to draw a bitmap on the mask (as shown in the image below) How can I do this on Delphi using Firemonkey ? Tom Bromberg useTBitmap.CreateFromBitmapAndMask() constructor CreateFromBitmapAndMask(const Bi
username I have a bitmap and a mask (also a bitmap). I want to draw a bitmap on the mask (as shown in the image below) How can I do this on Delphi using Firemonkey ? Tom Bromberg useTBitmap.CreateFromBitmapAndMask() constructor CreateFromBitmapAndMask(const Bi
Matt Matt I want to draw some lines and shapes on canvas and then convert it to bitmap on ImageView. I am extending "View" in a custom class, and on the "OnDraw method" I am drawing lines. Here is my code (this class only draws simple lines): public class fina
Matt Matt I want to draw some lines and shapes on canvas and then convert it to bitmap on ImageView. I am extending "View" in a custom class, and on the "OnDraw method" I am drawing lines. Here is my code (this class only draws simple lines): public class fina
Christopher M. I'm trying to combine 3 imageViews into one bitmap, and I'm using canvas, here is the function private Bitmap createSingleImageFromMultipleImages() {
Bitmap formBitmap = getBitmapFromImageView(formView);
Bitmap idFrontBitmap = getBitmap
Matt Matt I want to draw some lines and shapes on canvas and then convert it to bitmap on ImageView. I am extending "View" in a custom class, and on the "OnDraw method" I am drawing lines. Here is my code (this class only draws simple lines): public class fina
android developer background I have a main bitmap on which I need to draw other bitmaps. The main bitmap has some semi-transparent pixels (pixels with variable values for the alpha channel), so other bitmaps drawn on it should merge with it instead of complete
XTL I have one : FrameLayout (marked in red) Source ImageView (black) Object (image view) with OnTouchListener (orange) I want to display part of bitmap which is filled on imageview ( source imageview ) through Object with OnTouchListener . So that's not the p
User 1204501 I am trying top right hand cornertoCanvas So far I have done the following: //100x40 dimensions for the bitmap
bitmap = BitmapFactory.decodeResource(getResources(),
R.drawable.backbutton);
Rect source = new Rect(0, 0, bitm
User 1204501 I am trying top right hand cornertoCanvas So far I have done the following: //100x40 dimensions for the bitmap
bitmap = BitmapFactory.decodeResource(getResources(),
R.drawable.backbutton);
Rect source = new Rect(0, 0, bitm
username How to draw .bmp file using canvas tag in html. I found a way to draw png and jpeg instead of bmp files. Can someone suggest me these methods and are bmp files supported by every browser and platform? please help. hyphn knight Drawing .bmp files are n
username How to draw .bmp file using canvas tag in HTML. I found a way to draw png and jpeg instead of bmp files. Can someone suggest me these methods and are bmp files supported by every browser and platform? please help. hyphn knight Drawing .bmp files are n
User 1204501 I am trying top right hand cornertoCanvas So far I have done the following: //100x40 dimensions for the bitmap
bitmap = BitmapFactory.decodeResource(getResources(),
R.drawable.backbutton);
Rect source = new Rect(0, 0, bitm
username How to draw .bmp file using canvas tag in HTML. I found a way to draw png and jpeg instead of bmp files. Can someone suggest me these methods and are bmp files supported by every browser and platform? please help. hyphn knight Drawing .bmp files are n
Jagraki I am taking an image and using canvas to draw it to the screen. I want to scale it according to the screen size. Here's what I've tried, but it cuts most of the image: DisplayMetrics metrics = context.getResources().getDisplayMetrics();
int width = met
Jagraki I am taking an image and using canvas to draw it to the screen. I want to scale it according to the screen size. Here's what I've tried, but it cuts most of the image: DisplayMetrics metrics = context.getResources().getDisplayMetrics();
int width = met
Vasily Kuragov Right now, I'm writing my small drawing application, and one of its features is custom brushes from bitmaps. I thought it wouldn't be a big problem that onTouchEvent() calls every action and draws the bitmap on every pixel, but when I swipe quic
Vasily Kuragov Right now, I'm writing my small drawing application, and one of its features is custom brushes from bitmaps. I thought it wouldn't be a big problem that onTouchEvent() calls every action and draws the bitmap on every pixel, but when I swipe quic
Vasily Kuragov Right now, I'm writing my small drawing application, and one of its features is custom brushes from bitmaps. I thought it wouldn't be a big problem that onTouchEvent() calls every action and draws the bitmap on every pixel, but when I swipe quic
Vasily Kuragov Right now, I'm writing my small drawing application, and one of its features is custom brushes from bitmaps. I thought it wouldn't be a big problem that onTouchEvent() calls every action and draws the bitmap on every pixel, but when I swipe quic
Vasily Kuragov Right now, I'm writing my small drawing application, and one of its features is custom brushes from bitmaps. I thought it wouldn't be a big problem that onTouchEvent() calls every action and draws the bitmap on every pixel, but when I swipe quic
Bărhălescu Vlad Florian I'm trying to take a screenshot of the entire desktop, save it as a bitmap, convert the bitmap to an ImageSource and set that ImageSource as the background of the Canvas on which I will draw the transparent rectangle. I try to add the i
username In short, I have a bitmap resource that is 1800 x 1800 pix due to the required details. I create a canvas from a bitmap and then draw on it. Once the drawing is done, attach it to the ImageView. It works fine on devices with large heaps, but crashes o
username In short, I have a bitmap resource that is 1800 x 1800 pix due to the required details. I create a canvas from a bitmap and then draw on it. Once the drawing is done, attach it to the ImageView. It works fine on devices with large heaps, but crashes o
username In short, I have a bitmap resource that is 1800 x 1800 pix due to the required details. I create a canvas from a bitmap and then draw on it. Once the drawing is done, attach it to the ImageView. It works fine on devices with large heaps, but crashes o
Krunal Agnihotri How can I get a bitmap using Glide Library as I want to draw that bitmap image on canvas. Glide only allows me to add an image to the ImageView. Is there any way to get a refined bitmap with Glide so that it can be drawn to the canvas. Current
Krunal Agnihotri How can I get a bitmap using Glide Library as I want to draw that bitmap image on canvas. Glide only allows me to add an image to the ImageView. Is there any way to get a refined bitmap with Glide so that it can be drawn to the canvas. Current
Krunal Agnihotri How can I get a bitmap using Glide Library as I want to draw that bitmap image on canvas. Glide only allows me to add an image to the ImageView. Is there any way to get a refined bitmap with Glide so that it can be drawn to the canvas. Current