Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8028507
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T00:09:24+00:00 2026-06-05T00:09:24+00:00

I am using Google Earth API in Excel VBA. The screenshots are coming in

  • 0

I am using Google Earth API in Excel VBA. The screenshots are coming in black and white instead of color. Please suggest me where I am doing wrong?

Dim ge As earthlib.ApplicationGE

Set ge = New ApplicationGE

Dim kmlString As Variant

kmlString = "C:\temp\test.kmz"

ge.OpenKmlFile (kmlString, 1)

Dim tPlace As earthlib.FeatureGE

Set tPlace = ge.GetTemporaryPlaces

Dim fldrPath As String, jpgName as String

fldrPath = "C:\temp\"

jpgName = fldrPath & "outJpg1.JPG"

ge.SaveScreenShot (jpgName, 100)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T00:09:25+00:00Added an answer on June 5, 2026 at 12:09 am

    The comment I found in this documentation suggests that this is by design. I haven’t found anything that suggests what to do instead, though.

    /// \brief Takes low quality black and white screen shot
    /// of the current camera view.
    ///
    /// This image is not meant to  be used for rapid capture and degrades
    /// in quality if used frequently.
    ///
    /// \param fileName Full path JPG filename of output screen shot.
    /// \param quality Quality factor of output image. Lowest quality is
    /// \c 0 and highest quality is \c 100. Input quality is always clamped
    /// to (\c 0, \c 100) inclusive.
    ///
    /// \retval S_OK Successfully saved screen shot.
    /// \retval (other) Appropriate error code.
    [id(5), helpstring("method SaveScreenShot")]
    HRESULT SaveScreenShot([in] BSTR fileName, [in] long quality);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im using the google earth v1 javascript API to update hundreds of objects moving
Using the Google Earth API I have created some placemarks at specific coordinates. Now
I'm using the Google Earth Web-plugin API and I've got a 3d model of
Is it possible to develop an application in Qt, using Google Earth? For example,
There is some strange behaviour in parsing KML produced by Google Earth using a
Im using Google Maps Javascript API V3, and recently the icons on my map
im using google maps api and im having this problem with showing the info
can we find area on earth using any web service powered by Google or
I am trying to programatically generate movie/video file using Google Earth COM APIs (along
Using the Google Earth plugin AI, I want to play a tour authored in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.