Hi,
I was informed that the MBS complete plugins (which I already own) make it possible to create .ico files.
Does anyone happen to know if there is any documentation regarding how to do this?
The documentation is soooooo gigantic, that I can never find information about anything
My OS X app already creates .icns files for OS X, but I now need to create .ico files for Windows.
I have looked in the GraphicsMagick examples folder, but can see no example there?
Michel,
according to that link it can only READ .ico, not write?
So basically, am I correct in thinking that MBS plugins cannot create .ico files, and an additional plugin is required?
Will definitely forget that idea then.
Joe - is that pure Xojo code, and if so - what part of the Language Reference should I look at?
I cannot work out what the com.microsoft.ico part of the code refers to?
[quote=191914:@Richard Summers]Joe - is that pure Xojo code, and if so - what part of the Language Reference should I look at?
I cannot work out what the com.microsoft.ico part of the code refers to?
Thaks.[/quote]
Itās a uniform type identifier, which can be passed to FromData on OS X. Passing it on other platforms wonāt work.
The code Joe posted looks like it reads an image file, and puts it into a memory block.
Am I correct in thinking that I then need to use FromData, to output this memory block data as a .ico file?
If so, I can see no info in the LR which explains how to output as a .ico? it simply shows how to load it into an image well.
I have also just noticed that Joe said it would not retain any other representations included - which really makes the entire exercise completely pointless
Iām sorry. GraphicsMagick does not do ICO file writing.
And so far I only did it on Windows via API functions.
But you can of course just code yourself a function to write those files.
The format should not be too hard.
Slightly more complicated than that, but not too bad. Thereās some documentation on the ICO Wikipedia page, which seems like it contains all of the information you need. If youāre targeting Vista and later, you only have to worry about putting PNGs in the ICO.