Hi. I have a JFrame with a JLayeredPane. On the first layer there is a table, then above it there is black transparent layer that allows me options and what-not. I animate the arrival of this transparent layer. However when I do this the panel seems to loose it's transparency, that is until I interact with the base layer, THEN I see through the transparent layer again. Sometimes, when I start interacting with the textfield or button on the transparent level, it starts displaying pieces and bits of the lower layer on the Transparent layer. Am I missing the need …

Member Avatar
Member Avatar
+0 forum 2

![cap1](/attachments/large/3/cap1.png "cap1") Hi, I'm trying to build a simulation environment where male and female individuals move randomly in a map, which have one picturebox and one label each. My problem is, I can't seem to make them transparent (see the picture attached) Person.cs: this.label.BackColor = Color.Transparent this.picturebox.BackColor = Color.Transparent does not work. Also, the png images are transparent outside of the circles. How can I make the pictureboxes and labels completely transparent? Thanks for help!

Member Avatar
Member Avatar
+0 forum 1

I'm not sure if I'm posting this in the right place (or perhaps the right forum for that matter) but it seemed like the most logical place... I am currently collaborating with several people to produce some graphic animation and movie files with alpha channel transparency for use in another program we are working in. One partner (who is working primarily with Mac software) created a video file of the format .MOV. The problem with this being that the other application this video is being used with is strictly Windows based and therefore does not support this QuickTime file format …

Member Avatar
Member Avatar
+0 forum 3

I have my wrapper background colour set with an opacity of 80% using this code [CODE]#wrapper { background: #ffffff; opacity: 0.8; filter:alpha(opacity=80); -moz-opacity:0.8; filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80); -khtml-opacity: 0.8; -ms-filter: “progid:DXImageTransform.Microsoft.Alpha(Opacity=80)”; }[/CODE] It works fine but everything inside of the wrapper is now set to 80% opacity. I have two divs .left and .right and everything including their backgrounds, images, text etc is set to 80% opacity. Is there a workround? something simple that I a missing? Any ideas much appreciated. Kevin

Member Avatar
Member Avatar
+0 forum 12

Hello guys, I've been working with webdesign for like 6 years and never seen something like this. I can't get my PNG image to be transparant! I've exported it on several settings in Photoshop but nothing seems to work. Does anyone has any idea on solving this? http://www.photoshop-leren.nl/ Thanks! Best, Saro

Member Avatar
Member Avatar
+0 forum 1

Hello there. I'm making a simple Pacman game because I'm practicing C# (I've never programmed in C# before), but I ran into a problem. Here is my code: [CODE]void addGhost(object sender, EventArgs ea) { Random random = new Random(); int ghostNum = random.Next(5); // Here I use and enum I've created before, this enum haves the ghosts names, so I can load the images from the *.resx file Bitmap img = (Bitmap) res.GetObject( Enum.GetName(typeof(ghostName),ghostNum).ToLower()); //img.MakeTransparent(img.GetPixel(1,1)); // I'm loading my images from *.png's with transparency already enabled GhostClass aux = new GhostClass(); //Ghost class extends PictureBox aux.Parent = this; aux.Location = …

Member Avatar
+0 forum 0

I would like to build a simple highlighter program. The idea is to set an image to change the cursor so that it will look like a highlighter. And then, when we move the cursor, it will trace a line along with our movement. The requirement here is to be able to draw the line on a transparent background (not fully transparent though, just about 55%). My progress so far is being able to draw the line, with transparent background. However, the line is also transparent. Here's my code : left click to begin drawing, right click to stop, and …

Member Avatar
Member Avatar
+0 forum 5

How do I make a transparent window in Tkinter?

Member Avatar
Member Avatar
+0 forum 5

I'm trying to create a WordPress.com header for rotary7040pr.wordpress.com. I have a layer for the background colour, and have created another layer for text and graphics. So far so good. Now I have a graphic ([url]http://www.rotary7040.com/images/RotaryLogoDropShadow300x288.jpg[/url]) that I want to place on the layer with the text, but I don't know how to make the 'white' part of the background transparent so I don't have a white box. I also believe I need to use alpha channel so the shadow can blend in nicely, but I'm a bit of a novice at graphics. Can someone tell me how to do …

Member Avatar
Member Avatar
+0 forum 2

Here's the scenario: I am coding a program that will display data from a database in a variety of fields. Some of the fields need to be read-only. Should have been simple just to set all those controls to read-only, except some of them are checkboxes, radio buttons and date pickers, which do not support a read-only setting. I could mark them disabled, but that changes the color on the controls, and overriding the colors is more complicated than I want to do. So the solution that I'm trying to implement is to cause an empty label (or other control) …

