Related
Cactus I want to draw one Bitmapon Canvas, with a (linear) alpha-gradient applied. The important point is that I don't want to overwrite the image with any other colors. The background (from the back I've drawn it to ) should just "shine". To illustrate this,
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
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
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
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
Cactus I want to draw one Bitmapon Canvas, with a (linear) alpha-gradient applied. The important point is that I don't want to overwrite the image with any other colors. The background (from the back I've drawn it to ) should just "shine". To illustrate this,
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
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
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
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
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
Nivik I have not used Matplotlib. Following someone's suggestion, I'm trying to write some plotting code using as much object-oriented paradigm as possible - and thus trying to generate some simple graphs using pure Matplotlib (i.e. without relying on pyplot).
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
Salman Khakwani I'm trying to create a drawing application that will be able to draw different brush textures along a touch path on the screen. What I've done so far: Here's the code for my "custom view": public class TestDrawingView extends View{
private Bit
username I want to draw an image of the following shape on a canvas: Black has to be replaced with my image. I currently draw the image as a whole. I just don't know how to get this shape? canvas.drawBitmap(header,0,0,mPaint);
Can someone help me? usernam
Salman Khakwani I'm trying to create a drawing application that will be able to draw different brush textures along a touch path on the screen. What I've done so far: Here's the code for my "custom view": public class TestDrawingView extends View{
private Bit
username Here is my code so far. Edit: Added full code. public void enterPreviewMode(byte[] pictureData) {
//Stop preview and enter review mode
previewPic = true;
cam.stopPreview();
//Find buttons and make them visible/invisible
Button ta
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
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
cactus I want to draw one Bitmapon Canvas, with a (linear) alpha-gradient applied. The important point is that I don't want to overwrite the image with any other colors. The background (from the back I've drawn it to ) should just "shine". To illustrate this,
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
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
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
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
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