Questions tagged [alpha-transparency]

The alpha transparency of an image defines how transparent the pixels of this image are. Typically, each pixel has an alpha value between 0 (fully transparent) and 255 (fully opaque).

Alpha transparency is an attribute of pixels within an image (or image layer) which determines how transparent the pixel is, by blending the pixel color with the color of the pixel in the layer beneath it. most image editing software allow to edit a layer or image alpha transparency. The alpha value is saved in addition to the RGB value of the pixel. Ranges of transparency may change according to the software setup.

Alpha Transparency as part of Alpha Compositing.

468 questions
0
votes
2 answers

wxwidgets transparent client area

i've searched for a solution but I didn't find any solution. In native Win32 it is possible to make the clientarea of a framedwindow transparent: HWND hwnd = (HWND)GetHandle(); SetWindowLong(hwnd, GWL_EXSTYLE, GetWindowLong(hwnd, GWL_EXSTYLE) |…
user1392416
0
votes
2 answers

How Can I use Graphics.CopyFromScreen to enable alpha transparent controls?

I am trying to use (and this may be my problem already) e.Graphics.CopyFromScreen() in the OnPaint() method of my control to prepare a background onto which I can draw the content of the control. The goal is a tool-tip with rounded corners and other…
J Collins
  • 2,106
  • 1
  • 23
  • 30
-1
votes
1 answer

How to make a Form of Winforms and pictureBox control display png images transparency without the outline?

I have an application using png type and GIF with transparency in the background. So I want to display them in Winforms using PictureBox, but they still have the outline or something outside the images that seem unclear as photoshop does. I have…
-1
votes
1 answer

Alpha in 2D game texture - Unity

I want to add a background to my 2D game. The full-image has transparent areas, and I also want to set the alpha of the opaque ones. It is a texture, I need to change the offset of this for the parallax effect. I am looking for a solution to do…
Diego Garcia
  • 555
  • 2
  • 6
  • 20
-1
votes
1 answer

PHP GD inappropriate transparancy

When i cropped a png image using php gd library it cropped in a strange way. As it is partially cropped. I think the transparency is not working properly. Here is my code imagesavealpha($this->image, true); $bg =…
Shahid Karimi
  • 4,096
  • 17
  • 62
  • 104
-1
votes
1 answer

Delphi: Alphablending two Timages

I have on a Form two TImages. One is fixed (BackgroundImage - Car) and the other one is movable and is always in front (FrontImage - Tree). When both Images overlap the FrontImage should be transparent. I tried the exact code from the answer by…
-1
votes
2 answers

How to make view transparent?

From above attached picture i need like as shown in green rectangle.so view will be transparent i do like @null,@color/transparent but did not match with my requirement. This is my requirement:-
sagar potdar
  • 598
  • 1
  • 6
  • 22
-1
votes
1 answer

C# - save base64 string to image file without losing transparency

I am trying to write a method that takes image data in base64 string and saves it into a binary file while preserving transparency (for example in case of PNGs). My other requirement is that this needs to be done in C# in PCL (Portable Class…
-1
votes
1 answer

Overlaying Bitmaps using ARGB and Graphics C#

i am trying to overlay two bitmaps I have 2 ARGB (Format32bppArgb) bitmaps. Bitmap "A" has some regions of pixels with an apha channel value of 0 (transparent) and others with a value ranging from ~200 - 255. Bitmap "B" pixels all have alpha…
Justin D
  • 41
  • 7
-1
votes
1 answer

Java Nesting Panels Transparency issue with alpha value

I'm a third grade computer engineer student and I'm trying to do a game project. I added a background image to my JFrame. And I tried to make the other panels transparent which I added to frame. I use alpha value for this, Ex: new Color(0,0,0,125).…
-1
votes
2 answers

*.bmp loses transparent background if using v6 ImageList Control

I'm sorry, my english is not very good. I need to use semi-transparent bitmap pictures in my D7 app. So, i should use XPManifest and ImageList version6 instead of 5.8 standard one. But in this case, I faced a problev: all images loses their…
user1443993
  • 371
  • 4
  • 10
-1
votes
2 answers

White borders around image

How do i remove white borders around an image when used on different…
-2
votes
2 answers

Java Scratch Card demo

Building a lottery scratch-card app in Java. Have allot of it done, just need help with the scratching functionality. Basically the program works like this: create image for the background (right now its just a white background, but later would…
aubreybourke
  • 439
  • 1
  • 5
  • 17
-2
votes
1 answer

How to get focus back on transparent (ClickThrough enabeled) Window

I am working on an application in which a window is transparent initially,then on a key press (say shift+tab) window should be Not ClickThrough. Code which I use to get ClickThrough is as follow: _hwnd = CreateWindowEx(WS_EX_LAYERED |…
Ahmad Raza
  • 1,923
  • 2
  • 14
  • 19
-2
votes
1 answer

Creating transparent PNG images in PHP with GD leaves fuzzy edges

I have a transparent logo in a png file. I'm trying to create a transparent box image which would be the background for the logo. So the final image would be a merge of the programmatically-created, transparent png and the transparent logo from the…
chavab_1
  • 237
  • 2
  • 10
1 2 3
31
32