Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ContextCapture | Descartes | Pointools | Orbit
  • Product Communities
ContextCapture | Descartes | Pointools | Orbit
ContextCapture | Descartes | Pointools | Orbit Wiki Swap foreground and background of raster image
    • Sign In
    • +Reality Modeling Wiki
    • +Bentley I/RAS B
    • +Bentley LumenRT
    • +Bentley Pointools
    • +ContextCapture -
    • -Descartes and ContextCapture Editor(deprecated product)
      • +Installation
      • +Licensing
      • +Point Clouds
      • +Raster Editing
      • Raster Grid
      • -Raster Manager
        • Attach a Map Layer from a WMS Server
        • Bentley Descartes - Image Draping
        • Contrast Brightness cannot be used with Monochrome raster images
        • How to Attach Pages in Multi-Page PDF File in MicroStation XM and V8i
        • INGR TIFF Images Being Attached in the Wrong Location
        • Raster image is currently reprojected message when trying to clip a raster
        • Raster images skewed going from IRasb V7 to Descartes V8i
        • +Raster Product TechNotes And FAQs
        • Singapore OneMap Data Setup
        • Swap foreground and background of raster image
        • Unable to clip WMS images
        • Unable to edit raster images in a DWG design file
        • Using Register/Resample unable to set background to Black using Grayscale image
        • Way to disable raster when working with MicroStation tools
        • WMS performance is slow
      • +Reality Mesh and Terrains
      • Scalable Mesh Key-in list
      • +Scalable Terrain Models
      • +What's New
      • Working from home with Descartes and ContextCapture Editor
    • +Orbit 3DM
    • +RealityModeling Cloud Services

     
     Questions about this article, topic, or product? Click here. 

    Swap foreground and background of raster image

      Product(s): Bentley Descartes for MicroStation
      Version(s): 08.11.09.601
      Environment: N\A
      Area: General
      Subarea: N\A

    Problem

    I want to swap background and foreground of my raster image.



    Solution

    If your TIF image background is black and the foreground is white and you need to reverse the foreground and background.  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.  There is a very small icon that’s an arrow to the top right of these 2 boxes.  If you hover over it you should get “swap colors”.  Hit this and it’ll swap the background and foreground colors.  Then do a File > Save As set file type to CIT and create a new CIT image.  This option is no in MicroStation.
     
    In Workspace > Preference > Raster Manager > Default Attributes > Set Default Attributes > Color change Invert to Invert Display.  This will invert your raster images when they are attached automatically.   The problem is that all of your raster images will be inverted when you attach them.  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. 
     
    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.  Your raster image would then be inverted in your DGN file.
     
    If you want your file to be printed like it shows on the screen try doing Print > Settings > Raster Options and mark Print monochrome raster as-is.

     



      Original Author: Frank McAllister
    • Descartes
    • GENERAL
    • 08.11.09.601
    • Bentley Descartes for MicroStation
    • en
    • SELECTsupport
    • Share
    • History
    • More
    • Cancel
    • fmcallis Created by fmcallis
    • When: Tue, Jan 19 2016 12:35 PM
    • Pascal Cloutier Last revision by Bentley Colleague Pascal Cloutier
    • When: Thu, Mar 19 2020 10:06 AM
    • Revisions: 2
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies