alpha-transparency Questions

9

When we show a Dialog/AlertDialog in Jetpack Compose the background seems to be a bit dark, is there a way to adjust the background alpha or make it transparent? For eg: The White background in thi...

4

Solved

background i have a master bitmap that i need to draw on it other bitmaps. the master bitmap has some semi-transparent pixels (pixels with variant values for the alpha channel) , so that the othe...
Comprehend asked 9/7, 2013 at 15:27

10

Solved

How can I overlay a transparent PNG onto another image without losing it's transparency using openCV in python? import cv2 background = cv2.imread('field.jpg') overlay = cv2.imread('dice.png') # ...

3

Solved

I'm building a function to draw custom box plots. I'd like the face of the boxes to be plain with slight transparency and I'd like a thin solid (non-transparent) line around each box face. I've b...
Contemporize asked 22/8, 2015 at 23:59

9

Easy like itself . I wanna make an alpha button , which would have a selected drawable this way: <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com...
Norword asked 18/11, 2011 at 7:45

3

I am loading PNG images that have a transparency plane. When converted to grayscale, the transparent areas in the image appear as black, which seems to be the default background. I need them to be ...
Icj asked 10/8, 2017 at 10:51

17

Solved

I have a PNG image with an alpha channel (i.e. transparency), and I need to create versions with the image layer composed onto a white background. I want to use a scriptable command using a CLI too...
Sagittal asked 24/2, 2010 at 0:4

2

Solved

I am trying to convert images to grayscale using Python/Pillow. I had no difficulty in most images, but then, while testing with different images, I found this logo from the BeeWare project, that I...

3

I need to split a webm encoded video into png frames, without losing transparency. I use the following ffmpeg command: ffmpeg -i dancer1.webm -pix_fmt rgba frames/%04d.png This produces a direct...
Stoffel asked 18/3, 2014 at 16:15

3

Solved

I need to create an alpha-gradient on the edge of the ImageView. Preferably using only XML. Image for example

1

Solved

I have a simple page with a black background. I would like to make it transparent so that the page below is visible but blurred. Someone suggest : <ContentPage xmlns="http://xamarin.com/schema...
Selfimmolation asked 10/6, 2020 at 8:55

3

Solved

i want to draw a bitmap on a canvas with opacity where the bitmap has a transparent color. i could create a bitmap with transparent color and draw it to a canvas i could create a bitmap and draw ...
Chinchy asked 4/11, 2014 at 13:4

4

Solved

I would like to know how to draw semi-transparent shapes in OpenCV, similar to those in the image below (from http://tellthattomycamera.wordpress.com/) I don't need those fancy circles, but I wo...
Arsenopyrite asked 29/6, 2014 at 22:13

5

Solved

I've had this a few times, so here goes: I'm making some plots which hold curves with estimates of a parameter given a tuning parameter. Typically, I also have SDs for each estimated value, so I c...
Adal asked 8/11, 2011 at 8:26

2

I am trying to push a view controller with transparency mode. This is my code: SearchViewController * searchViewController= [self.storyboard instantiateViewControllerWithIdentifier:@"SearchViewCo...

4

Solved

I have following markup <body> <div class="holder"> <div class="circle"></div> </div> </body> and i have applied a fixed background to body element and whi...
Miler asked 7/6, 2013 at 15:1

2

Solved

About how to get a transparent background with a webm video via alpha channel, here is one person that says you should encode with VP8 and not VP9. WebM Alpha only displayed in Chrome? And here is ...
Macri asked 10/6, 2019 at 19:15

10

Solved

According to the documentation for UIVIew @property(nonatomic) CGFloat alpha The value of this property is a floating-point number in the range 0.0 to 1.0, where 0.0 represents totally transpar...
Norvil asked 8/9, 2013 at 8:33

3

Solved

I have a ImageButton View on a Layout. If the users clicks the ImageButton the button should fade out. The buttons fadeout animation will be started like this: public void buttonClicked(View aBut...
Lovejoy asked 25/5, 2012 at 14:27

1

I have simple page with a webm video with transparent background. It works well on desktop. It works well on Chrome for Android version 66 on my android phone running android 9.0 too. But after upg...

4

Solved

How to set given channel of a cv::Mat to a given value efficiently without changing other channels? For example, I want to set its fourth channel (alpha channel) value to 120 (i.e. half transparent...
Quart asked 7/5, 2014 at 6:42

4

Solved

I'm trying to create a plot with a semi-transparent confidence region around the regression line: library(car) library(ggplot2) library(effects) mod <- lm(salary~yrs.service+sex, data=Salaries...
Insurance asked 22/3, 2014 at 18:12

4

Solved

Same title, completely reworded the question though. Why does the alpha work in the first plot but not the second? I'm struggling to see why with hardcoded values the rect is drawn in the right pl...
Doublure asked 8/7, 2013 at 7:48

2

Solved

I'm copying an image. (My actual code is resizing the image but that's not relevant to my question.) My code looks something like this. Image src = ... using (Image dest = new Bitmap(width, heigh...
Ambit asked 18/5, 2012 at 20:2

2

Solved

I'm attempting to draw a transparent mask of combined shapes over the top of an already in place image. I have provided an example of the techniques I'm trying via the dialog code included in this ...
Saunder asked 23/10, 2018 at 13:25

© 2022 - 2024 — McMap. All rights reserved.