1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?> 2cdf0e10cSrcweir 3f15c1fe4SAndrew Rist<!--*********************************************************** 4*72c4b3b3Smseidel * 5f15c1fe4SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 6f15c1fe4SAndrew Rist * or more contributor license agreements. See the NOTICE file 7f15c1fe4SAndrew Rist * distributed with this work for additional information 8f15c1fe4SAndrew Rist * regarding copyright ownership. The ASF licenses this file 9f15c1fe4SAndrew Rist * to you under the Apache License, Version 2.0 (the 10f15c1fe4SAndrew Rist * "License"); you may not use this file except in compliance 11f15c1fe4SAndrew Rist * with the License. You may obtain a copy of the License at 12*72c4b3b3Smseidel * 13f15c1fe4SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 14*72c4b3b3Smseidel * 15f15c1fe4SAndrew Rist * Unless required by applicable law or agreed to in writing, 16f15c1fe4SAndrew Rist * software distributed under the License is distributed on an 17f15c1fe4SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 18f15c1fe4SAndrew Rist * KIND, either express or implied. See the License for the 19f15c1fe4SAndrew Rist * specific language governing permissions and limitations 20f15c1fe4SAndrew Rist * under the License. 21*72c4b3b3Smseidel * 22f15c1fe4SAndrew Rist ***********************************************************--> 23f15c1fe4SAndrew Rist 24cdf0e10cSrcweir<helpdocument version="1.0"> 25cdf0e10cSrcweir<meta> 26cdf0e10cSrcweir<topic id="textsdrawguideeyedropperxml" indexer="include" status="PUBLISH"> 27cdf0e10cSrcweir<title id="tit" xml-lang="en-US">Replacing Colors</title> 28cdf0e10cSrcweir<filename>/text/sdraw/guide/eyedropper.xhp</filename> 29cdf0e10cSrcweir</topic> 30cdf0e10cSrcweir</meta> 31cdf0e10cSrcweir<body> 32*72c4b3b3Smseidel<bookmark xml-lang="en-US" branch="index" id="bm_id3147436"> 33*72c4b3b3Smseidel<bookmark_value>eyedropper tool</bookmark_value> 34cdf0e10cSrcweir<bookmark_value>colors; replacing</bookmark_value> 35cdf0e10cSrcweir<bookmark_value>replacing;colors in bitmaps</bookmark_value> 36cdf0e10cSrcweir<bookmark_value>metafiles;replacing colors</bookmark_value> 37cdf0e10cSrcweir<bookmark_value>bitmaps;replacing colors</bookmark_value> 38cdf0e10cSrcweir<bookmark_value>GIF images;replacing colors</bookmark_value> 39cdf0e10cSrcweir</bookmark> 40cdf0e10cSrcweir<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> 41cdf0e10cSrcweir</variable></paragraph> 42cdf0e10cSrcweir<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> 43cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3154704" xml-lang="en-US" l10n="U" oldref="25">Up to four colors can be replaced at once.</paragraph> 44cdf0e10cSrcweir<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> 45cdf0e10cSrcweir<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> 46cdf0e10cSrcweir<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> 47cdf0e10cSrcweir<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> 48cdf0e10cSrcweir<list type="ordered"> 49cdf0e10cSrcweir<listitem> 50cdf0e10cSrcweir<paragraph role="listitem" id="par_id3150202" xml-lang="en-US" l10n="CHG" oldref="30">Choose <emph>Tools - Color Replacer</emph>.</paragraph> 51cdf0e10cSrcweir</listitem> 52cdf0e10cSrcweir<listitem> 53cdf0e10cSrcweir<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> 54cdf0e10cSrcweir</listitem> 55cdf0e10cSrcweir<listitem> 56cdf0e10cSrcweir<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> 57cdf0e10cSrcweir</listitem> 58cdf0e10cSrcweir<listitem> 59cdf0e10cSrcweir<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> 60cdf0e10cSrcweir<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> 61cdf0e10cSrcweir</listitem> 62cdf0e10cSrcweir</list> 63cdf0e10cSrcweir<list type="ordered" startwith="5"> 64cdf0e10cSrcweir<listitem> 65cdf0e10cSrcweir<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> 66cdf0e10cSrcweir</listitem> 67cdf0e10cSrcweir<listitem> 68cdf0e10cSrcweir<paragraph role="listitem" id="par_id3149876" xml-lang="en-US" l10n="U" oldref="36">Click <emph>Replace</emph>.</paragraph> 69cdf0e10cSrcweir</listitem> 70cdf0e10cSrcweir</list> 71cdf0e10cSrcweir<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> 72cdf0e10cSrcweir<section id="relatedtopics"> 73cdf0e10cSrcweir<embed href="text/sdraw/guide/color_define.xhp#color_define"/> 74cdf0e10cSrcweir<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> 75cdf0e10cSrcweir</section> 76cdf0e10cSrcweir</body> 77cdf0e10cSrcweir</helpdocument> 78