Comments (8)
Actually, this function was fixed back in Jan 2014, to accept interface{}
instead of []interface{}
:
https://github.com/gographics/imagick/pull/9/files#diff-340319a2441d3957108547f05d6ff307L1480
For some reason, godoc is looking at the go1
branch and showing the wrong outdated docs.
You should be able to completely ditch the loop that converts to []interface{}
and just pass the im.Pix
directly to ImportImagePixels
from imagick.
@hgfischer maybe you should just delete the go1
branch?
from imagick.
@justinfx I tried that, with the version that go get
installs, and it won't compile. It says that it cannot convert non interface type to interface.
from imagick.
Can you give it one more try? I have merged master into the go1 branch so that it gets picked up by go get
and godoc.org
, until @hgfischer confirms that it is ok to delete the branch
from imagick.
yes, it works now. thanks!
from imagick.
Awesome! thanks for confirming
from imagick.
It's ok to delete the go1 branch. Probably nobody using Go < 1.0 these days. ;)
from imagick.
I've deleted the go1 branch. Thanks for confirming :-)
from imagick.
Related Issues (20)
- runtime SIGFPE signal HOT 3
- Is there support for Apple Silicon M1? HOT 5
- ImageMagick panics when running (C binding issue?) HOT 10
- How do I use it in redhat? HOT 7
- drawing_wand.go - Two functions call the same C routine. HOT 4
- Error when trying to upgrade package to version 3.4.2 HOT 2
- Whether to make GetImageBlob() report error HOT 5
- image convert WriteImage fun error HOT 5
- 'MagickWand/MagickWand.h' file not found HOT 7
- static link HOT 2
- why PingImageBlob is so slow when the pic is an animated webp HOT 3
- After thumbnail a heic image, it crashed when using method `GetImageBlob` HOT 4
- When PDF converted to PNGs, white margin is lost HOT 1
- Background is lost in image converted from PDF HOT 4
- mac m1 build for alpine linux failed HOT 7
- ERROR_MISSING_DELEGATE: no decode delegate for this image format `WEBP' @ error/blob.c/BlobToImage/353 HOT 3
- Converting JPEG to WEBP increases the size of the photo HOT 5
- Missing MagickAutoThresholdImage HOT 3
- [doubt] Why should not I mix the object creation methods? HOT 3
- Composite 3 images HOT 4
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 imagick.