Results 1 to 3 of 3
  1. #1
    Tamahahawk is offline Member
    Join Date
    Jun 2013
    Posts
    1
    Rep Power
    0

    Question Need help with a java roll-over (color changer)

    Greetings!

    I am brand new to this forum, but I am very familiar with html and code.

    I have a project I am working on. It is for a metal roofing company. And what I am trying to do is to create a color changer. As you roll your mouse over the different colors the color of the metal roof will change with each color. I have done this before with Flash and it was very code intense. I believe there is a way to do this using java. I would like to keep the characteristics and details of the picture just change the color only on each rollover.

    Any ideas?

    Thanks in advanced for any help you can throw my way!

    -TamahahawkNeed help with a java roll-over (color changer)-house_9_large.jpg

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,379
    Blog Entries
    7
    Rep Power
    20

    Default Re: Need help with a java roll-over (color changer)

    A color is composed of red, green and blue RGB; e.g. the roof in that picture is red-ish so the R component is significantly higher than the G and B components. You want to change a certain color if its components are in the range [Rmin, Rmax] [Gmin, Gmax] and [Bmin, Bmax]. How you want to change the components is entirely up to you ...

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  3. #3
    SurfMan's Avatar
    SurfMan is offline Godlike
    Join Date
    Nov 2012
    Location
    The Netherlands
    Posts
    926
    Rep Power
    2

    Default Re: Need help with a java roll-over (color changer)

    I am not into image processing, but here's a guy who is: Jerry's Java Image Processing Pages
    He made a bunch of filters that are useful for either using directly or learning.

Similar Threads

  1. problems with simple roll down menu in java
    By Krtek80 in forum New To Java
    Replies: 5
    Last Post: 09-24-2012, 04:44 PM
  2. JSlider - Color Changer
    By icebato in forum AWT / Swing
    Replies: 3
    Last Post: 12-21-2010, 03:21 AM
  3. Roll The dice
    By Subhanrukh in forum New To Java
    Replies: 8
    Last Post: 04-19-2010, 08:39 AM
  4. Need help with java rapid roll game
    By blunderblitz in forum New To Java
    Replies: 1
    Last Post: 03-02-2010, 12:36 PM
  5. keyword color changer
    By aisaki in forum New To Java
    Replies: 0
    Last Post: 08-05-2007, 03:12 PM

Tags for this Thread

Posting Permissions

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