FAQ Database Discussion Community


Make jtoolbar transparent

java,swing,transparent,jtoolbar
I have a jPanel with background and I want to add a JToolbar on it. My problem is when I add JToolbar its default background is bothering and I set it's opaque to false but has no effect. I want to remove it's default background and make it transparent. I...

labeling and saving transparent layer in photoshop

photoshop,transparent
I am a newbie to photoshop. I have some images that I need to label by hand to feed to a machine learning algorithm for classification. The labeling accepted by the code bundle I will be running on is supposed to depict the features I am interested in, and the...

Transparent shader allows the objects below to show on top

unity3d,shader,transparent
In my scene, the smileys(Quad with png image) are placed at Y:0 and the dots(Quad with tiling 3X3) are placed at Y: -0.25. The shader I need to use for the smileys is Transparent-Diffuse as I am using a circle png image. But the dots I use below are showing...

How to Save UIImage to a Transparent PNG?

ios,objective-c,uiimage,png,transparent
I'm not sure where I'm doing the mistake, that's why I'd like to paste here some block of codes in order to find out what went wrong. I have some PNG images that have transparent background and with using the block of codes below I'm trying save the selected image...

JLabel absorbs background from my mouse pointer coordinates JAVA

java,swing,animation,jlabel,transparent
The code is above. This is an class with score etc. on the left on the window. Each time i move an cursor it shows different "background"under timer i don't know why. This Timer Label is in JPanel no the left which is in some part transparent .How to get...

How to hide scrolled content under fixed transparent header

css,scroll,fixed,transparent
I looked through similar questions here but none have working solution. I want to hide body content under transparent fixed header when scrolled. Here is an example of what I have now : https://jsfiddle.net/nukuf23L/ If it is possible I would prefer pure CSS but JS/JQuery is acceptable also. HTML: <div...

iOS App Crash when receiving warning memory

iphone,c,get,uiimage,transparent
I use two methods to get transparent pixels from UIImage. They are called a lot of times while I drawnig a line in the screen. When the methods start to be called, app crashes, and I get memory warning. I’ve already add @autorelease, and  CGContextFlush(), but it still doesn’t work.How to...

Getting masked area to be transparent?

c++,opencv,transparent,image-manipulation,mask
So far i have managed to use masks and get the second image from the first. But what i want is the black area in second image to be transparent (i.e the output i an trying to get is the third image) Here is the code so far. Please advice...

Transparent gif not transparent?

html,css,png,transparent
I downloaded a transparent png from findicons.com, and I thought that if I placed this png on my html page, that has a gradient colored background, I would only see the icon (a down arrow in this case). Instead, however, I see the icon and a white(ish) box surrounding the...

How to add an image with transparency to a TDbgrid column in delphi?

image,delphi,transparent,dbgrid,tdbgrid
I am trying to add an image to a column on a TDbgrid that takes transparency into account. When drawing the image from a TImageList on the canvas in the DBGridDrawColumnCell procedure, I need the background of the image (the same color as the pixel in the lower left corner)...

setting text color to transparent for hiding accessibility content?

css,screen,accessibility,transparent,reader
I have a bunch of tags with background-images properties that I would like to give some content for screenreaders but I obviously can't give it an alt attribute since they are not <img> tags. Would screenreaders be able to read the content as long as I set the text color...

How can I make a transparent tabPage?

c#,winforms,tabcontrol,transparent,tabpage
How can I make a transparent tabPage? I found solutions like set both Form's BackColor and TransparencyKey to a color like Color.LimeGreen or override OnPaintBackground with a empty method but TabPage doesn't have neither TransparencyKeyproperty norOnPaintBackground` method. How can I do that?

css image cut background transparent

css,background-image,transparent
I need get from a CMS the image and use in next section, side by side of promotion text (grey space), but i've no idea how to create the next effect: Like you can see, square starts in top of left side and the go little down until the right...

How to place an image beneath a semi-transparent layer?

html,css,image,opacity,transparent
I know this has been asked before but I can't find a solution that works! My site contains a green background with a form in the center of it. You can view the jsFiddle here I simply want the image found here to be placed beneath the green layer you...

JlayeredPane Transparency setOpaque not working

java,swing,transparent,jlayeredpane
I am creating a simulation type application, I want one background layer and another layer on top for all of the animations. Im currently using JlayeredPanes but i cannot get the background on the top layer to show as transparent so I can see the background, any help is much...

Qt transparent label doesn't always update its background [duplicate]

qt,background,transparent,libvlc,qlabel
This question is an exact duplicate of: Can not overlay a transparent Qlabel on a QWidget that LibVLC uses 1 answer I have 3 child widgets of the main widget which are aimed to play video files(their sizes and positions are the same, I mean they are overlaying each...

Collapsed navbar is covering content behind it in bootstrap 3.3.4

twitter-bootstrap,navbar,transparent,collapse
I'm using Bootstrap 3.3.4. I need the background of the links in the navbar (once it has collapsed at the breakpoint) to be about 50% transparent so that it's not covering the content behind it. Right now, when I click on "Menu" a big block with the links vertically stacked...

Text on div border with transparent background [duplicate]

html,css,css3,background-image,transparent
This question already has an answer here: How to center the <legend> element - what to use instead of align:center attribute? 7 answers How to put some text on a border div so that text has a transparent background that it matches the image behind? The problem is that...

JavaFX 3D TriangleMesh with transparency

javafx,3d,transparency,transparent,javafx-3d
I have a texture I want to use for a TriangleMesh (it's a simple cube). Some parts of the texture are transparent. When I put the texture on the mesh, it's black. Is there a possibility to change that? I would like to make it transparent. Appreciate your help, thanks...