Welcome to TalkGraphics.com
Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: colour changes

  1. #1
    Join Date
    Dec 2003
    Location
    bristol, bristol, United Kingdom
    Posts
    57

    Default colour changes

    Does any one have any idea or can suggest to whom I should peak about this question?

    I have a basic design ( attached see link TEST ) that is used on a framing mount website to illustrate a product. I see some other framing websites like ours have choice of colours the client can select for the mount to be cut from. On these websites when a color is selected the image colour changes to match this. has any one any idea how to achieve this ?

    TEST.xar

    PS I do have instantly using email activated but I do not always get notifications via emails so if I am slow to respond my apologies.
    alistair d w barclay

  2. #2
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,823

    Default Re: colour changes

    You have two ways. the first is all Xara can offer.

    BEST
    Create a colour swag of all your variations.
    For each colour, create a Layer that is an overlay against your basic picture(s).
    Then link the colour to the Layer.

    HARDER
    If you have any coding experience you could Name a frame and then use some JavaScript to change the colour.

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  3. #3
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,503

    Default Re: colour changes

    Have a look at the attached two files.

    Test 2 places a colored area over your matts and uses a Hue transparency to change the color. If you want deeper colors the bottom colors need to be darker.

    To be more accurate, create your colored samples individually so you can control the colors.

    The second file shows how to do what Acorn is suggesting using layers to display the color variations.
    Attached Files Attached Files

  4. #4
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,917

    Default Re: colour changes

    The second file shows how to do what Acorn is suggesting using layers to display the color variations.
    What 2nd file Gary?
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  5. #5
    Join Date
    Dec 2003
    Location
    bristol, bristol, United Kingdom
    Posts
    57

    Default Re: colour changes

    Acorn, Garry and Egg, thank you for the replies , Gary I only see the one file?
    alistair d w barclay

  6. #6
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,503

    Default Re: colour changes

    I was in a rush yesterday and I thought I had uploaded both.
    Attached Files Attached Files

  7. #7
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,917

    Default Re: colour changes

    I'm really pleased with this outcome. I know nothing but very basic js scripts but doing Google searches I quickly (3 hrs) came up with this. Not 100%, but it converts the border around a photo to any colour in the swatch. The Hex value is displayed in an Alert window, I'd prefer it displayed in a text field.

    I'll upload a zip file and perhaps Acorn can tidy it up (please)

    http://parkeston.com/picker/index-page.htm

    EDIT: My apologies to the original supplier of the js script on StackOverflow, I can't find the original source post at present, but it works in a mean manner
    Last edited by Egg Bramhill; 04 August 2015 at 08:42 PM.
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  8. #8
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,823

    Smile Re: colour changes

    Quote Originally Posted by Egg Bramhill View Post
    I'm really pleased with this outcome. I know nothing but very basic js scripts but doing Google searches I quickly (3 hrs) came up with this. Not 100%, but it converts the border around a photo to any colour in the swatch. The Hex value is displayed in an Alert window, I'd prefer it displayed in a text field.

    I'll upload a zip file and perhaps Acorn can tidy it up (please)

    http://parkeston.com/picker/index-page.htm
    Nice swatch. Egg, rem out the myColour alert and replace with a jQuery statement like:
    $("#displayPickedColour").html("myColour = " + myColour);
    to a Named blank DIV (Placeholder with <DIV id="displayPickedColour"></DIV>).

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  9. #9
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,503

    Default Re: colour changes

    That's incredible Egg, except, the question, as I understand it, and that is qualified for as much as I understand anything, is how to change Alistair's matt colors on his web site to match his inventory. Such as when you visit a website, select an item such as a t-shirt, then click on color swatches to see how the t-shirt looks in the available colors. I do not think Alistair's company offers quite that many colors. I could very well be wrong, mind you.

  10. #10
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,917

    Default Re: colour changes

    On these websites when a color is selected the image colour changes to match this.
    I took this to read the border colour changes, not the photo colour (Why would you want to do that?)

    On my example the border colour changes, probably far more than the OP requires, but a good example of the possibilities
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

 

 

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
  •