How to change the brightness or apply transperency to a part/ an image?

Discussion in 'Perl Misc' started by Oliver Bleckmann, Nov 23, 2005.

  1. Hi,

    short question:

    Im using GD to generate some gif's.
    How do i change all colors within a certain area of the image -
    e.g. rise the brightness.
    Perhaps there is a way to rotate the pallet or draw a transparent white
    layer (background color) over the area, which creates this effect? Or
    multiply two images, or whatever...
    I have to create some color gradations, but cannot use a fill method,
    because there's no way to determin
    the position of the objects. finally a new object is drawn, the image is
    written, an the next time the program starts,
    the process starts again. So these obects fade out afer x turns.
     
    Oliver Bleckmann, Nov 23, 2005
    #1
    1. Advertising

  2. "Christian Winter" <> schrieb im Newsbeitrag
    news:43859cec$0$27884$-online.net...
    > Did you try the copyMerge method (in particular the percent value for
    > opacy)?


    Yes, thats what I do now, but it would be fine to manipulate the colors
    (e.g. rotate them)...
     
    Oliver Bleckmann, Nov 28, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?QUNhdW50ZXI=?=

    Control Image Contrast, Brightness, and Sharpness

    =?Utf-8?B?QUNhdW50ZXI=?=, Feb 22, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    1,751
    Kevin Spencer
    Feb 22, 2005
  2. Replies:
    0
    Views:
    1,543
  3. Petra Neumann

    Change Brightness via HSB

    Petra Neumann, Jul 29, 2004, in forum: Java
    Replies:
    1
    Views:
    1,157
  4. Stefan Siegl
    Replies:
    1
    Views:
    994
    Marrow
    Jul 18, 2003
  5. Astroboy

    Transperency problems on MAC

    Astroboy, May 28, 2010, in forum: HTML
    Replies:
    1
    Views:
    559
    Athel Cornish-Bowden
    May 28, 2010
Loading...

Share This Page