Search found 12 matches

by vincentb1
2013-06-04T07:14:52-07:00
Forum: Users
Topic: Imagemagick does it really "magic" with converting PNG->ICO
Replies: 11
Views: 9464

Re: Imagemagick does it really "magic" with converting PNG->

FYI, I have updated my java code --- see http://jpicedt.cvs.sourceforge.net/view ... iew=markup --- and now image magick and my code give exactly the same output on the icon of interest to me.

So, as for me, the issue is closed.
by vincentb1
2013-06-01T15:02:39-07:00
Forum: Users
Topic: Imagemagick does it really "magic" with converting PNG->ICO
Replies: 11
Views: 9464

Re: Imagemagick does it really "magic" with converting PNG->

Hello, I downloaded http://www.imagemagick.org/download/windows/ImageMagick-windows.zip and had a look at ImageMagick-6.8.5/coders/icon.c. I suspect that the piece of code that adds the 384 octets tailer is in function WriteICONImage, and is starting at line 1203 like this: /* Write matte mask ...
by vincentb1
2013-04-23T23:01:29-07:00
Forum: Users
Topic: Imagemagick does it really "magic" with converting PNG->ICO
Replies: 11
Views: 9464

Re: Imagemagick does it really "magic" with converting PNG->

So it seems that nobody has an explanation what are those 384 octets for, and how they are generated.

Maybe somebody could send a pointer to the IM source code where this is generated and I could have a look and try & understand what that is for...
by vincentb1
2013-04-10T13:04:54-07:00
Forum: Users
Topic: Imagemagick does it really "magic" with converting PNG->ICO
Replies: 11
Views: 9464

Re: Imagemagick does it really "magic" with converting PNG->

Except for wasting space, they seem to be harmless Just for clarification once again: I did not mean that IM was doing anything "harmful", all the opposite: without those extra 384 octets it seems that MSWindows XP handle the ico file in somehow a degraded way: no size (i.e. 48x48) indication in ...
by vincentb1
2013-04-10T12:56:48-07:00
Forum: Users
Topic: Imagemagick does it really "magic" with converting PNG->ICO
Replies: 11
Views: 9464

Re: Imagemagick does it really "magic" with converting PNG->

The extra bytes are appended to the end of the file. Except for wasting space, they seem to be harmless; the "signatures" of the two files are identical. I'll see if I can figure out what caused that. There's nothing helpful in the debug log (convert -debug coder -log %e in.ico out.ico) The log is ...
by vincentb1
2013-04-10T12:47:32-07:00
Forum: Users
Topic: Imagemagick does it really "magic" with converting PNG->ICO
Replies: 11
Views: 9464

Re: Imagemagick does it really "magic" with converting PNG->

fmw42 wrote:Your last image was not linked
Sorry, when I browse on the forum I can see both images, maybe that situation about the last image was due to temporary traffic condition over the internet.

Vincent.
by vincentb1
2013-04-09T11:42:10-07:00
Forum: Users
Topic: Imagemagick does it really "magic" with converting PNG->ICO
Replies: 11
Views: 9464

Re: Imagemagick does it really "magic" with converting PNG->

Here is the link to the orginal PNG picture http://jpicedt.cvs.sourceforge.net/viewvc/jpicedt/jpicedt/jpicedt/jpicedt/images/appicon.Cocorico.png?revision=1.3&view=markup If I use the imagemagick command: convert appicon.Cocorico.png jpicedt1.ico then I get this picture (jpicedt1.ico): http ...
by vincentb1
2013-04-08T11:50:14-07:00
Forum: Users
Topic: Imagemagick does it really "magic" with converting PNG->ICO
Replies: 11
Views: 9464

Imagemagick does it really "magic" with converting PNG->ICO

Hello, Sorry for bothering imagemagick experts with a question which in fact is not really related to imagemagick. Imagemagick actually does a wonderful job, my problem is rather that I wrote a piece of java code to convert a 48x48 png icon into an ico icon, and the results slightly from what ...
by vincentb1
2012-11-08T12:16:50-07:00
Forum: Users
Topic: -composite loses next to top img list, when top transparent
Replies: 5
Views: 6366

Re: -composite loses next to top img list, when top transpar

Thank you very much, I should have read the documentation with more attention :?
by vincentb1
2012-11-08T05:25:04-07:00
Forum: Users
Topic: -composite loses next to top img list, when top transparent
Replies: 5
Views: 6366

Re: -composite loses next to top img list, when top transpar

One more thing: I have just tried the same experiment with the latest binary version, aka: convert -version Version: ImageMagick 6.8.0-4 2012-10-30 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC Features: OpenMP and I am into the same issue I launched the ...
by vincentb1
2012-11-08T05:13:52-07:00
Forum: Users
Topic: -composite loses next to top img list, when top transparent
Replies: 5
Views: 6366

Re: -composite loses next to top img list, when top transpar

I forgot to say that I am on MSWindowXP.
by vincentb1
2012-11-07T23:44:20-07:00
Forum: Users
Topic: -composite loses next to top img list, when top transparent
Replies: 5
Views: 6366

-composite loses next to top img list, when top transparent

Hello, Sorry for my question may be naive... Here is a command line: convert -size 960x960 -fill white xc:transparent -draw 'rectangle 480,384,960,960' -draw 'rectangle 0,0,320,820' -strokewidth 48 -stroke 'rgb(85,131,157)' -draw 'arc 0,48 320,96 5,175' -draw 'arc 0,168,320,216 5,175' -draw 'arc 0 ...