Windows Server 2012 R2 Install

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
CTC
Posts: 3
Joined: 2016-06-20T11:33:25-07:00
Authentication code: 1151

Windows Server 2012 R2 Install

Post by CTC »

I am new to Image Magick and trying to get a install to fully work for IIS with php v >=7.

I have installed IM and it works via the command line. However no matter what I have tried reading posts etc. I get to the same point each time.
IM Version: ImageMagick 7.0.2-0 Q16 x64 2016-06-12 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Visual C++: 180040629
Features: Cipher DPC Modules OpenMP
Delegates (built-in): bzlib cairo flif freetype jng jp2 jpeg lcms lqr openexr pa
ngocairo png ps rsvg tiff webp xml lib
i have php 7.0, 7.0.1, 7.0.5 and 7.0.7 installed (separately) and working with IIS no issues.
imagick version 3.4.rc1 with Image magick
I get stuck with IM number of supported formats: 0
and
IM Supported formats no value.
what am I missing?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Windows Server 2012 R2 Install

Post by snibgo »

"IM number of supported formats: 0"
and
"IM Supported formats no value."
Where are those messages coming from? What are you trying when those message come out?

Did you install from pre-built binaries, or did you compile it yourself?

Does it work at the commnd line? If so, then I probably can't help, as I know nothing about PHP or Imagick.
snibgo's IM pages: im.snibgo.com
CTC
Posts: 3
Joined: 2016-06-20T11:33:25-07:00
Authentication code: 1151

Re: Windows Server 2012 R2 Install

Post by CTC »

the messages are coming out of PHPInfo() under imagick module information.
I installed the prebuilrt binaries -
Yes it all works under the command - convert --version and magick wizard: wizard.jpg
magick wizard.jpg win:
all work.
I have gotten this far on 8 different installs of the windows binarys and imagick - they all end up with the 0 format no value supported formats
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Windows Server 2012 R2 Install

Post by snibgo »

Okay, that sounds like the usual Imagick problem -- installation doesn't work. Imagick isn't written or maintained by the ImageMagick team. The general solution on these forums is: don't use Imagick. Instead, call ImageMagick through exec().

You might try installing v6 instead of v7.
snibgo's IM pages: im.snibgo.com
CTC
Posts: 3
Joined: 2016-06-20T11:33:25-07:00
Authentication code: 1151

Re: Windows Server 2012 R2 Install

Post by CTC »

do you know where I can get php exec() example's from?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Windows Server 2012 R2 Install

Post by snibgo »

Type "PHP exec" into the search box top-right of this screen. Plenty of examples come up.
snibgo's IM pages: im.snibgo.com
Post Reply