Member Avatar
Member Avatar
+0 forum 9

Simple script for image transparency. Someone asked one some time ago, and i had other but for a different system, and decided to write a Python/PIL version. The value of the color used as transparent is the value of the pixel at position (0, 0). You can adjust tolerance value. Happy coding!

Member Avatar
Member Avatar
+0 forum 3

I have the problem that pygame.image.save won't save a transparency channel. With one .png image, it simply doesn't save the transparency channel. With plenty of other .png images, it gives me an error when I call pygame.surfarray.pixels_alpha(newSurface). It tells me: ValueError: unsupported colormasks for alpha reference array. Anyone have experience working with the pygame module and saving an image with transparency using it?

Member Avatar
+0 forum 0

Hi, i'm working on simple fullscreen launcher application, to use it with remote on my HTPC media center to launch xbmc, stepmania, nes emulator, etc I'd like to use png icons with transparency, but there is a problem. In alpha channel of loaded icons i can see the back frame's color instead of PNG image loaded as wallpaper. What's wrong and how to solve that problem? Here's the code i've wrote so far: [code=python]try: import Tkinter as tk except ImportError: raise ImportError,"The Tcl/Tk is required to run this program." try: from PIL import Image, ImageTk except ImportError: raise ImportError,"Please install …

Member Avatar
Member Avatar
+0 forum 2

It seems the FTC has issues new regs covering the review of products by bloggers. Below is the link to the Yahoo news piece on this. Basically, under the new regs, bloggers who are reviewing products have to disclose if they are paid in cash, gifts or freebies for their reviews. Many on this forum have discussed this type of blogging in terms of transparency and honesty. Obviously, these regs will make it easier for consumers reading such reviews to understand where reviews may be skewed. Additionally, this will cut down on the number of review opportunities that are available. …

Member Avatar
Member Avatar
+0 forum 4

I am writing a custom slider control, All its functionality is accounted for but now the aesthetics (which was the reason for writing it in the first place) has become problematic. It starts with a custom class that converts true hls and rgb, thats 360 stops not 255. then I have a class that loops through all 360 stops and draws a vertical line on an image, this gives me a 360px wide hue rotation image. I then create a new bitmap, and draw on it a rounded rectangle using a texture brush with the first image. So now I …

Member Avatar
Member Avatar
+0 forum 1

In the age of online transparency, building trust with your consumers is very important in building your online community. Thus, building trust may take time and effort. I would like to know how others on this site have build trust online? [url]http://www.ducttapemarketing.com/blog/2009/08/17/building-trust-online/[/url]

Member Avatar
Member Avatar
+0 forum 2

How do you set or adjust opacity of controls during runtime? (buttons/textbox/etc) I've tried this [CODE=vb] Public Sub setOpacity(ByVal opacity As Integer) Me.BackColor = Color.FromArgb(opacity, 255, 255, 255) End Sub [/CODE] But error returns that it controls does not support opacity. [B]I want my controls to load on runtime with fade-in effects.[/B] Any links to any tutorial?

Member Avatar
Member Avatar
+0 forum 3

As part of the American Recovery and Reinvestment Act of 2009, also known as the stimulus package, states were required to set up websites in a specific format to explain to citizens how the money was spent. The [URL="http://www.goodjobsfirst.org/pdf/ARRAwebreport.pdf"]first look[/URL] at how states have done has come out, and it isn't pretty. According to a report by Good Jobs First, a national policy resource center for grassroots groups and public officials, promoting corporate and government accountability in economic development and smart growth for working families, most states are not doing a very good job so far at explaining how they're …

Member Avatar
+0 forum 0

Busy this weekend? President Barack Obama and his IT staff are [URL="http://www.whitehouse.gov/blog/09/05/21/Opening/"]asking for ideas[/URL] through June 3 to help make government more open. The call for ideas first went out on May 21. So far, there's [URL="http://opengov.ideascale.com/"]1171[/URL]. People can vote thumbs up or thumbs down on the ideas. "Then on June 3rd, the most compelling ideas from the brainstorming will be fleshed out on a weblog in a discussion phase," said Vivek Kundra, Chief Information Officer, and Beth Noveck, Deputy Chief Technology Officer for Open Government, on the White House blog. "On June 15th, we will invite you to use …

Member Avatar
Member Avatar
+0 forum 1

The End.