Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Banned
    Join Date
    Mar 2003
    Posts
    224
    Thanks
    0
    Thanked 0 Times in 0 Posts

    transcluent background

    Hello, How can I apply a 50% opacity to a background?

  • #2
    New to the CF scene
    Join Date
    Apr 2003
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Creat your graphic and save it in Gif will works. Jpeg doesn't.

    Hope this helps.

  • #3
    Banned
    Join Date
    Mar 2003
    Posts
    224
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I mean from a gif and the background of a page

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Location
    Beyond Lament
    Posts
    424
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What's behind the background?

  • #5
    Regular Coder
    Join Date
    Feb 2003
    Posts
    101
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by light_wt
    Creat your graphic and save it in Gif will works. Jpeg doesn't.

    Hope this helps.
    I thought .gif only support fully transparent attribut...am I wrong?
    of so, how do I "save" it?

  • #6
    Banned
    Join Date
    Mar 2003
    Posts
    224
    Thanks
    0
    Thanked 0 Times in 0 Posts
    yeah, I tried a 50% opacity. it appeared full. How can I make it where it actually supports opacity?

  • #7
    Regular Coder
    Join Date
    Jun 2002
    Location
    Beyond Lament
    Posts
    424
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Try PNG.

    I've had problems making PNGs transparent, but have heard others say it's possible...
    Quíet Storm Designs ~ Art is not what you see, but what you make others see.
    · the Storms· || ·Ultraviolent Winter· || ·Was Einstein Wrong?· || ·It´s About Time!·

  • #8
    Master Coder
    Join Date
    Feb 2003
    Location
    Umeċ, Sweden
    Posts
    5,575
    Thanks
    0
    Thanked 83 Times in 74 Posts
    You can currently expect op7, moz and iem to fully support alpha transparency images (PNGs). You can also get it in iew, but with some trickery. You can't get repeating backgrounds, for one. KDE said previously that they wouldn't add support for alpha transparency in konq because of the performance impact they would get from them, but that was a long time ago. Maybe it's changed. If not, expect Apple to add it in saf and give back to the community.

    Mozilla also added support for CSS3-Color rgba and hsla through the extension values -moz-rgba() and -moz-hsla() not too long ago.


    Also note that alpha transparency on anything that's not static has a terrible impact on performance. Have a few alpha transparency images bounce against the sides ot the browser window for awhile, and moz will run the speed of a snail who's had one too many trucks running it over.
    liorean <[lio@wg]>
    Articles: RegEx evolt wsabstract , Named Arguments
    Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
    Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards

  • #9
    Banned
    Join Date
    Mar 2003
    Posts
    224
    Thanks
    0
    Thanked 0 Times in 0 Posts

    well....

    on roys site his image things he has some opacity. Maybe I could do something like that, take a screenshot then use that so it appears to be transparent?

  • #10
    Regular Coder
    Join Date
    Feb 2003
    Posts
    101
    Thanks
    0
    Thanked 0 Times in 0 Posts
    @liorean, thx for the info. but it's just the theory...and on practice how do I do it? what software I can use? how about windows support? IE?
    does Adobe Photoshop 7 can do it?

  • #11
    Master Coder
    Join Date
    Feb 2003
    Location
    Umeċ, Sweden
    Posts
    5,575
    Thanks
    0
    Thanked 83 Times in 74 Posts
    Adobe Photoshop can do it, but it's not really that good at it. The GIMP know it pretty well. Macromedia Fireworks is excellent at it.

    As I said, iew doesn't support it without some trickery.
    liorean <[lio@wg]>
    Articles: RegEx evolt wsabstract , Named Arguments
    Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
    Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards

  • #12
    Regular Coder
    Join Date
    Feb 2003
    Posts
    101
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by liorean
    As I said, iew doesn't support it without some trickery. [/B]
    iew = IE eh?
    thx!
    but, what kind of trickery? if u know any source where we should look for it, would u provide it? thx.

  • #13
    Master Coder
    Join Date
    Feb 2003
    Location
    Umeċ, Sweden
    Posts
    5,575
    Thanks
    0
    Thanked 83 Times in 74 Posts
    iew = Internet Explorer for Windows. In this case 5.5 or above. Internet Explorer for Macintosh is an entirely different beast. In most cases, you should consider them entirely separate browsers.

    The best source is <http://webfx.eae.net/dhtml/pngbehavior/pngbehavior.html>.
    liorean <[lio@wg]>
    Articles: RegEx evolt wsabstract , Named Arguments
    Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
    Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards

  • #14
    Regular Coder
    Join Date
    Nov 2002
    Posts
    672
    Thanks
    1
    Thanked 1 Time in 1 Post
    What are some good PNG programs? I use Bmp2Png and PngCrush. With those, I made a 10 kb bmp file (200x24, 56 colors) down to about 100 bytes. Gif format could not make it less than 1 kb. Though the conversion programs I used don't seem to do any transparency effects, it did say something about it. But I don't know how to use it. Both are command-line DOS programs btw.

  • #15
    Master Coder
    Join Date
    Feb 2003
    Location
    Umeċ, Sweden
    Posts
    5,575
    Thanks
    0
    Thanked 83 Times in 74 Posts
    pngcrush, pngquant (this does alpha) and the GIMP (unless you want to pay for the graphics editor) are the tools to use. Photoshop makes really large and unwieldy pngs - I've even seen it produce pngs that are larger than the uncompressed png was.
    Macromedia Fireworks is really, really good for pngs. pngcrush can seldom reduce file sizes that very much when Fireworks is the source.
    liorean <[lio@wg]>
    Articles: RegEx evolt wsabstract , Named Arguments
    Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
    Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards


  •  
    Page 1 of 2 12 LastLast

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •