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 771481
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T18:39:38+00:00 2026-05-14T18:39:38+00:00

I experienced a Problem in Visual Studio 2010 and i dont know if its

  • 0

I experienced a Problem in Visual Studio 2010 and i dont know if its a bug or i just did somehting wrong.

I have 6 Images(Icons) that all have the same size (50x60px), are of same type(png), made with same program(gimp), saved with same options.
I want to use these icons as backgrounds for buttons. But the Images are scaled different, altough Stretch and TileMode are both ‘None’.

Some are to big, some to small, some just right. And i dont talk about a pixel or so. They are more than half as big, or nearly double as big as they should be. I tested it with Button, Canvas and Rectangle controls.

But when i open the ‘Select Image’ window, or edit the pictures in Visual Studio they are all the same size.
The problem exists in designer and in compiled program.

Can anyone confirm a behaviour like this? Anyone knows a way to fix it?

  • 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-05-14T18:39:39+00:00Added an answer on May 14, 2026 at 6:39 pm

    There are not a lot of candidates for this problem. But one: a bitmap records the resolution of the device on which it was created. Typical defaults are 96 or 120 dots per inch on a Windows machine. WPF will rescale the image on the target device so it has the same size, measured in inches rather than pixels.

    Sounds like your editor is gimpy, not recording the DPI properly. You can see it in mspaint.exe with the Properties command.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've just downloaded and installed the Productivity Power Tools for Visual Studio 2010. I
Whenever I save code while using Visual Studio 2005, an MS-DOS window fills the
We've been running for years with BoundsChecker for Visual C++ 6 (I think it
In my web application I frequently have sections that need to be collapsed/expanded. I
Suppose I created a custom web application that consists of: several assembly DLLs: web
Prior to T4 Templates, our setup was working - CruiseControl was pulling the latest
This question Measure execution time... allows programmers to find good tools to evaluate execution
I am new to TFS. At my job I mapped the TFS projects to
After some hours creating a vb.net helper class for unit-tests and integrating moq into
I am writing an android app and testing in on my own phone. It's

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.