transparent images - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

transparent images

ixzixz Posts: 29Member
how can i make an image shaped like this
|--------/
|-------/
|------/
|-----/
|----/
|---/ (triangle)
|--/
|-/
|/

to be halfly visible
i mean that the whole image is a square but the browser shows only a half (triangle) of it
i don't know if that was clear enough but if you get what i mean then please help!



[blue][b]I[/b]xz[/blue]

Comments

  • JonathanJonathan Posts: 2,914Member
    Hi,

    You need the image to be saved in the .gif format and also need to use some kind of GIF editing software that is able to create transparent areas, e.g. Animation Shop (comes with Paint Shop Pro).

    Hope this helps!

    Jonathan

    ------------------------------------------
    Count downloads from your site for free!
    http://www.downloadcounter.com/

  • ixzixz Posts: 29Member
    : Hi,
    :
    : You need the image to be saved in the .gif format and also need to use some kind of GIF editing software that is able to create transparent areas, e.g. Animation Shop (comes with Paint Shop Pro)





    i want the transparent parts to be so that i can put some text or pictures or other elements on it
    [blue][b]I[/b]xz[/blue]

  • Secret_DoomSecret_Doom Posts: 116Member
    Hi. Let me see if I've got what you meant:

    You have an image in shape of retangle (or square), but ypu want to make half of it invisible (in the shape of a triangle), is that it?

    Well, that could be kinda difficult... I think we could do in the following shape:

    |-----------|
    |----------|
    |---------|
    |--------|
    |-------|
    |------|
    |-----|
    |----|
    |---|
    |--|
    |-|
    ||

    Using multiple DIVs with the background color as the page's background, that's possible. By reducing the DIVs spacement, we could "raise the resolution" of that shape.

    But I already said, it could be difficult...

    IF we could put a div in the diagon position it would be easy, but I don't know how to do that (don't even know it that's possible!)

    -- Secret_Doom - Leonardo Pignataro --

    [email protected]
    www.batch.hpg.com.br
Sign In or Register to comment.