Welcome to TalkGraphics.com
Page 1 of 3 123 LastLast
Results 1 to 10 of 26
  1. #1
    Join Date
    Mar 2018
    Location
    Morelos, Mexico
    Posts
    164

    Default Changing colors in a graphic

    Happy Saturday to all.

    I’m writing to ask for some expert advice. I’m using P&GD17 to do some graphics work. (I’m still new to the software, but I’m pretty experienced in WDP.) My understanding is that its photo and graphics capacities are the same as for DPX, so hopefully someone can help.

    The “original” image attached is saved as a jpg (for space concerns), but it is exported from a png. Same for the “first-attempt” image.

    My objective is to recolor the elements (petals and letters) to match those of my theme. I am maintaining the file as png with a transparent background.

    My attempt: I used the “Select colors to enhance” tool under “Photo enhance”. I chose a petal of each color, adjusted the tolerance and fade so that it would not impact any of the other colors, and then made manual adjustments to the saturation, temperature, and hue.

    The result is not bad, and the tool seems to do a pretty good job with a graphic with a limited number of colors.

    Problem 1 with my attempt: it is impossible to get the theme color precise (and at times, even close), despite trying many combinations of the manual adjustments.

    Problem 2: around the edges of the forms there is a dark outline or halo of blurry pixels. Even when I dropped the tolerance and fade to 0 for each color, it was not eliminated. I even tried fiddling with the histogram (color by color), with the effect of simply turning the outline yellow-brown (and of course, completely messing up the color of the image).

    So, any advice on a better tool or a better way to use the “Select colors to enhance” tool? 1) control the colors more precisely, 2) eliminate the pixel outline?
    Any help would be greatly appreciated.


    Click image for larger version. 

Name:	original.jpg 
Views:	29 
Size:	52.3 KB 
ID:	126777 Click image for larger version. 

Name:	first-attempt.jpg 
Views:	23 
Size:	54.9 KB 
ID:	126778

  2. #2
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    11,643

    Default Re: Changing colors in a graphic

    As the petals are stylised, it would be simpler to generate a colour palette from the image.
    In XDPXv16+, you have Palette from Photo, but you can eyeball the required colours instead or if you have enough just work with your theme.

    Then create a petal from the Shape tool: two cusped nodes with curves between.
    You would then clone shape to each petal, the work of minutes. I usually have it at 0.25px Line width and 50% Flat Transparency to get the shapes bang on, then remove both for colouring.
    Then add a solid palette colour or two in a Linear Fill.

    Far more control and no blurring.

    Acorn
    Acorn - installed and active Xara software: Cloud+/Pro+, XDPX, XWD Premium 15 & 12, XPGD10, X3D7, Xara Xtreme 5, back through time (to CC's Artworks).
    Raise software faults with MagiXara: http://support.magix.net/; if Cloud+/Pro+: https://xara.com/contact-us/

  3. #3
    Join Date
    Feb 2007
    Location
    UK
    Posts
    17,648

    Default Re: Changing colors in a graphic

    what i would do would be to use a copy photo - turn all the colours solid black - then vectorise it [bitmap trace] and recolour the vector shapes

    however as xara's bitmap tracer is a black art I'd probably use inscape to do the trace

    there is probably a way to do it with the photo tools in xara, but I don't use these enough to be certain...

    [cross posted with acorn]
    -------------------------------
    carpe diem
    carpo vitae

  4. #4
    Join Date
    Mar 2018
    Location
    Morelos, Mexico
    Posts
    164

    Default Re: Changing colors in a graphic

    Thanks @Acorn and @handrawn. I will start seeing how to implement your advice. I'll let you know how it goes. Cheers!

  5. #5

    Default Re: Changing colors in a graphic

    Here's a quick start as vector. Your image is underneath the black vector shapes.
    Attached Files Attached Files

  6. #6
    Join Date
    Mar 2018
    Location
    Morelos, Mexico
    Posts
    164

    Default Re: Changing colors in a graphic

    A quick follow-up. I tried the advice. Some of it proved difficult for a novice; some of it proved difficult because of irregularities in the shapes. The bitmap tracer turned out some surreal results (a black art, as handrawn says). And though I have inkscape installed, I’ve never used it. So with the learning curve, that’s for another day.

    What ended up working pretty well was: for each shape, I outlined it with the Magnetic lasso tool. While it was “crawling”, I copied and pasted it on a second page. Within the pasted group is a copy of the image, the visible shape, and an outline of the shape. I pulled the outline out of the group, made it visible with a color and 50% transparent, then played around with the outline using the shape tool until it was close enough to the original shape. Once all of them were done, I removed the transparency, added an outline, gave them a color close to the original, and then added an elliptical fill to mimic the highlighting texture in original drawing. Finally, I did the letters, which proved to be the hardest. They’re not perfect, but close enough.

    Everything is now arranged by named colors, so tomorrow I can start playing around with using my theme colors to see how it works.

    It was a lot of work, not perfect, but satisfactory for the internet. When it goes onto my website, it will look better than the blurry original that I downloaded from the internet several years ago.

    Thanks again @Acorn and @handrawn. Your advice helped and inspired me.


    P.S.
    Thanks @mwenz! I just saw your post. If I’d checked back sooner, it would have saved me a lot of work. LOL.


    Click image for larger version. 

Name:	original.jpg 
Views:	17 
Size:	52.3 KB 
ID:	126780 Click image for larger version. 

Name:	second-attempt.jpg 
Views:	19 
Size:	57.2 KB 
ID:	126781

  7. #7
    Join Date
    Mar 2018
    Location
    Morelos, Mexico
    Posts
    164

    Default Re: Changing colors in a graphic

    For anyone interested... using theme colors:

    Click image for larger version. 

Name:	third-attempt.jpg 
Views:	21 
Size:	61.8 KB 
ID:	126783

  8. #8
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    19,712

    Default Re: Changing colors in a graphic

    Great work! I like the logo so I thought I'd try an animated version:
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	morelos.gif 
Views:	40 
Size:	83.5 KB 
ID:	126787  
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Quadro 2000 Graphics Card + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive
    Xara Designer Pro X 17 + Xara 3D Maker 7

  9. #9
    Join Date
    Mar 2018
    Location
    Morelos, Mexico
    Posts
    164

    Default Re: Changing colors in a graphic

    Quote Originally Posted by Egg Bramhill View Post
    Great work! I like the logo so I thought I'd try an animated version:
    Wow! You put me to shame. Is that just with DPX / P&GD or did you use some other software?!

  10. #10
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    19,712

    Default Re: Changing colors in a graphic

    Just Xara Designer Pro and it should be possible in any Xara product as far as I'm aware. I've attached the Xara file for you to look at and use as you wish.
    Attached Files Attached Files
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Quadro 2000 Graphics Card + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive
    Xara Designer Pro X 17 + Xara 3D Maker 7

 

 

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
  •