Comments (11)
Do you have that directory added to the PATH
?
If you don't, either add it to the XML transform or use my exact folder structure from the repo.
from php-imagick-webapps.
Yes, I have. JPEG works fine
from php-imagick-webapps.
Are you using the exact same binaries as stored in this repo?
from php-imagick-webapps.
I followed this https://blogs.msdn.microsoft.com/azureossds/2015/12/07/php-imagemagick-on-azure-web-apps/ tutorial and using the up to date version if the lib. But I tried to substitute the PNG dll with no luck. By the way, the tutorial by the link seems to face exactly the same problem (PNG in comment, but GIF in code)
from php-imagick-webapps.
Could be. Either try a newer ImageMagick build and match with the appropriate PECL .dll version or just use the binaries from this repo, but to be honest i don't remember if PNG works here either.
You're probably better off building on top of a container that already has all the ImageMagick stuff figured out and deploy to App Service on Linux.
from php-imagick-webapps.
If I had an Azure subscription that allows anything except a simple website and a database (free DreamSpark subscription), I would definitely use docker. The png dll from this repo doesn't work when I try to replace only one dll with it. Maybe I should try replacing the core dlls too, but I'd better use JPEG ))
Can you please tell more about the PECL dlls? Where can I get other versions?
from php-imagick-webapps.
There's a link to PECL in the README: https://pecl.php.net/package/imagick
If you decide to use the bits here, use ALL of them, not just some DLLs. ImageMagick binaries and the PECL binaries must match for anything to work right (the PECL .DLL will call function signatures in the CORE DLLs, and the CORE DLLs call into the CODEC DLLs - IM_MOD_*).
EDIT:
Actually i have that wrong. php_imagick.dll
(PECL) comes with the codecs and the signatures must match the ones in the ImageMagick binaries. This is why nobody should trust a word i say here and go research this on the ImageMagick forums instead.
from php-imagick-webapps.
I have updated the README for PHP 7.0 and made it a little easier to figure out the php_imagick
module dependency. Good luck.
from php-imagick-webapps.
I got it working, thanks for the good manual)
from php-imagick-webapps.
For completeness sake, I tested and PNG does work with the binaries referenced in README.
from php-imagick-webapps.
^ for PHP 7.0 that is.
from php-imagick-webapps.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-imagick-webapps.