locked
How to create gradient image? RRS feed

  • Question

  • User-1179262497 posted

    Is there a way I could create smth like:

    - takes two colors: one for left, one for right
    - create an image in memory (byte[]), with gradient effect of the two colors

    Wednesday, June 10, 2009 3:33 AM

Answers

  • User2019981500 posted

    Hi,

    use below two lines  with image background

    BACKGROUND: none;

    filter:progid:DXImageTransform.Microsoft.Gradient(startColorStr=white,endColorStr=#FFF5EC, gradientType=0);

     

    Regards

    shabir hakim

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, June 10, 2009 4:40 AM

All replies

  • User2019981500 posted

    Hi,

    use below two lines  with image background

    BACKGROUND: none;

    filter:progid:DXImageTransform.Microsoft.Gradient(startColorStr=white,endColorStr=#FFF5EC, gradientType=0);

     

    Regards

    shabir hakim

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, June 10, 2009 4:40 AM
  • User-2136762404 posted

    Check out www.easyimg.com

    Can do that and a whole lot more.

    Larry


    Sunday, July 26, 2009 12:02 AM