Windows Develop Bookmark and Share   
 index > Windows Forms Designer > Creating icons in Visual Studio by copying and pasting from photoshop: Help?
 

Creating icons in Visual Studio by copying and pasting from photoshop: Help?

Does anyone know why when you try to copy-paste an 8-bit image from photoshop into visual studio 8 bit icon edit window more than half of the pixels get lost? I was setting up a 32x32 pixel icon but could not get the original image to copy over. The original image was just some dumb 256 color cartoon.

I've been trying to do this for hours and it works for 24 bit but not 8 bit which is suppose to be 256 color palette. I've even tried opening a native ico file from visual studio into photoshop and copy its color table into a file. Then load the color table for the image I want to copy-paste in photoshop, but I swear it seems to only work 10 percent of the time. Whats even weirder is that rotating the icon image in VS restores the image!

I tried to create like a test slide with primary colors striped across the image. Even then I have trouble getting it to look proper.

Is this a bug? Should I reinstall VS?

Thanks.

davidm71  Saturday, February 14, 2009 7:22 PM

Hi davidm71,

What's the type of the Image you are editing in the Visual Studio? Icon or bitmap or others. It seems the 32*32 bitmap only support 4 bit image. Other types of image support higher bit. Such as bitmap can support 1,4,8,24,32 bit. You can set the Colors Property in the PropertyGrid.

Best regards,
Bruce Zhou


Please mark the replies as answers if they help and unmark if they don't.
Bruce.Zhou  Thursday, February 19, 2009 5:52 AM
We are changing the issue type to “General Discussion�because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question�by opening the Options list at the top of the post editor window, and changing the type. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.


Please mark the replies as answers if they help and unmark if they don't.
Bruce.Zhou  Monday, February 23, 2009 10:28 AM

You can use google to search for other answers

Custom Search

More Threads

• Form Border Color Design/Appearance
• Getting return codes with the VS2005 WebBrowser Control
• Need a solution for properties that accept array or any workaround?
• Inherit forms
• VS2005 Beta 2 form designer problem: error while parsing EntityName
• Obtain user login name
• Listview ITEMS.ADD Events
• Binding to Array
• Form Designer loading problem
• IS it possible to make a triangle shaped button?