PDA

View Full Version : Gifs?



Voltrox
18-01-2007, 08:51 PM
Hello.

I am using Photoshop to create an interface for my Delphi program.

The program is circular in shape and I don't want any white background to be shown (hence the use of gif), I used the TImage component of Delphi and it doesn't support gifs, what do I do?

Is there any way in which I can use the graphic in my program but without the background?

Thank you.

Traveler
18-01-2007, 09:18 PM
Gif files were not supported because of copyright issues.

Have a look a this site (http://delphi.about.com/od/graphics/a/delphigif.htm) with info and links to some good components.

czar
18-01-2007, 11:12 PM
I would use PNGs

Voltrox
19-01-2007, 03:34 AM
Thank You. :)

It works.

But, GIF's are so low quality, is there a higher quality alternative?

czar
19-01-2007, 04:22 AM
yes 24 bit pngs

NecroDOME
19-01-2007, 01:05 PM
or .TGA with alpha channel

jasonf
19-01-2007, 01:33 PM
I'm a big fan of PNGs, they're not lossy so if you don't use the alpha channel and use a single colour as a transparent colour, you don't get ugly colour bleeding like you can with jpg files.

The only downside being that they're not as small as jpg or gif files.

I remember the GIF patent issue a few years ago.. what happened in the end? Did it get resolved or did the "Burn Your GIFs" campaign persuade the patent holders that they were being stupid in trying to hold the entire internet to ransom.

Legolas
19-01-2007, 01:52 PM
http://en.wikipedia.org/wiki/Graphics_Interchange_Format

Seems that LZW patent is expired on 2003/2004 in USA, Europe, Canada and Japan. As far as I have understood, gif format should be free now

jasonf
19-01-2007, 02:38 PM
Wikipedia is great isn't it? ;):D

Legolas
19-01-2007, 02:56 PM
Wikipedia is great isn't it? ;):D

Definitely it is :read: :mrgreen:

Voltrox
20-01-2007, 07:22 PM
Photoshop doesn't give me the transparency option when I select 24 bit PNG, but it does when I select 8 bit PNG.

Help?

Robert Kosek
20-01-2007, 07:24 PM
Transparency is assumed in a 24bit PNG, therefore do not illustrate with a background. Hide the background when you do a Save for Web command and the transparency will work; be sure to customize the matte to light or dark depending upon the background lighting you are designing things for.