Transparency with *png in MHP with DVBAlphaComposite-what's the problem?
Hello!
I know this topic exists already, but it could not help me with my problem:
I want an HIcon with an transparent picture in it but I am not able to get any transparency..To me that code seems to be right,
but when testing it with the IRT RI, the Graphic is opaque..
Does anybody see what i am missing?
public void startXlet() throws XletStateChangeException {
MediaTracker tracker = new MediaTracker(this);
picture = Toolkit.getDefaultToolkit().getImage("AlphaGrafik.png");
tracker.addImage(bild, 0);
try{
tracker.waitForAll();
catch(InterruptedException e) {
picture = null;
cont = new HContainer(0, 0, 720 , 576);
icon1 = new HStaticIcon(picture, 0, 0, 720, 576);
cont.add(icon1);
scene.add(cont);
scene.setVisible(true);
icon1.requestFocus();
public void alpha(Graphics g){
DVBAlphaComposite compositeRule = DVBAlphaComposite.getInstance(DVBAlphaComposite.SRC_OVER, (float)0.5);
DVBGraphics image = (DVBGraphics)g;
try {
image.setDVBComposite(compositeRule);
catch (org.dvb.ui.UnsupportedDrawingOperationException ex) {
System.out.println("Exception: " + ex);
image.drawImage(picture,0,0,null);
Any help is very useful for me!
Regards, Alex.
I have simular problem applying alpha composing to Graphic layers.
If I draw graphic elements like circle or rectangular with some color or draw images with transparency (Alpha) then I can see only background IFame under top element. It seams when I draw something on graphic layer then middleware compose background video layer and DVB colors of element that I am drawing at the moment. Colors of elements that placed under the top element are ignored. I tried verious composing rules but It does not give any correct result. It seams middleware does not suppot alpha composing at this moment. Did you get some exception applying alpha composing?
I use Alticast MHP middleware installed on my Humax STB
Similar Messages
-
My father's MAc is still on Snow Lepoard. Ovewr the weekend his Mail sent out over 400 emails to contacts. We were unable to delete the messages. 1. Does anyone know what the problem is 2. If so how can we fix it.
PBThanks. Will di immediately. Do you think I need to change the address as well or should just the password be sufficient.
PB -
cannot advance past the second frame
Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
* Don't make any changes on the Safe mode start window.
See:
* [[Troubleshooting extensions and themes]]
See also:
* http://kb.mozillazine.org/Images_or_animations_do_not_load
* You can see the permissions for the domain in the current tab in Tools > Page Info > Permissions
* You can see all exceptions in Tools > Options > Content: Load Images > Exceptions
* You can check the Tools > Page Info > Media tab for blocked images (scroll through all the images)
There are also extensions (Tools > Add-ons > Extensions) that can block images. -
What is the problem with fonts changing to myriad pro? Is this problem ever going to be resolved? Its driving me mad!
Browser Dog, Amy,
The default font remains Myriad Pro until you change it, either in the RGB/CMYK Startup files or in the preferences, options depending on versions.
Concerning missing font names, I believe this may solve it:
Open System Preferences and go to Accessibility. Next, select Display from the source list along the left, then check the box labelled Reduce transparency.
It was first presented in this post #15 by TheUlser: -
My MacBook Pro with Lion 10.7.2, only audio on the headset, and speaker mute. With Windows, the audio works in speaker and headphone jack. What is the problem? What's the solution?
There is probably a red light on inside your headphone port, indicating that the analog/digital switch in there is stuck in the digital position. Insert a headphone plug and wigle it around, especially in the horizontal plane, as you insert and remove it several times. This will usually unstick the switch and restore normal operation. If it doesn't, the machine will need to be repaired.
This has been a fairly common problem, but in most cases it is easily cured as described above. -
My Ipod touch is frozen. The screen shows only USB cable with arrow point to the word Itunes. What is the problem? This is the second touch I have had that has this same problem. HELP!
This time try restoring the iPod to factory defaults/new iPod instead of from backup. You may have some corruption that is causing the problem and it may now be in the backup. If the problem persists after restoring to factory defaults/new iPod. then you likely have a hardware problem and ana ppointment at the Genius Bar of an Apple store is in order.
-
I recently upgraded to iTunes 11.1.5 and now my iPod Nano is not recognized in iTunes. I also upgraded my iPhone 5s to iOS 7.1. i Tunes on my computer does recognize my iPhone. What is the problem with my iPod Nano not being recognized?
I would think, Twins1995, that if we are having the problem, others are as well. Hopefully, Apple will shortly issue a follow-up software release to fix the problem. Or is that just wishful thinking on my part.
It would be helpful, if there were some kind of work-around in the interim, so we can use our devices. Pretty frustrating when you consider that all of the hardware and software is produced by Apple. -
My MacBook Pro turns on but not all the way, it gives me an icon of a grey folder with a question mark in the middle, and won't go further that that. Anyone knows why, or what's the problem?
If these do not resolve the issue or if you are not comfortable with proceeding through these steps then take your Mac to an Apple store or an Apple Authorized Service Provider. An Apple store will perform these initial steps, diagnose the problem, and give an estimate for repairs (if needed). If the Mac is less than one year old or is covered by AppleCare any repairs would be free.
Genius reservation http://www.apple.com/retail/geniusbar/ .
or find an Apple Authorized Service Provider https://locate.apple.com/country -
I have replaced my ibook hard drive but when I start up I get a folder with a flashing question mark. I have tried installing the OSX disk using the "C" key but can't get any further than the flashing "?." What do I do? What is the problem?
Which iBook do you have?
http://support.apple.com/kb/HT1772?viewlocale=en_US
Which version of the OS is installed, and which version are you trying to install?
You could try starting up with Startup Manager and see if it will allow you to select the OS X install disc as the startup disk. If so, maybe you can proceed from there. I would recommend repairing the hard drive first since you are evidently having a bit of a problem with it. -
I have an iBook g4 14" 1.42 ghz. I recently installed a new hard drive. I put the install CD in. Then, I pressed the power button, then the "C" key. Black screen and No chiming. Please tell me, what I can do to resolve this? What is the problem with it?
Since it will not boot then a hardware test can't be run. You could try FireWire Target Disk Mode and if it works then access from another Mac to run tests on the new drive. You could also try installing the OS X software from the host computer. If this does not work then professional help should be considered.
http://support.apple.com/kb/ht1661
http://osxdaily.com/2010/04/07/how-to-boot-a-mac-in-target-disk-mode/
http://www.macobserver.com/tmo/answers/how-to-use-target-disk-mode-to-boot-from- another-macs-hard-drive -
My iphone 5 won't charge and it's in perfect condition, I dont drop it and it's not cracked. I tried multiple chargers, none of them are damaged and my outlets work with other things so the problem is my phone. What's wrong with it and what should I do? Please help me I need my phone for work.
Make sure there's nothing blocking a contact in the charging port of the phone.
-
I connected my ipod touch 4g wi-fi with laptop ad hoc network....it's showing wi-fi signals but internet is not working...what is the problem in that can anyone help me...inadvances thanks
my laptop is Windows 7 and ip is this
192.168.102.12
255.255.255.0
192.168.102.1
DNS
192.168.254.2
192.168.254.3
in ipod touch 4g is DHCP and its showing
ip address 169.254.192.139
subnet mask 255.255.0.0.
remaining all blank -
Why is my Apple ID working on the Apple Website on the computer but not restoring my ipad... What is the problem with it????
LeesaHeeley wrote:
When I go to settings/iTunes App Store my Apple ID is not there. When I enter my ID and password it does not save or link to account.
When fist setting up your new iphone you will be asked to log in with an apple id and password. If this did not happen you can then do as you suggested going to settings to itunes and app store and add your apple id login. This apple id login must have already been created for the iphone to accept it. If this apple id is already created but is not being accepted by your iphone you then should shut down your iphone and restart the device.
Good luck. -
If someone could help out, it would be greatly appreciated
AnnoyedAppleUser2 wrote:
I was recently trying to buy 'Cloudy With a Chance of Meatballs' for my IPad, but it will not let me purchase the film, what is the problem and how can I fix it?
If someone could help out, it would be greatly appreciated
What does "it will not let me purchase it" mean exactly? Are you getting an error message? -
hi
when i enter to some site like "http://www.mehrnews.com/en/" , a massage appear that a file with this name "xstat_save" want to save in hard disk.type of file is "aspx"
what is the problem?
plz help me
thanks for your attentionYou usually see such a dialog to save a file if you have ad-blocking or security software that remove the GET data appended to a link to specify which file to load from the server.
Maybe you are looking for
-
Secure Links to iTunes Store failed.
I've loaded iTunes 10.3.1.55 onto my PC using Windows 7. The files were downloaded onto folder C:\Program Files (x86)\iTunes. When I run the diagnostics I get the problem above. Microsoft Windows 7 x64 Home Premium Edition Service Pack 1 (Build 7601)
-
How can I adjust the width of email display so text remains within the width of display
Most emails are narrow enough to fit within the width of my display, occasionally I receive an email that spills of the edge of my screen and I need to move focus of my display back & firth with every line, is there a way to display in word wrap.?
-
NW and ECC 6.0 Integration
Hi, Can any one explain the process for Integration of Netweaver and ECC 6.0. Thanks in advance
-
Problem Registering with Shared Services
Hi all. I have this problem: I'm installing Hyperion 11.1.1.3. I installed and configured Shared Services in server "sa02". I installed Essbase in "bd01" and registered fine to Shared Services. But, when I'm trying configure EAS (in "sa02"), it can't
-
How to add a virtual disk into a 'guest VM' after VM has been created?
Well, it was easy when one need to add a virtual disk before creating a guest VM. All need to do was to edit the template and click on disk tab and create a virtual disk. However the challenge comes after created a 'guest VM'. I need to add additiona