how to configure vs2010 build to work
Posted: 2016-01-25T11:20:41-07:00
my workflow uses dlls built with visual studio 2010.
I need the latest imagemagick to get the ability to turn off auto grayscaling (see my other topic:rgb converted to grayscale by imagemagick )
The dll's I build to use the imagemagick do not work with the latest window 6.9.3 installer, which I guess in a VS 2013 or 2015 build.
I have built IM 6.9.3.1 from source using visual studio 2010. the basic conversion of a tiff to jpg using a convert command works.
But, I have problems trying to convert e.g. a dng to a jpg. I assume it is a registry/configuration problem.
I have copied all the exe and dlls from the build to:
C:\telescope\IMBin
I have added C:\telescope\IMBin to the PATH variable.
version of convert works:
C:\TeleScope>convert -version
Version: ImageMagick 6.9.3-1 Q16 x86 2016-01-22 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Visual C++: 160040219
Features: Cipher DPC Modules
Delegates (built-in): bzlib cairo freetype jng jp2 jpeg lcms lqr openexr pangoca
iro png ps rsvg tiff webp xml zlib
but the modules are not found for the dng conversion:
C:\TeleScope>convert c:\windows\temp\NPS_DNGCopy4696_26280.dng foo.jpg
convert.exe: unable to open module file `C:\Users\Administrator\AppData\Local\Im
ageMagick\IM_MOD_RL_TIFF_.dll': No such file or directory @ warning/module.c/Get
MagickModulePath/830.
convert.exe: no decode delegate for this image format `TIFF' @ error/constitute.
c/ReadImage/501.
convert.exe: no images defined `foo.jpg' @ error/convert.c/ConvertImageCommand/3
241.
C:\TeleScope>
I need the latest imagemagick to get the ability to turn off auto grayscaling (see my other topic:rgb converted to grayscale by imagemagick )
The dll's I build to use the imagemagick do not work with the latest window 6.9.3 installer, which I guess in a VS 2013 or 2015 build.
I have built IM 6.9.3.1 from source using visual studio 2010. the basic conversion of a tiff to jpg using a convert command works.
But, I have problems trying to convert e.g. a dng to a jpg. I assume it is a registry/configuration problem.
I have copied all the exe and dlls from the build to:
C:\telescope\IMBin
I have added C:\telescope\IMBin to the PATH variable.
version of convert works:
C:\TeleScope>convert -version
Version: ImageMagick 6.9.3-1 Q16 x86 2016-01-22 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Visual C++: 160040219
Features: Cipher DPC Modules
Delegates (built-in): bzlib cairo freetype jng jp2 jpeg lcms lqr openexr pangoca
iro png ps rsvg tiff webp xml zlib
but the modules are not found for the dng conversion:
C:\TeleScope>convert c:\windows\temp\NPS_DNGCopy4696_26280.dng foo.jpg
convert.exe: unable to open module file `C:\Users\Administrator\AppData\Local\Im
ageMagick\IM_MOD_RL_TIFF_.dll': No such file or directory @ warning/module.c/Get
MagickModulePath/830.
convert.exe: no decode delegate for this image format `TIFF' @ error/constitute.
c/ReadImage/501.
convert.exe: no images defined `foo.jpg' @ error/convert.c/ConvertImageCommand/3
241.
C:\TeleScope>