Disorted Images in data grid view

A

Ashu

Hi,
I have a data grid view in which I am displaying some images. These
images appear perfectly fine when viewed in a console session (of a
desktop/laptop) at 16 bit color or 24 or 32 bit color depth.

But, when I see this form/through a remote desktop session of some
systems, all the images looks ugly. These system supports only 16 bit
color. The RDP session is configured to used the best color, resolution
and not to remove anything.

The same application with same color depth (16) runs fine in all other
systems.

The images I am display are actually icon files, it's 32x32 icon, I am
first converting these icons to Bitmap by calling Icon.ToBitamp, then
resizing the Bitmap to 16x16 (there is a method to create thumbnail)

The screen shots are available at www.ashutosh.in/ee/i1.bmp and
www.ashutosh.in/ee/i2.bmp

So, the question is how can I have a consistent look for the
images/application?


Thanks & Regards,
Ashutosh
 
I

Ignacio Machin ( .NET/ C# MVP )

Hi,
I have a data grid view in which I am displaying some images. These
images appear perfectly fine when viewed in a console session (of a
desktop/laptop) at 16 bit color or 24 or 32 bit color depth.

But, when I see this form/through a remote desktop session of some
systems, all the images looks ugly. These system supports only 16 bit
color. The RDP session is configured to used the best color, resolution
and not to remove anything.

The same application with same color depth (16) runs fine in all other
systems.

The images I am display are actually icon files, it's 32x32 icon, I am
first converting these icons to Bitmap by calling Icon.ToBitamp, then
resizing the Bitmap to 16x16 (there is a method to create thumbnail)

The screen shots are available atwww.ashutosh.in/ee/i1.bmp  andwww.ashutosh.in/ee/i2.bmp

So, the question is how can I have a consistent look for the
images/application?

Thanks & Regards,
Ashutosh

you have to check the configuration of the RD. what if you see the
same image in mspaint, or in preview? are they still distorted?
 
Z

Zhi-Xin Ye [MSFT]

Hi Ashutosh ,

If you use another kind of image, for example, a JPEG image, does the
problem still exist?
Anyway,to help you find out the problem, would you please send me a
concise-but-complete sample code to reproduce this problem?

I look forward to your reply.

Best Regards,
Zhi-Xin Ye
Microsoft Managed Newsgroup Support Team

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Z

Zhi-Xin Ye [MSFT]

Hi Ashutosh ,

You can send your sample code to my email: (e-mail address removed).

Best Regards,
Zhi-Xin Ye
Microsoft Managed Newsgroup Support Team

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top