You are here

Transparent Window

12 posts / 0 new
Last post
OliverK
OliverK's picture
Offline
Last seen: 3 years 7 months ago
Developer
Joined: 2007-03-27 15:21
Transparent Window

Okay. This probably is redundant. I want my portable apps menu to be invisiable. The magic color that does this in the computer (HTML code) comes to FFOOFF.

The problem is that when I convert the bitmap (which keeps the color correct) to a jpg, it looses the color code changing it FFOOFE. That one letter makes a heck of a lot of difference (just to the computer), giving me a magenta background.

Does anyone have a way to convert a bmp or png or whatever to a jpg without this loss? I tried InfraView, but I can't convince the computer that it has the lossless jpg conversion plug in. Has someone gotten it to work succesfully?

Any help is appreciated.

John Bentley
John Bentley's picture
Offline
Last seen: 15 years 5 months ago
Developer
Joined: 2006-01-24 13:26
Why can't you use a png?

Why can't you use a png? When compressed with pngout they are usually smaller than jpgs.

cowsay Moo
cowthink 'Dude, why are you staring at me.'

LittleUnkn0wn
Offline
Last seen: 1 year 6 months ago
Joined: 2006-11-02 11:09
I think John said something

I think John said something about their not being any open source libraries or something like that. I could be wrong, but I think I read that somewhere.
-----------------------------------
There are 10 kind of people in this world: those who understand binary, and those with friends.

John Bentley
John Bentley's picture
Offline
Last seen: 15 years 5 months ago
Developer
Joined: 2006-01-24 13:26
I thought you meant for

I thought you meant for transportation over the web. JPG can't be used for the PAM either so the best idea would be a 7zed bitmap.

cowsay Moo
cowthink 'Dude, why are you staring at me.'

Bahamut
Bahamut's picture
Offline
Last seen: 13 years 1 month ago
Joined: 2006-04-07 08:44
libpng is open-source.

libpng is open-source. Pardon

Vintage!

LittleUnkn0wn
Offline
Last seen: 1 year 6 months ago
Joined: 2006-11-02 11:09
Well

Then I was wrong. Oops.
-----------------------------------
There are 10 kind of people in this world: those who understand binary, and those with friends.

ZachHudock
ZachHudock's picture
Offline
Last seen: 2 years 3 weeks ago
Developer
Joined: 2006-12-06 18:07
yes it is, but the menu is

yes it is, but the menu is coded in Delphi...John said there are no open source Delphi png libraries

_____________________________
I don't believe in signatures

The developer formerly known as ZGitRDun8705

John T. Haller
John T. Haller's picture
Offline
Last seen: 6 hours 56 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
BMP

That's what the BMP is for. It's the top part in mine (since only the top part has transparent areas). But you can provide a BMP of the whole thing if you need to for your theme.

A much better theming engine is coming in the next release, and you won't need to do this anymore.

Sometimes, the impossible can become possible, if you're awesome!

LittleUnkn0wn
Offline
Last seen: 1 year 6 months ago
Joined: 2006-11-02 11:09
Thanks!

I hadn't thought of a full-size BMP. It worked great!
-----------------------------------
There are 10 kind of people in this world: those who understand binary, and those with friends.

OliverK
OliverK's picture
Offline
Last seen: 3 years 7 months ago
Developer
Joined: 2007-03-27 15:21
?

So how do I make it recognize the bmp? I treid stufing a .jpg on th eend of the file name, but your menu still doesn't use it.
There are 10 types of people in the world.

Those who understand Binary
and Those who don't

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

LittleUnkn0wn
Offline
Last seen: 1 year 6 months ago
Joined: 2006-11-02 11:09
Fix

Make background_top.bmp full size, i.e. the size of the menu, with the areas of desired transparency set to magenta
=====================
There are 10 kind of people in this world: those who understand binary, and those with friends.

OliverK
OliverK's picture
Offline
Last seen: 3 years 7 months ago
Developer
Joined: 2007-03-27 15:21
DANG!

now I feel like a doofus. good idea!

There are 10 types of people in the world.

Those who understand Binary
and Those who don't

Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world

Log in or register to post comments