Git Product home page Git Product logo

Comments (4)

Danack avatar Danack commented on July 19, 2024

Unable to set image alpha channel

That's the whole output?

Which line does it occur on?

from imagickdemos.

hengsoheak avatar hengsoheak commented on July 19, 2024

Dear Danack,

Errors : Unable to set image alpha channel (On Method $imagick->setImageAlphaChannel(\Imagick::ALPHACHANNEL_DEACTIVATE);)
URL : http://camvgo.com/game/cards/2#

from imagickdemos.

hengsoheak avatar hengsoheak commented on July 19, 2024

Does it require any package to run this services?

from imagickdemos.

Danack avatar Danack commented on July 19, 2024

@hengsoheak The stack trace you provided is nothing like the code sample you originally posted.

Please post a reproducible example if you want me to investigate. I don't have time to guess what code is actually being run.

However, there's a reasonable chance you've just cocked up your computer by installing ImageMagick 7, but also are using a version of Imagick that was compiled against ImageMagick 6, as the value of \Imagick::ALPHACHANNEL_DEACTIVATE should be 5 on ImageMagick 7, but in your stack trace it seems to have the value of 4, if that is what the code is actually calling.

There is actually code in place to detect that situation and give a warning....but maybe it's not working or you've just disabled/ignored that warning?

from imagickdemos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.