Questions tagged [transparency]
Transparency is the property of being see-through; a transparent object reveals objects behind it. Transparency is also known as alpha blending. The opposite of transparency is opacity.
3,522
questions
2
votes
1
answer
46
views
How to create a scatter plot with normalized marker transparencies
I have this dataframe :
import pandas as pd
import matplotlib.pyplot as plt
rng = np.random.default_rng(seed=111)
rints = rng.integers(low=0, high=1000, size=(5,5))
df = pd.DataFrame(rints)
0 ...
0
votes
0
answers
20
views
Can't figure out how to get transparency on output .mov file
I'm a graphic designer at a media company and want to build a nametitle generator. The thing is, I want the titles to be animated, so Ive made an animation in after effects and rendered this as a .mov ...
0
votes
0
answers
31
views
How to create transparent pixels in a gif for BufferedImage, then save to a GIF file?
I have code that creates a simple 5x5 array of java.awt.Color, and then uses that to create a java.awt.image.BufferedImage. The edges of the array are an opaque color (alpha = 255) called o, while the ...
1
vote
0
answers
28
views
transparent window can't click through in macos sonoma
i crate a fully transparent NSWindow like this:
NSWindowStyleMask styleMask = NSBorderlessWindowMask | NSFullSizeContentViewWindowMask;
NSWinod *window = [[BrowserNSWindow alloc] ...
0
votes
2
answers
30
views
Flutter see through widget in Stack
So I have this stack:
Stack(
children:[
Widget1(),
Widget2(),
Widget3(),
]);
they're all full screen so you can only see Widget3
But I want to 'see through' these widgets to the one ...
-1
votes
0
answers
29
views
Image changed after resizing in OpenCV
Following is my code.
import cv2
# original dimensions are
# width = 1200 pixels, height = 900 pixels
img = cv2.imread('original.png')
# Get original height and width
print(f"Original ...
1
vote
1
answer
27
views
RAD Studio XE7 - VCL - TSpeedButton lost its background transparency when hovered on Windows 11
In one of my VCL applications I'm using TSpeedButton components as an highlight effect visible when the component is hovered. I reproduced below a minimal example showing how I use a such component.
...
1
vote
0
answers
28
views
Transparency level algorithm is so different in FireMonkey (FMX) applications under Windows and Linux
I'm wondering why the transparency level algorithm is so different in FireMonkey applications under Windows and Linux.
Look at the screenshot.
Under Linux (Ubuntu 22.04.1 LTS), the transparency level ...
0
votes
3
answers
45
views
website with image background : content scrolling under transparent header
I'm using a background image on my website, my header is i position fixed with a transparent background.
I want the main content to be hidden when scrolling under the header.
I managed to achieve this ...
1
vote
2
answers
67
views
Is there a way to add a gradient transparency up to a specific point to a div using CSS?
I'm trying to replicate an effect from the Apple TV+ Smart TV App on my personal website where there's a gradient blur over the background down to a certain point of the webpage, but once you scroll ...
0
votes
0
answers
47
views
Image Transparency Color in FireMonkey (FMX) with Python
I know that the Image component support transparency in the FMX library with Python as long as the image has transparency built into the image, but what if you want to set a certain color to be the ...
1
vote
1
answer
86
views
Resizing TBitmap with alpha channel in Delphi
I have a TBitmap in Delphi with alpha channel. It comes from loading a PNG with a TPNGImage and then extracting the TBitmap.
This works perfectly.
Now, I want to scale this TBitmap, and I found that ...
0
votes
0
answers
45
views
Enable transparent panel with wxWidgets?
What i want to create is:
having a background image in a panel
having a second panel in the foreground with an splitter on the left side
-->the splitter should not affect the size of the ...
0
votes
1
answer
69
views
Unity - Border around opaque area of transparent texture
I've made a transparent texture to use on a glass jar model. (1024 x 1024 PNG)
I've applied the following settings to the texture and the preview looks good.
But when I sample the texture in shader ...
0
votes
0
answers
42
views
WPF: overlaying 3D tiles and transparency
I have been trying to get WPF 3D tiles with transparency to work for interlocking tiles that need to transform and rotate in 3D space. It works (see code) but where tiles overlap, the underlying tile ...
0
votes
0
answers
12
views
because button is white by default in python, png image background becomes white when I add png image
I added this button with "add command-response" in png format, but because the default color of the button is white, when I add a png image, its background becomes white.
[I made the ...
0
votes
0
answers
47
views
Multiple video elements vs. one video element to multiple canvas?
I am working on a project where I require using a large amount of video elements, all with the same source. An example: a page with a list of products on an online store, where I want to display a ...
1
vote
1
answer
34
views
Clipping image to transparent mask
I have these images with associated masks that have transparency, and I want to apply the alpha of the mask onto the original image. For instance:
Image - https://i.imgur.com/8Nb4VJ8.png
Mask - https:/...
0
votes
0
answers
14
views
Maintaining colours of a png texture coloured three.is obj
I have a obj of a T-shirt and png that has different colours. When I apply the png as a texture to the T-shirt mesh, the ones colours show up on lighter colours like white or yellow. But on blue or ...
0
votes
0
answers
23
views
i would like to substract the div child from the parent one to display the background div as background for the child
Ok i don't know if it's possible, but i would like to make a specific element transparent for a div that is not the parent onen something like this
<div class="background">
<div ...
0
votes
0
answers
104
views
Why isn't SetLayeredWindowAttributes() working on my WinUI 3 desktop overlay background?
I'm trying to create a desktop overlay using WINUI 3 (Windows App SDK 1.3).
I'm trying to make the window background transparent, just like you can do in WinForms by using TransparencyKey. However, ...
1
vote
1
answer
170
views
How to set transparent background on Compose Multiplatform view on iOS?
I have the simplest setup in Kotlin with org.jetbrains.compose v 1.4.0
fun MainViewController() =
ComposeUIViewController {
Button(onClick = { }) {
Text("Click me")
...
1
vote
0
answers
39
views
Octave: I've generated a translucid sphere with surfl(), but it gives graphical artifacts. Why, and how to fix/avoid it?
I need to render a translucid sphere so I can render and visualize solid lines inside it and generate images for a publication. But when rendering a sphere with FaceAlpha lesser than 1, a weird ...
0
votes
0
answers
45
views
Transparency incorrect behaviour in unity
Creating two materials with render mode transparent and with two primitives added to the scene I get different faces rendered depending on the distance to the camera.
Both materials red and blue have ...
0
votes
1
answer
26
views
How do I change the transparency of Voxels in Ursina Python?
I'm currently making Minecraft with Ursina Python, and I'm trying to make a glass material, but I can't figure out how to change a voxel's transparency.
I did not try anything because I don't know the ...
0
votes
0
answers
353
views
CustomTkinter CKtEntry Can't set background color to transparent
I am attempting to set the background color (fg_color) to transparent because my CKtEntry widget is sitting atop a label with an image background and I want to be able to see the image background ...
0
votes
0
answers
23
views
Delphi XE8 Maps Marker Generation with transparent areas
I'm currently working on a logistics application. With Delphi XE8 and TMS Maps.
Works great, but I have a problem with markers generated in the program.
The difficulty I'm having is that the markers ...
-1
votes
1
answer
65
views
strange behavior in using Images with transparency in Sikulix v2.0.5
I'm running Sikulix v2.0.5 on a linux machine (ubuntu 22.04 LTS). In order to ingnore background I try to use template images with transparent areas. But as soon as I use transparency Sikulix behave ...
0
votes
1
answer
66
views
Difference between `-flatten` and `-alpha Remove` when converting a multi-page PDF into PNGs with ImageMagick
Usually, when I have a PNG file with a transparent background, that I want to turn into a white background instead, I run:
magick input.png -background white -flatten output.png
However, I don't know ...
0
votes
0
answers
46
views
Identifying transparency in PDF Files from the command line
I first created a transparent pdf file using CairoPDF() in R:
library(Cairo)
CairoPDF("transparent.pdf")
plot( 1:10, (1:10)^2, col="blue", lwd=5 )
lines( 1:10, (1:10)^2 + 1, col=...
0
votes
2
answers
110
views
Bottom nav bar is not getting transparent in flutter
My implementation of bottom nav bar in flutter is not getting transparent when I am using Colors.red.withOpacity(0.2), I am applying transparency to my nav bar because later I want to use backdrop ...
0
votes
1
answer
131
views
Flutter Image fade out at the four edges (Gradient)
I want to apply a gradient into transparency at the four edges of an image in flutter. So it ends up blending with the background like this:
0
votes
0
answers
52
views
Show a transparent PNG (with alpha channel) in vb.net to make a window partially transparent
In my vb.net program, I would like to display an image with alpha channel that makes the window partially transparent.
My goal is to create a window with a custom title bar with custom buttons(which I'...
1
vote
0
answers
72
views
Basic image translation flicker issue
I'm working on a project where I need the ability to load images into the program and drag them around, which means that they will have to be able to overlap. The program needs to be able to work with ...
0
votes
1
answer
371
views
Unity Transparent Background Shows As Black
The png in my game's transparent background shows up as black in unity, anyone know what to do?
I expected it to be a tranparent background but it's not so any help is appreciated.
0
votes
1
answer
23
views
Convert an "8mm vintage film effect" from YouTube to a semi-transparent video (to use in Keynote)?
I found this nice 8mm vintage film effect on YouTube:
https://www.youtube.com/watch?v=t1Qf1rUNC7g
I read somewhere that one could simply import such a thing into e.g. Final Cut Pro and use "...
0
votes
0
answers
30
views
What’s the correct color accumulation formula for volume rendering?
I’m writing a pixel shader (in HLSL, for Direct3D 11) to visualize volumetric data. The source data is a 3D texture with pre-multiplied RGBA values. I need a single RGBA color on output, again with ...
0
votes
1
answer
303
views
FFmpeg library is detecting pixel format of VP9 video stream not correctly
I am using a C code to detect pixel format of VP9 video stream in a WebM container. FFmpeg version 6.0, full shared library build, downloaded from official website. Operating system is Windows 10. I ...
3
votes
1
answer
183
views
How to make the parent widget transparent while a child is opaque
Let's assume the following code, I want to make the container transparent but not the text widget inside of it. Unfortunately, the transparency applied to the child too.
import 'package:flutter/...
2
votes
0
answers
197
views
How to make the MacOS app fully transparent, while flutter widget within is fully visible?
I do have a basic Flutter application and would like to achieve the following goals for the macOS container app:
To make the macOS container app 100% transparent with opacity 0.
To make the Flutter ...
0
votes
1
answer
69
views
Transparency and Depth test in Pyglet
I am trying to render a scene with partially transparent sprites in Pyglet.
I want to activate z depth test to render them but this yields the following:
two images overlapping
The two images ...
0
votes
1
answer
71
views
Exporting .avi video to Unity
I'm making an application with two windows, one a windows form that serves as a controller and the other an instance of unity that renders what the form says. Well the problem I have is when using ...
2
votes
0
answers
87
views
trying display an image on a transparent window using UpdateLayeredWindow method
I'm trying to create a function to render a text from font atlas and display it on screen using UpdateLayeredWindow method. I'm pretty new to C and WINAPI, could someone help me out and tell me why ...
-1
votes
1
answer
159
views
How to extract a single frame while retenaing transparency from a transparent video
I'm trying to extract a single frame from a transparent webm video while retaining transparency.
I tried doing this:
ffmpeg -i input.webm -frames:v 1 -pix_fmt rgba output.png
This extracts a frame ...
0
votes
3
answers
66
views
Transparent image has background
logo.png is a transparent image. But when the web browser loads the web page, it has an invisible square around it. I only want the image to change when I am actually hovering over it, like on the ...
0
votes
0
answers
24
views
i have problem in floatingactionbutton transparency
i faced a problem in transparency in
BottomNavigationView
this was the result of the code
0
votes
1
answer
75
views
Cannot disable QLabel transparency in PyQt6
I have an app that contains a window. No modifications to the default styles have been made.
I want a QLabel to appear when I hover over a particular item in a table, in a datatip style
No matter how ...
1
vote
0
answers
82
views
How can I use images that have transparency in an Astro page?
As far as I can tell from the docs, astrojs/image should support PNG images that have transparency.
When I use:
import { Image } from '@astrojs/image/components'
and then:
import foo from '../../...
1
vote
0
answers
67
views
Transparent layer in tkInter
I'm trying to create a transparent layer on top of the whole screen and display pointer position.
This is what I'm playing with:
#!/usr/bin/python3
import tkinter as tk
from tkinter import ttk
def ...
0
votes
1
answer
49
views
Transparent highlight in XKCD plot?
I would like to use some XKCD style plots on my blog. Here is an example figure:
import matplotlib.pyplot as plt
import numpy as np
with plt.xkcd():
fig = plt.figure()
ax = fig.add_axes((0.1,...