<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Swap foreground and background of raster image</title><link>https://communities.bentley.com/products/3d_imaging_and_point_cloud_software/w/wiki/26329/swap-foreground-and-background-of-raster-image</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Swap foreground and background of raster image</title><link>https://communities.bentley.com/products/3d_imaging_and_point_cloud_software/w/wiki/26329/swap-foreground-and-background-of-raster-image</link><pubDate>Thu, 19 Mar 2020 14:06:02 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:f0ecda1e-b566-457c-873b-efae6b0aff1d</guid><dc:creator>Pascal Cloutier</dc:creator><comments>https://communities.bentley.com/products/3d_imaging_and_point_cloud_software/w/wiki/26329/swap-foreground-and-background-of-raster-image#comments</comments><description>Current Revision posted to ContextCapture | Descartes | Pointools | Orbit Wiki by Pascal Cloutier on 3/19/2020 2:06:02 PM&lt;br /&gt;
&lt;table style="background-color:#dce5f0;border:#dce5f0 0px solid;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Product(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Bentley Descartes for MicroStation&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Version(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;08.11.09.601&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Environment:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N\A&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Area:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;General&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Subarea:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N\A&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h1&gt;Problem&lt;/h1&gt;
&lt;div style="margin:0in 0in 10pt;"&gt;&lt;span&gt;I want to swap background and foreground of my raster image.&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;h1&gt;Solution&lt;/h1&gt;
&lt;div style="margin:0in 0in 10pt;"&gt;&lt;span&gt;If your TIF image background is black and the foreground is white and you need to reverse the foreground and background.&lt;span&gt;&amp;nbsp; &lt;/span&gt;If you have Descartes highlight the raster image line in Raster Manager and to the right of the invert icon along the bottom of raster manager you&amp;rsquo;ll see the boxes that have the colors of the foreground and background.&lt;span&gt;&amp;nbsp; &lt;/span&gt;There is a very small icon that&amp;rsquo;s an arrow to the top right of these 2 boxes.&lt;span&gt;&amp;nbsp; &lt;/span&gt;If you hover over it you should get &amp;ldquo;swap colors&amp;rdquo;.&lt;span&gt;&amp;nbsp; &lt;/span&gt;Hit this and it&amp;rsquo;ll swap the background and foreground colors.&lt;span&gt;&amp;nbsp; &lt;/span&gt;Then do a File &amp;gt; Save As set file type to CIT and create a new CIT image.&lt;span&gt;&amp;nbsp; &lt;/span&gt;This option is no in MicroStation.&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0in 0in 10pt;"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0in 0in 10pt;"&gt;&lt;span&gt;In Workspace &amp;gt; Preference &amp;gt; Raster Manager &amp;gt; Default Attributes &amp;gt; Set Default Attributes &amp;gt; Color change Invert to Invert Display.&lt;span&gt;&amp;nbsp; &lt;/span&gt;This will invert your raster images when they are attached automatically.&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;The problem is that all of your raster images will be inverted when you attach them.&lt;span&gt;&amp;nbsp; &lt;/span&gt;You might consider creating a New Userspace that you can use instead of Untitled when you go into MicroStation and you know that you are going to be working with raster images that need to be attached inverted.&lt;span&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0in 0in 10pt;"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0in 0in 10pt;"&gt;&lt;span&gt;Another option would be when you attach your raster image in the Raster Attachment Options box in the Color section change Invert to be Invert Display.&lt;span&gt;&amp;nbsp; &lt;/span&gt;Your raster image would then be inverted in your DGN file.&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0in 0in 10pt;"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0in 0in 10pt;"&gt;&lt;span&gt;If you want your file to be printed like it shows on the screen try doing Print &amp;gt; Settings &amp;gt; Raster Options and mark Print monochrome raster as-is.&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;img style="border-width:0px;" alt=" " height="60" src="http://communities.bentley.com/cfs-file.ashx/__key/communityserver-components-sitefiles/TSG-Logo.png" width="189" /&gt;&lt;/p&gt;
&lt;table style="background-color:#dce5f0;border:#dce5f0 0px solid;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Original Author:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Frank McAllister&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Descartes, GENERAL, 08.11.09.601, Bentley Descartes for MicroStation, en, SELECTsupport&lt;/div&gt;
</description></item><item><title>Swap foreground and background of raster image</title><link>https://communities.bentley.com/products/3d_imaging_and_point_cloud_software/w/wiki/26329/swap-foreground-and-background-of-raster-image/revision/1</link><pubDate>Tue, 19 Jan 2016 17:35:22 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:f0ecda1e-b566-457c-873b-efae6b0aff1d</guid><dc:creator>fmcallis</dc:creator><comments>https://communities.bentley.com/products/3d_imaging_and_point_cloud_software/w/wiki/26329/swap-foreground-and-background-of-raster-image#comments</comments><description>Revision 1 posted to ContextCapture | Descartes | Pointools | Orbit Wiki by fmcallis on 1/19/2016 5:35:22 PM&lt;br /&gt;
&lt;table style="border-top:#dce5f0 0px solid;border-right:#dce5f0 0px solid;border-bottom:#dce5f0 0px solid;border-left:#dce5f0 0px solid;background-color:#dce5f0;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Product(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Bentley Descartes for MicroStation&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Version(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;08.11.09.601 &lt;/td&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Environment:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N\A&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Area:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;General&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Subarea:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N\A&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h1&gt;Problem&lt;/h1&gt;
&lt;div style="margin:0in 0in 10pt;"&gt;&lt;span&gt;I want to swap background and foreground of my raster image.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;
&lt;h1&gt;Solution&lt;/h1&gt;
&lt;div style="margin:0in 0in 10pt;"&gt;&lt;span&gt;If your TIF image background is black and the foreground is white and you need to reverse the foreground and background.&lt;span&gt;&amp;nbsp; &lt;/span&gt;If you have Descartes highlight the raster image line in Raster Manager and to the right of the invert icon along the bottom of raster manager you’ll see the boxes that have the colors of the foreground and background.&lt;span&gt;&amp;nbsp; &lt;/span&gt;There is a very small icon that’s an arrow to the top right of these 2 boxes.&lt;span&gt;&amp;nbsp; &lt;/span&gt;If you hover over it you should get “swap colors”.&lt;span&gt;&amp;nbsp; &lt;/span&gt;Hit this and it’ll swap the background and foreground colors.&lt;span&gt;&amp;nbsp; &lt;/span&gt;Then do a File &amp;gt; Save As set file type to CIT and create a new CIT image.&lt;span&gt;&amp;nbsp; &lt;/span&gt;This option is no in MicroStation.&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0in 0in 10pt;"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0in 0in 10pt;"&gt;&lt;span&gt;In Workspace &amp;gt; Preference &amp;gt; Raster Manager &amp;gt; Default Attributes &amp;gt; Set Default Attributes &amp;gt; Color change Invert to Invert Display.&lt;span&gt;&amp;nbsp; &lt;/span&gt;This will invert your raster images when they are attached automatically.&lt;span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;The problem is that all of your raster images will be inverted when you attach them.&lt;span&gt;&amp;nbsp; &lt;/span&gt;You might consider creating a New Userspace that you can use instead of Untitled when you go into MicroStation and you know that you are going to be working with raster images that need to be attached inverted.&lt;span&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0in 0in 10pt;"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0in 0in 10pt;"&gt;&lt;span&gt;Another option would be when you attach your raster image in the Raster Attachment Options box in the Color section change Invert to be Invert Display.&lt;span&gt;&amp;nbsp; &lt;/span&gt;Your raster image would then be inverted in your DGN file.&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0in 0in 10pt;"&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin:0in 0in 10pt;"&gt;&lt;span&gt;If you want your file to be printed like it shows on the screen try doing Print &amp;gt; Settings &amp;gt; Raster Options and mark Print monochrome raster as-is.&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;img style="border-left-width:0px;border-right-width:0px;border-bottom-width:0px;border-top-width:0px;" alt=" " src="http://communities.bentley.com/cfs-file.ashx/__key/communityserver-components-sitefiles/TSG-Logo.png" width="189" height="60" /&gt; &lt;/p&gt;
&lt;table style="border-top:#dce5f0 0px solid;border-right:#dce5f0 0px solid;border-bottom:#dce5f0 0px solid;border-left:#dce5f0 0px solid;background-color:#dce5f0;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Original Author:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Frank McAllister&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: Descartes, GENERAL, 08.11.09.601, Bentley Descartes for MicroStation, en, SELECTsupport&lt;/div&gt;
</description></item></channel></rss>