SitePoint Sponsor

User Tag List

Results 1 to 6 of 6

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Jan 2002
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    IE filter question

    does anyone know of any IE filters that can colorize an image. for example, i have a regular image border around a photo (a frame) and i want to be able to show what that photo will look like with different color frame borders.

    i want to be able to add a filter to the images that make up the frame so that i can colorize it in different colors through javascript.

    this beats creating 200 different frame images, each representing a different color. thats a lot of management that i dont want to deal with.

    any help or sample would help.
    thanks

    the closest i came was this:
    filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=0, xray=0, mirror=0, invert=0, opacity=1, rotation=0)


    it's the basicImage static filter, but as you can see it has everythign except for a color attribute. dammn!!

  2. #2
    Currently Occupied; Till Sunda Andrew-J2000's Avatar
    Join Date
    Aug 2001
    Location
    London
    Posts
    2,475
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  3. #3
    SitePoint Member
    Join Date
    Jan 2002
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    that msdn example still doesnt show me how to colorize an image.

  4. #4
    Currently Occupied; Till Sunda Andrew-J2000's Avatar
    Join Date
    Aug 2001
    Location
    London
    Posts
    2,475
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    http://msdn.microsoft.com/library/de...er/filters.asp

    have a look here then.

    But what do you mean "colorize an image"?

  5. #5
    SitePoint Member
    Join Date
    Jan 2002
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well i need a way to change the hue/color of a an img to a different color. for example, i have a img of an apple, i want to apply a file to change the color of the apply to say green or blue or whatever.

    any ideas?

  6. #6
    Currently Occupied; Till Sunda Andrew-J2000's Avatar
    Join Date
    Aug 2001
    Location
    London
    Posts
    2,475
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Have a look at a server side language, as you can use the gd library for php, to make images or edit them. Other than that this is not possible with javascript.


Bookmarks

Posting Permissions

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