Page 1 of 1

Cursor file (*.cur) doesn't import correctly.

Posted: 2007-11-26T11:14:36-07:00
by fsmirne
When loading the following file, ImageMagick throws a "Unexpected end-of-file" exception.
This used to work in version 6.2.4 I have on my Ubuntu machine, but fails in version 6.3.7.

Here's the URL of the cursor file I tested:
http://members.wolfram.com/flavios/magick/arrow.cur

Thanks.

Re: Cursor file (*.cur) doesn't import correctly.

Posted: 2007-11-26T11:46:08-07:00
by magick
Try this command:
  • convert icon:arrow.cur arrow.png
That explicitedly sets the image format to Microsoft Icon.

Re: Cursor file (*.cur) doesn't import correctly.

Posted: 2007-11-27T10:05:00-07:00
by fsmirne
Your workaround fixes the problem.
Should the .cur extension be associated to the Icon importer automatically then?
I'm not sure which importer it tries to use, but if there's no other importer associated with the .cur extension, then maybe it should be associated with the Icon importer.

In any case, thanks for your help :)