Hi,
I must use imagemagick under windows. Goal is to transform djvu files into png. I've made some test under linux, everything work fine. Now i must move to windows and i get problems with djvu support.
I first downloaded the binary version witch dosen't support djvu files.
So i decided to download sources and activate support. i also downloaded djvulibre. I'm unable to activate it correctly and build exe. Can someone explain how to do this.
Thanks,
Mathieu
How can i compile (or get) a windows version supporting djvu
Re: How can i compile (or get) a windows version supporting djvu
The simplest solution is to build libdjvu under Windows and include it as a dependency to the ImageMagick project. Also edit magick-config.h and define MAGICKCORE_DJVU_DELEGATE.
A better solution is to create a djvu folder with the library source in the ImageMagick-6.4.2 folder and create a configure djvu folder in the ImageMagick-6.4.2\VisualMagick folder (model it after one of the other delegate folders such as jpeg or png). Now run the configure program and it will create a ImageMagick build project that includes djvu support. If you get all this working, post a URL to your modifications here so we can include it in future versions of the ImageMagick releases.
Another option is to build ImageMagick and djvu under Cygwin or MinGW.
A better solution is to create a djvu folder with the library source in the ImageMagick-6.4.2 folder and create a configure djvu folder in the ImageMagick-6.4.2\VisualMagick folder (model it after one of the other delegate folders such as jpeg or png). Now run the configure program and it will create a ImageMagick build project that includes djvu support. If you get all this working, post a URL to your modifications here so we can include it in future versions of the ImageMagick releases.
Another option is to build ImageMagick and djvu under Cygwin or MinGW.
Re: How can i compile (or get) a windows version supporting djvu
Thanks for your answer.
I finally decided to compile it under cygwin. By the way, i was'nt able to compile last djvulibre version (3.5.20) under cygwin, 3.5.17 compiled perfectly. After performing conversion he segfault, but i get my file.
I'm not sure i well understood second proposition. Do you mean incorporating libdjvu sources in imagemagick and modify code and builder to use it ?
I finally decided to compile it under cygwin. By the way, i was'nt able to compile last djvulibre version (3.5.20) under cygwin, 3.5.17 compiled perfectly. After performing conversion he segfault, but i get my file.
I'm not sure i well understood second proposition. Do you mean incorporating libdjvu sources in imagemagick and modify code and builder to use it ?