Questions tagged [alpha]

An alpha channel determines the transparency of an image or view. Lower values are more transparent, and higher values are more opaque

An alpha channel determines the transparency of an image or view. Lower values are more transparent, and higher values are more opaque

1779 questions
0
votes
1 answer

Find the 4 coordinates of a rotated transparent rectangle in png image

I didn't find anything about the subject, but I am dreaming vividly or is it possible in PHP to scan a PNG image and find the transparent positions in a picture? for example, if there is a image of a TV with a transparent hole where the screen is.…
NaturalBornCamper
  • 3,675
  • 5
  • 39
  • 58
0
votes
1 answer

PHP - alpha sort lines from several files in one directory and save them to files of "x" lines max in alpha named folders

This below goes through files in a directory, reads them and saves them in files of 500 lines max to a new directory. This works great for me (thanks Daniel) but, I need a modification. I would like to save to alpha num based files. First, sort the…
Jim_Bo
  • 317
  • 5
  • 17
0
votes
2 answers

Finding the Alpha given 3 colors

For a JavaScript program I am making, I need to find the alpha value of an overlay layer (#7F7F7F) on top of a color (For example, #4A6CD4), which then had created an output color (For example, #6380DA). So it would look like this: From top to…
J. Doe
  • 1
0
votes
0 answers

Alpha gradient to layout without affecting the views that are under it

I have an activity with a camera preview which is in the background, and over it there is a linear layout with a set of view children. Now, what I want to achieve is to set some kind of selector with an alpha gradient to this linear layout, which…
svprdga
  • 2,171
  • 1
  • 28
  • 51
0
votes
3 answers

Create an invisible view that is interactable in swift

For prototyping I am looking to create a invisible interaction area. If I set the alpha to 0, you can't interact withit. If you set it to hidden, it also does not receive gesture events.
Pbk
  • 2,004
  • 14
  • 11
0
votes
2 answers

QPainter, prevent adding of alpha factors

I'm trying to draw a rectangle with QPainter. This is going well, but I noticed that if I set a pen and a brush on the painter with the same color, the alpha factor of the pen and the brush are added somehow. This causes the line drawn by the pen to…
Frank
  • 2,446
  • 7
  • 33
  • 67
0
votes
1 answer

Is there a way to export alpha/beta users from Google Playstore?

When I' m running Alpha Beta test, I add users to lists when needed with the PlayStore Console. Now I would like to contact all of them. Is there a way to export this list of Gmail adresse ? API or GUI command ? I know we can first put email in a…
Anthony
  • 3,989
  • 2
  • 30
  • 52
0
votes
3 answers

Calculate the "sum" of two RGB colours

I create two colours as follows: red <- rgb(140, 35, 35, alpha=255, max=255) blue <- rgb(35, 35, 140, alpha=0.6*255, max=255) How do I create a new colour which is obtained by overlapping the "transparent" blue over the red? I saw this answer but…
assylias
  • 321,522
  • 82
  • 660
  • 783
0
votes
1 answer

is alpha and is digit in input questions

I'm creating a quiz game where if a user types a number beyond a set amount or a word instead, it forces it to print an error message and go back to the start. I understand how to use the > than for the number, but have tried to use string, string…
0
votes
1 answer

UIButton does not change its alpha while being pushed

I am programming a game with a end screen. It's a view with a UIImageView on it. The imageView has a UIVisualEffectView additionaly. There is a button on my end screen (No, it's not part of the imageView). If you touch it, it won't change it's…
Josef Büttgen
  • 131
  • 2
  • 12
0
votes
1 answer

CSS3 colour opacity whilst naming the colour through keyword, not rgba()

I enjoy using the Extended Colour Keywords from http://www.w3.org/TR/css3-color/#svg-color, but I'd like to be able to specify the opacity/alpha-channel for my color/border-color/background-color, all without having to resort to the decimal or…
cnst
  • 25,870
  • 6
  • 90
  • 122
0
votes
2 answers

Help with Tkinter Alpha

I have a python program that has no windows frame and doesn't show up in the taskbar because of self.overrideredirect(1). This program has an options menu (a top level widget) that allows for the alpha to be adjusted with self.attributes("-alpha",…
rectangletangle
  • 50,393
  • 94
  • 205
  • 275
0
votes
2 answers

Auto Increment Alpha Numeric Field in SQL

I was wondering if there is an easy way to do this, instead of my reinventing the wheel here. I am using SSMS. There is a number JKTUTS0 that needs to auto increment. So the next one would be JKTUTS1, JKTUTS2, JKTUTS3... then JKTUTT0 This is what…
user5438532
0
votes
0 answers

UIView's alpha property's comparison error

Here is my problem: let view = UIView() var alpha: CGFloat = 0.2 view.alpha = alpha if view.alpha == alpha { print("true: \(view.alpha)") } else { print("false: \(view.alpha)") // false: 0.200000002980232 } alpha = 0.5 view.alpha =…
user3379127
  • 271
  • 2
  • 6
0
votes
1 answer

setAlpha in UINavigationController

I am wanting to set the alpha of the titleView in my UINavigationController. Here is the code for this class: #import "FAQNavigationController.h" @implementation FAQNavigationController /* // The designated initializer. Override if you create…
Jesse Bunch
  • 6,651
  • 4
  • 36
  • 59