So this is how it started... I've managed to create an icon for my program in Visual Studio. The icon looked perfectly smooth in photoshop. I saved the file as .ico with using a photoshop plugin. I want the transparency so my icon was saved as 8 bit RGB. After importing the icon in my exe then this happened.
(Posted on behalf of the OP).
I've downloaded IcoFX and opened my file as 8 bit RGB png. Then I clicked: Image(from the top navigation menu) -> Create Windows Icon From Image. It detected it as Windows Vista because it's resolution is 256x256. Finally saved it and imported it in my Visual Studio project. The icon was so smooth after following this procedure!
So in Android Studio, there is a tool called asset studio, which is nice.
I'm building my first game for Android and know there are different res folders for different DPI's.
You can let Android Studio generate the different images from one source image, using the Android Asset Studio. But only for launcher icons, notifcation icons and actionbar icons. How can I do this for images i want to use in game?
I am "attempting" to use the image editor in Visual Studio 2013 to fix a gif file. The "documentation" references an image menu which is missing. I am also attempting to set the foreground and background colors.
Does anyone have any advice on how to do this?
The image editor has been replaced in VS2013, it no longer uses a dedicated menu. So whatever documentation you are using is surely outdated. The VS2013 specific documentation is here.
Pick, say, the Pen tool from the toolbar. The Properties window lets you set the fore- and background colors.
I have writed a small C++ program in Visual C++ 2012, I added a icon (contain multiple sizes and depths from 16x16 16bit to 256x256 32bit) but when compile, windows explorer doesn't show right icon size in other view modes (icon, detail, ...). How can i make my application icon change size in different explorer view mode or in different explorer zoom factor like notepad.exe (when you zoom the view, it get bigger or smaller)?
I have tried to build in VC++ 2010, VC++ 2008 but doesn't make better :-(
When I double click on a .ico file in Visual Studio 2010 (Professional), it opens what looks like an icon editor. It looks like it should be really easy to pick a color from the left and edit pixels.
But my mouse is a magnifying glass icon. Left click, right click, all they do is toggle zoom on the icon. I can't figure out how to do anything useful.
Am I missing something obvious? Is this icon view as useless as it seems?
You can't directly edit 32-bit color icons but you can convert them manually to 24-bit :
Right click > Add new icon
Open your Icon1.ico file.
Right click > New Image Type or press Ins to open the New Icon Image Type dialog.
Select the format you want, say 96x96, 24 bit or add any custom size and color depth.
Then copy/paste from your 32-bit icon file and save.
Et voilĂ ! You can now edit your 24-bit color icon.
Doh! I needed to enable View -> Toolbars -> Image Editor.
Thanks to #detale.
The icon is built by an external app.
For Visual Studio 2008 & 2010 image editor,
"Using the Image Editor, you can view 32-bit images, but you cannot edit them."
http://msdn.microsoft.com/en-us/library/s1dadd79.aspx
For the PNG images used as button icons that Visual Studio cannot edit you can use external editor as MS Paint.
open PNG in Visual Studio 2010
right click on the white canvas -> Open External Editor
Visual Studio can edit icons, but not 24-bit color icons.
If you have a Mac OS X machine around, you can edit Windows icons with the Icon Composer application included with the free Developer Tools.
I just discovered this accidentally while working on some cross-platform Mac/Windows code.
I finally found an easy way to do it without visual studio, GIMP
https://www.gimp.org/downloads/
Visual Studio 2022 (available free) has an icon editor built in. Just in case you end up here because you tried to insert a colourful image into a a 256x256 24 bit icon and your colours get messed up: in the editor toolbar on the top right there is a selector for opaque/transparent background, but only when you have a rectangle- or irregular area selection tool active. Default backgroundis set to transparent, you need to set it to opaque to retain your image. (There's a special colour for transparency; though my image does not contain that the colours were wrong)