Results 1 to 17 of 17

Thread: how do make a gif file transparent?

  1. #1

    Thread Starter
    Fanatic Member Vanguard-MnC's Avatar
    Join Date
    Apr 2002
    Location
    Inactive for like ever.
    Posts
    628

    how do make a gif file transparent?

    how do make it so you can make a gif file transparent? And how do let the user choose the color that becomes transparent? btw this is for vb!

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    I am bumping your post for you.

    I didn't know you could do that in VB... just image editors.

  3. #3
    PowerPoster Pc_Madness's Avatar
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    2,765
    I don't think thats possible in VB.... At least not with Picture/Image/Gif98
    Don't Rate my posts.

  4. #4
    Fanatic Member sbasak's Avatar
    Join Date
    Aug 2001
    Location
    Globe Trotter
    Posts
    524
    I don't know how to do it in VB but you can do it in Microsoft Photo Editor (that comes with Office 97/2000) and many other graphic programs
    Life is a one way journey, not a destination. Travel it with a smile and never regret anything.
    Yesterday is history, tomorrow is a mystery, today is gift - that's why we call it present.

  5. #5
    Bouncy Member darre1's Avatar
    Join Date
    May 2001
    Location
    Peterborough, UK
    Posts
    3,828
    ok this is a theory....

    i'm assuming that somewhere in the gif file there is probably just 1 byte of info that states which color is transparent in that particular file.

    If this is correct then it would be logical that it is either very near the beginning of the file or very near the end of the file.

    so if you knew the file structure of the gif file you could read the file in binary and change this byte of info.

    In theory!

    My advice is to look for gif file info on www.wotsit.org
    Confucious say, "Man standing naked in biscuit barrel not necessarily ****ing crackers."

    Don't forget to format your code in your posts

  6. #6
    Bouncy Member darre1's Avatar
    Join Date
    May 2001
    Location
    Peterborough, UK
    Posts
    3,828
    actually reading back what i read the above theory sounds quite feasable
    Confucious say, "Man standing naked in biscuit barrel not necessarily ****ing crackers."

    Don't forget to format your code in your posts

  7. #7
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Originally posted by darre1
    actually reading back what i read the above theory sounds quite feasable
    You MIGHT be RIGHT.... I was just working with Front Page Express and there was an option to set a certain color transparent. That's when It struck me (my table lamp).

    If you have some sort of a hex editor or something of the sort, you could take a look there.

  8. #8
    Bouncy Member darre1's Avatar
    Join Date
    May 2001
    Location
    Peterborough, UK
    Posts
    3,828
    well here's the gif file info file anyway
    Attached Files Attached Files
    Confucious say, "Man standing naked in biscuit barrel not necessarily ****ing crackers."

    Don't forget to format your code in your posts

  9. #9
    Frenzied Member TomGibbons's Avatar
    Join Date
    Feb 2002
    Location
    San Diego, CA Previous Location: UK
    Posts
    1,345
    Originally posted by mendhak
    I am bumping your post for you.
    Wgy do people do this? I've seen it done before but never
    understood it

  10. #10
    Bouncy Member darre1's Avatar
    Join Date
    May 2001
    Location
    Peterborough, UK
    Posts
    3,828
    Originally posted by TomGibbons


    Wgy do people do this? I've seen it done before but never
    understood it
    just an expression

    if no-one replies to your post then it will eventually drop off the bottom of the 1st page in the forum questions list and then chances are no-one will ever reply to it, so by replying to it even if you dont know the answer he's *bumped* it back up to the top. done you a favour basically
    Confucious say, "Man standing naked in biscuit barrel not necessarily ****ing crackers."

    Don't forget to format your code in your posts

  11. #11
    Frenzied Member TomGibbons's Avatar
    Join Date
    Feb 2002
    Location
    San Diego, CA Previous Location: UK
    Posts
    1,345
    Thanks

  12. #12
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Originally posted by TomGibbons


    Wgy do people do this? I've seen it done before but never
    understood it
    Bump





    Originally posted by darre1


    just an expression

    if no-one replies to your post then it will eventually drop off the bottom of the 1st page in the forum questions list and then chances are no-one will ever reply to it, so by replying to it even if you dont know the answer he's *bumped* it back up to the top. done you a favour basically

    dude... you are STONED.


    If you didn't understand that, here it is in UNSTONED language:

    You post something. Nobody replies. So you just reply to your own post with the message "bump" so that it goes to the top again. Then you start hoping that someone will see it and reply to it.

    But nobody does. So you go out and get stoned. Then you come back and give replies like this:




    just an expression

    if no-one replies to your post then it will eventually drop off the bottom of the 1st page in the forum questions list and then chances are no-one will ever reply to it, so by replying to it even if you dont know the answer he's *bumped* it back up to the top. done you a favour basically

  13. #13
    Bouncy Member darre1's Avatar
    Join Date
    May 2001
    Location
    Peterborough, UK
    Posts
    3,828
    nope. i aint stoned
    Confucious say, "Man standing naked in biscuit barrel not necessarily ****ing crackers."

    Don't forget to format your code in your posts

  14. #14
    Hyperactive Member Dinz's Avatar
    Join Date
    Jan 2002
    Posts
    359


    what the hell goin on........wastage of time,space and bandwidth
    !!!NobodyisPerfect......IamNOBODY!!!
    How's your wife and my kids?.....

    Never argue with an idiot. They drag you down to their level then beat you with experience!

    Child says : Mummy mummy, can i play with grandpa ?
    Mum says : NO, you have already dug him up twice.

    Galahtec The VB Forum

  15. #15
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Originally posted by darre1
    nope. i aint stoned
    Of course you're not!!!
    I am!!



    BTW, if you open up a JPG or a GIF in notepad and change a few letters around, you get really cool effects. (or crappy, depends on your POV) so you might NOT want to try it.

  16. #16
    Bouncy Member darre1's Avatar
    Join Date
    May 2001
    Location
    Peterborough, UK
    Posts
    3,828
    Originally posted by Dinz


    what the hell goin on........wastage of time,space and bandwidth
    i didnt start it
    Confucious say, "Man standing naked in biscuit barrel not necessarily ****ing crackers."

    Don't forget to format your code in your posts

  17. #17
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Originally posted by Dinz


    what the hell goin on........wastage of time,space and bandwidth

    Relax. they have about 250MB of space before it gets deleted, oldest first.



    And I didn't start it either.

Posting Permissions

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



Click Here to Expand Forum to Full Width