Search found 28 matches

by rossmcm
2017-11-16T01:08:20-07:00
Forum: Users
Topic: Replace colour in every icon resolution in an .ICO file
Replies: 13
Views: 13407

Re: Replace colour in every icon resolution in an .ICO file

@snibgo, Yep, I found that. Started off on the journey, but the property sheets have changed in Windows 10 since that was written and I got a bit lost/bored/annoyed. As someone else remarked - why doesn't someone write a utility to do it?

Thanks for your help.
by rossmcm
2017-11-15T15:34:25-07:00
Forum: Users
Topic: Replace colour in every icon resolution in an .ICO file
Replies: 13
Views: 13407

Re: Replace colour in every icon resolution in an .ICO file

The reason I wanted to do this was so that I could differentiate between several command prompt icons on my taskbar Not really IM, but you may find the Microsoft "title" command useful. On my Windows computer, I use: title %CD% Thanks @snibgo, I never knew about "title". Could be useful, but of ...
by rossmcm
2017-11-13T21:33:13-07:00
Forum: Users
Topic: Replace colour in every icon resolution in an .ICO file
Replies: 13
Views: 13407

Re: Replace colour in every icon resolution in an .ICO file

Found it. C:\Users\<your username>\AppData\Local\Microsoft\Windows\Explorer has the icon cache. To rectify: open a command prompt type the following commands cd C:\Users\<your username>\AppData\Local\Microsoft\Windows\Explorer taskkill /im explorer.exe /f del iconcache_*.db explorer
by rossmcm
2017-11-13T20:24:23-07:00
Forum: Users
Topic: Replace colour in every icon resolution in an .ICO file
Replies: 13
Views: 13407

Re: Replace colour in every icon resolution in an .ICO file

@snibgo Many thanks. Yes, that did the trick. However. Not really an ImageMagick question but... The reason I wanted to do this was so that I could differentiate between several command prompt icons on my taskbar ( https://www.dropbox.com/s/69pk1n3a8igecpl/SuperUserTaskbar.png?raw=1 ) but changing ...
by rossmcm
2017-11-13T17:54:42-07:00
Forum: Users
Topic: Replace colour in every icon resolution in an .ICO file
Replies: 13
Views: 13407

Re: Replace colour in every icon resolution in an .ICO file

Thanks for answering: https://www.dropbox.com/s/7mzzrw4rg5iwuue/Windows%20Command%20Prompt%20Icon.ico?dl=0 Version: ImageMagick 6.9.0-0 Q16 x64 2014-11-14 whoops. Dropbox have gone all stupid with their file sharing: Trying this: https://www.dropbox.com/s/7mzzrw4rg5iwuue/Windows%20Command%20Prompt ...
by rossmcm
2017-11-13T17:04:44-07:00
Forum: Users
Topic: Replace colour in every icon resolution in an .ICO file
Replies: 13
Views: 13407

Replace colour in every icon resolution in an .ICO file

I have extracted the icons for the command prompt in Windows 10 - using the freeware IcoFX: https://www.dropbox.com/s/gh7g33etj28sr1k/IcoFX.png?raw=1 I want to create different versions of this icon set with the white pixels replaced with another colour. IcoFX has menu entries for this, but they ...
by rossmcm
2017-03-09T22:55:32-07:00
Forum: Users
Topic: Setting an image to 50% transparency
Replies: 3
Views: 20223

Re: Setting an image to 50% transparency

Hey, so do I ! BRILLIANT!

Many thanks for that. Would you mind outlining what my attempt was doing (or not doing)? I'm still faced with fixing the library routine to implement the same thing.
by rossmcm
2017-03-09T18:38:04-07:00
Forum: Users
Topic: Setting an image to 50% transparency
Replies: 3
Views: 20223

Setting an image to 50% transparency

I'm having difficulty using IM to partially fade an image. Image1 has a fully transparent background, fully opaque foreground and a drop shadow: https://dl.dropboxusercontent.com/u/311035/Image1.png I want to achieve the same effect as shown in Image2. I made image2 by loading Image1 into GIMP and ...
by rossmcm
2017-01-21T20:44:49-07:00
Forum: Users
Topic: Smart cropping of a photo
Replies: 8
Views: 6518

Re: Smart cropping of a photo

Brilliant. Worked a treat. Put your code inside of a ForFiles loop and had the whole lot done in a couple of minutes.

Many thanks for your help.
by rossmcm
2017-01-21T14:25:18-07:00
Forum: Users
Topic: Smart cropping of a photo
Replies: 8
Views: 6518

Re: Smart cropping of a photo

It shows as portrait on my PC (thumbnail in Explorer, irfan view). It's just strange that it shows as landscape in the forum. Good point about the brown in the image. Assuming that I can successfully trim as shown in my last image, how can I "grow" the trim border so that I end up with, say, a 64 ...
by rossmcm
2017-01-21T13:51:32-07:00
Forum: Users
Topic: Smart cropping of a photo
Replies: 8
Views: 6518

Re: Smart cropping of a photo

Thanks for replying. First, let me admit that the reason I was getting no trim at all is because I was calling Convert.exe from a batch file, so the '%' was being swallowed. How I ever passed Batch 101 I'll never know. Anyway convert image1.jpg -fuzz 50% -trim +repage image_fuzzy_trim.jpg (with the ...
by rossmcm
2017-01-21T12:59:59-07:00
Forum: Users
Topic: Smart cropping of a photo
Replies: 8
Views: 6518

Smart cropping of a photo

ImageMagick 6.8.8-1 Q16 x64 I have a series of photographs like the one shown. https://dl.dropboxusercontent.com/u/311035/Image1.jpg (is is actually oriented as portrait - the forum seems to want to render it as landscape) The photos were taken with the picture placed on a table. I want to either ...
by rossmcm
2012-10-22T21:35:28-07:00
Forum: Users
Topic: Using first image in a layering op. to set output image size
Replies: 6
Views: 9777

Re: Using first image in a layering op. to set output image

For what it's worth, what follows is a simple Windows batch file routine for getting the dimensions of an image file (in a format that can be used in a IM -geometry argument) and setting an environment variable to the result. @echo off goto Start :GetImageSize (filename) : FOR /F %%x IN ('convert ...
by rossmcm
2012-10-21T18:23:05-07:00
Forum: Users
Topic: Using first image in a layering op. to set output image size
Replies: 6
Views: 9777

Re: Using first image in a layering op. to set output image

In particular with regard to your command, why do you need the 100x100 transparent background if you want the size to be the same as a.png? Why not just do convert a.png b.png -gravity center -geometry +50+50 -composite c.png The output will be the same size as a.png. Then b.png will be cropped by ...
by rossmcm
2012-10-21T14:54:46-07:00
Forum: Users
Topic: Using first image in a layering op. to set output image size
Replies: 6
Views: 9777

Using first image in a layering op. to set output image size

I have an image layering of the form: convert ^ -size "100x100" xc:none ^ ^( "a.png" -gravity center -geometry +00+00 ^) -composite ^ ^( "b.png" -gravity center -geometry +50+50 ^) -composite ^ "c.png" but I want to modify this so that the size of the output file is not fixed at 100x100, but is the ...