transparency

Is there a way to control opacity/transparency of the border color using CSS?

Is there a way to control opacity/transparency of the border color using CSS? ...

Drop shadow for PNG image in CSS

HI, i have png image, that has free form (non square). I need to apply drop-shadow effect to this image. The standard approach ... -o-box-shadow: 12px 12px 29px #555; -icab-box-shadow: 12px 12px 29px #555; -khtml-box-shadow: 12px 12px 29px #555; -moz-box-shadow: 12px 12px 29px #555; -webkit-box-shadow: 12px 12px 29px #555;...

MFC - I want to add transparency and shading to the background of my Application but don't know how..

Dear All, I would like to add transparency and shading to my application written using MFC and Visual Studio 2008 Prof. At the moment I am using Ribbons which makes the app look good but the mainframe (is a CFormView based app) is terrible! I hate the grey background color and the blue titles on the groupboxes. Even changing the colors ...

Custom method to rescale a PNG loses transparency

Hey folks, I am working on a j2ME game for java-capable cell phones. I am attempting to scale a transparent PNG with the following method: // method derived from a Snippet from http://snippets.dzone.com/posts/show/3257 // scales an image according to the ratios given as parameters private Image rescaleImage(Image image, double XRatio, ...

How can i calculate where the non transparent part of an image starts and ends with PHP?

Hi people, Here's a question: let's say we have a png image 200x200 that is transparent and there is a shape that starts at x,y (50,50) and has a width of 50px and height 20px. Is there any way with PHP (gdlib or imagemagick) that i could get the position of the shape relative to the image size? For the example given the script should ...

Gesture through Transparent png on iphone

hey is it possible to get hand gesture through a transparent png, in object c? i need to make it possible to zoom on a mapview, but through an imageview, containing a transparent png. iv tried to illustrate this: .png the white in the middle being the mapview underneath the png. anyone know the solution to this? ...

Partially transparent (opacity) HTML5 Canvas drawings

Is it possible to create partially transparent elements on the fly in canvas? Currently I'm setting the whole canvas element's opacity in CSS, but I want to some elements to be more visible then others. Nothing I've found so far indicates that this is possible. ...

How to make DirectX Control partially transparent on C# Form

I have a Windows Form with an image as a background; and I also have a user control which I've added to the form, and renders itself using directx. However, I want the directx UserControl (directx scene) to render partially transparent so that I can see the image background of the form. I have the source code to the managed directx u...

Is it possible to set the transparency of a view in Android?

I would like to change the transparency of a whole View in Android. How can I do that? The View has a nontransparent background. ...

Transparent repaint on UIView

I'm making an iPhone-app with particles moving on a custom UIView, drawn with Core Graphics. I want my particles to leave a trace, so when the view is repainted I want it to fill the background with 0.8 alpha. Anyone knows how to do this? I've tried setting the background color of the view to something transparent in IB, but that doesn...

Timage Transparencies on laptops in Delphi 7

WHAT I AM TRYING TO DO I am trying to draw multiple graphics to a Timage, These graphics that i Draw consist of ordered layers with Foodfills and lines. I use multiple buffers to ensure ordering and double buffering. WHAT I AM DOING procedure DrawScene(); var ObjLength,LineLength,Filllength,Obj,lin,angle,i:integer; Npoints : a...

Intersection Region Color

i have drawn two semitransparent circles which intersect each other. I have found that the intersection region is deeper in color than other regions. is there any way to make the whole shape as one semitransparent color (color shouldn't be deeper in one area than others)? For more details: http://yfrog.com/0sneedtosolvep is it possible...

How do I make Tkinter support PNG transparency?

I put in a partially transparent PNG image in Tkinter and all I get is this How do I make the dark triangle on the right clear? (like it's supposed to be) This is python 2.6 on Windows 7, btw. ...

AggPas Delphi Drawing Transparencies

What im trying to do I have a drawing procedure (it works) it draws to a bitmap "OBJmap" it then puts OBJmap into Wholemap,, this all works but there is a issue,, it seems to treat the undefined parts of objmap as white even though objmap and wholemap is set as PF32Bit. and hence when it puts objmap into wholemap i get a white box behin...

Why is this code not accepting this png images transparency?

I've isolated the cause of the problem to be the image, since the code seems to work with other png images with transparency. However, it doesn't seem to work with the one image I need it to. This would be of great help seeing as I'm trying to make a nice shaped window. The image: The code: import wx class PictureWindow(wx.Frame):...

Transparency in EPS -- does pdfmark work?

I'm trying to implement an export to EPS feature (in C++), and I'm using the pdfmark (pdf) extensions for transparency, but I have yet to see them have any effect. I'm using Illustrator 14.0 and GSView 4.9 as clients. Even using this example from Adobe's docs produces no transparency. %!PS-Adobe-3.0 EPSF-3.0 %%Creator: xan %%Pages: 1 %%...

PHP GD2: how to maintain alpha channel transparency and correct gamma

I was intrigued by this discussion of image scaling and subsequently found out that the PHP code I'm using to create thumbnails from uploaded images suffers from the same problem. I decided to try the PHP fix posted near the bottom (converting gamma from 2.2 to 1.0, resizing the image, converting gamma back from 1.0 to 2.2). This works t...

j2me devices transparency support

I'm developing an application using j2me for mobile devices. I need to find a way to check if the device supports transparent images or not. Is there a common way to do it? ...

Draw transparent lines on bitmap via touch input

Hi all, I am working on a paint application for Android. Now I want to implement an eraser to allow erasing parts of a loaded bitmap by using touch input and making the bitmap transparent along the finger's path. A very good example of what I try to achieve is shown in the application Steamy Window for Android. Steamy Window simulates...

Is it possible to make a gradient-transparent/layer masking image using canvas?

I've been following the lessons about transparency and gradients on mozillas site https://developer.mozilla.org/en/Canvas_tutorial/Applying_styles_and_colors but I have not been able to figure this one out. I know I can achieve these effects with a png image; however, in the program I am working on the gradient will chance constantly ac...