Convert Image to .ico

Opus already does convert images between formats bmp, gif, jpg and png. Could you add ico to the list of available formats, please?

Ico is complicated, since you’d usually want it to contain multiple sizes. We’ve always felt people would likely prefer to use an icon editor for making them. (Axialis IconWorkshop is good.)

1 Like

You can use imagemagick.
convert.exe "input.png" -background transparent "output.ico"

I'm the counter-example then :slight_smile: I agree when it involves editing them, but simply converting and resizing a non-ico image to ico? No. My greatest objection is having to install/hack/copy a separate program to do the job.

Not all image editors can export in .ico. The one I use doesn't (I'll have to check if there's some plugin for it). Regardless, I guess even some of those that do would require saving multiple sizes in multiple steps. Opus, instead of being able to do it at least in multiple steps, cannot do it at all. Meaning I have to use an external program I wouldn't have on my machine otherwise. And then, that process will take several minutes, instead of a few seconds it would be possible if Opus supported converting into ico. The best case I could achieve is to choose one that can be used to convert from the command line, and create another button/menu item (like Zion advised). I did that in the distant past and wasn't quite fond of having to do so then either. It would end up on one of my already cluttered toolboxes (and I'd immediately forget where I put it) and then I would be stuck with two tools instead of one. One well-performing built-in and one of a questionable quality mangled together by me, doing almost exactly the same job. It also doesn't make thing simple when it comes to exporting Opus to USB :frowning:

The Image Conversion in Opus can convert and resize the selected image in one step. By the way, needing multiple sizes is often the case for other types of images as well (at least for me), so I always wondered why the Resize setting is a single-selection dropdown instead of a multiselection one, or rather, a bunch of checkboxes so that the resizing for several dimensions could be done in a single step.

You’ll get a very low quality ico file if you build all the sizes from a single image that’s scaled to each one.

What makes you think that? Sure, converting a high resolution image to something like 24x24 or 16x16 or even 32x32 will definitely lose a great deal of detail, but then again, you cannot have much detail in so few pixels anyway. Some images can only be resized downwards to some extent before they become utterly useless. But no amount of editing will help there either, those will need a completely new image for ico. For example, having a png of dimensions 300x300 containing a single line text 10 characters long will/might convert/resize to 64x64 and can still be read quite well. You certainly cannot resize that to 32x32 and expect it to be anything remotely useful without changing the original image completely.

It doesn't make sense developping an "amateurish icon-conversion" just because DirOpus can do it, while most people want best results and will use icon-editors. Furthermore often manual editing is necessary up to complete redraw (the smaller, the more rework is required - and icons are small!)

You can search for an icon editor which supports commandline, so you maybe could use it within DirOpus.

1 Like

About 30 years of making icons. :slight_smile: The smaller sizes need hand editing for good results, as Sasa says.

3 Likes