1*cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?> 2*cdf0e10cSrcweir 3*cdf0e10cSrcweir 4*cdf0e10cSrcweir<!--*********************************************************************** 5*cdf0e10cSrcweir * 6*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 7*cdf0e10cSrcweir * 8*cdf0e10cSrcweir * Copyright 2000, 2011 Oracle and/or its affiliates. 9*cdf0e10cSrcweir * 10*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 11*cdf0e10cSrcweir * 12*cdf0e10cSrcweir * This file is part of OpenOffice.org. 13*cdf0e10cSrcweir * 14*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 15*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 16*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 17*cdf0e10cSrcweir * 18*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 19*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 20*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 22*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 23*cdf0e10cSrcweir * 24*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 25*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 26*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 27*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 28*cdf0e10cSrcweir * 29*cdf0e10cSrcweir ************************************************************************--> 30*cdf0e10cSrcweir 31*cdf0e10cSrcweir<helpdocument version="1.0"> 32*cdf0e10cSrcweir<meta> 33*cdf0e10cSrcweir<topic id="textsdrawguideeyedropperxml" indexer="include" status="PUBLISH"> 34*cdf0e10cSrcweir<title id="tit" xml-lang="en-US">Replacing Colors</title> 35*cdf0e10cSrcweir<filename>/text/sdraw/guide/eyedropper.xhp</filename> 36*cdf0e10cSrcweir</topic> 37*cdf0e10cSrcweir</meta> 38*cdf0e10cSrcweir<body> 39*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3147436"><bookmark_value>eyedropper tool</bookmark_value> 40*cdf0e10cSrcweir<bookmark_value>colors; replacing</bookmark_value> 41*cdf0e10cSrcweir<bookmark_value>replacing;colors in bitmaps</bookmark_value> 42*cdf0e10cSrcweir<bookmark_value>metafiles;replacing colors</bookmark_value> 43*cdf0e10cSrcweir<bookmark_value>bitmaps;replacing colors</bookmark_value> 44*cdf0e10cSrcweir<bookmark_value>GIF images;replacing colors</bookmark_value> 45*cdf0e10cSrcweir</bookmark> 46*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3147436" xml-lang="en-US" level="1" l10n="U" oldref="38"><variable id="eyedropper"><link href="text/sdraw/guide/eyedropper.xhp" name="Replacing Colors">Replacing Colors</link> 47*cdf0e10cSrcweir</variable></paragraph> 48*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3156286" xml-lang="en-US" l10n="CHG" oldref="24">You can replace colors in bitmaps with the <emph>Color Replacer</emph> tool.</paragraph> 49*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3154704" xml-lang="en-US" l10n="U" oldref="25">Up to four colors can be replaced at once.</paragraph> 50*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3147344" xml-lang="en-US" l10n="U" oldref="26">You can also use the <emph>Transparency</emph> option to replace the transparent areas of an image with a color.</paragraph> 51*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3148488" xml-lang="en-US" l10n="CHG" oldref="27">Similarly, you can use the <emph>Color Replacer</emph> to make a color on your image transparent.</paragraph> 52*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3150205" xml-lang="en-US" level="2" l10n="CHG" oldref="28">To replace colors with the Color Replacer tool</paragraph> 53*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3154656" xml-lang="en-US" l10n="U" oldref="29">Ensure that the image you are using is a bitmap (for example, BMP, GIF, JPG, or PNG) or a metafile (for example, WMF).</paragraph> 54*cdf0e10cSrcweir<list type="ordered"> 55*cdf0e10cSrcweir<listitem> 56*cdf0e10cSrcweir<paragraph role="listitem" id="par_id3150202" xml-lang="en-US" l10n="CHG" oldref="30">Choose <emph>Tools - Color Replacer</emph>.</paragraph> 57*cdf0e10cSrcweir</listitem> 58*cdf0e10cSrcweir<listitem> 59*cdf0e10cSrcweir<paragraph role="listitem" id="par_id3155531" xml-lang="en-US" l10n="CHG" oldref="31">Click the Color Replacer icon and position the mouse pointer over the color you want to replace in the image. The color appears in the box next to the icon.</paragraph> 60*cdf0e10cSrcweir</listitem> 61*cdf0e10cSrcweir<listitem> 62*cdf0e10cSrcweir<paragraph role="listitem" id="par_id3152985" xml-lang="en-US" l10n="U" oldref="32">Click the color in the image. The color appears in the first <emph>Source color</emph> box and the check box next to the color is selected.</paragraph> 63*cdf0e10cSrcweir</listitem> 64*cdf0e10cSrcweir<listitem> 65*cdf0e10cSrcweir<paragraph role="listitem" id="par_id3148866" xml-lang="en-US" l10n="U" oldref="33">In the <emph>Replace with</emph> box, select the new color.</paragraph> 66*cdf0e10cSrcweir<paragraph role="note" id="par_id3145362" xml-lang="en-US" l10n="U" oldref="41">This replaces all occurrences of the <emph>Source color</emph> in the image.</paragraph> 67*cdf0e10cSrcweir</listitem> 68*cdf0e10cSrcweir</list> 69*cdf0e10cSrcweir<list type="ordered" startwith="5"> 70*cdf0e10cSrcweir<listitem> 71*cdf0e10cSrcweir<paragraph role="listitem" id="par_id3151191" xml-lang="en-US" l10n="U" oldref="34">If you want to replace another color while the dialog is open, select the check box in front of <emph>Source color</emph> in the next row and repeat steps 3 to 5.</paragraph> 72*cdf0e10cSrcweir</listitem> 73*cdf0e10cSrcweir<listitem> 74*cdf0e10cSrcweir<paragraph role="listitem" id="par_id3149876" xml-lang="en-US" l10n="U" oldref="36">Click <emph>Replace</emph>.</paragraph> 75*cdf0e10cSrcweir</listitem> 76*cdf0e10cSrcweir</list> 77*cdf0e10cSrcweir<paragraph role="tip" id="par_id3157871" xml-lang="en-US" l10n="CHG" oldref="37">If you want to expand or contract the color selection area, increase or decrease the tolerance of the <emph>Color Replacer</emph> tool and repeat your selection.</paragraph> 78*cdf0e10cSrcweir<section id="relatedtopics"> 79*cdf0e10cSrcweir<embed href="text/sdraw/guide/color_define.xhp#color_define"/> 80*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3146878" xml-lang="en-US" l10n="CHG" oldref="39"><link href="text/shared/01/06030000.xhp" name="Color Replacer">Color Replacer</link></paragraph> 81*cdf0e10cSrcweir</section> 82*cdf0e10cSrcweir</body> 83*cdf0e10cSrcweir</helpdocument> 84