Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImageMagick 7 released. #287

Closed
emcconville opened this issue May 3, 2016 · 5 comments
Closed

ImageMagick 7 released. #287

emcconville opened this issue May 3, 2016 · 5 comments
Milestone

Comments

@emcconville
Copy link
Owner

Looks like the time for cffi rewrite is near. ImageMagick 7 has moved out of beta, and has been distributed.

Porting over view here

Key Changes

  • PixelPacket replaced with Quantum Traits
  • Many typedef enum have been rewritten.
  • {METHOD}Channel have been replaced with SetImageChannelMask
@lucvandort
Copy link

I just spent two hours finding out that IM7 does not work with wand. (at least on Windows 7). It seems to be related to a rename of the core dll files:

IM6: CORE_RL_wand_.dll
IM7: CORE_RL_MagickWand_.dll

api.py looks for the IM6 dll file, which cannot be found in an IM7 installation.

@boegel
Copy link

boegel commented Jun 9, 2016

I naively assumed that Wand would be compatible with ImageMagick 7.x, but it turns out it's not:

python -c "import wand.image"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "build/bdist.linux-x86_64/egg/wand/image.py", line 20, in <module>
  File "build/bdist.linux-x86_64/egg/wand/api.py", line 1394, in <module>
ImportError: MagickWand shared library not found or incompatible
Original exception was raised in:
Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/wand/api.py", line 289, in <module>
    ctypes.c_void_p]
  File "/user/scratch/gent/vsc400/vsc40023/easybuild_REGTEST/SL6/sandybridge/software/Python/2.7.11-intel-2016a/lib/python2.7/ctypes/__init__.py", line 378, in __getattr__
    func = self.__getitem__(name)
  File "/user/scratch/gent/vsc400/vsc40023/easybuild_REGTEST/SL6/sandybridge/software/Python/2.7.11-intel-2016a/lib/python2.7/ctypes/__init__.py", line 383, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /user/scratch/gent/vsc400/vsc40023/easybuild_REGTEST/SL6/sandybridge/software/ImageMagick/7.0.1-9-intel-2016a/lib/libMagickWand.so: undefined symbol: MagickGetImageMatteColor

This was with ImageMagick v7.0.1-9 .

It would be nice to make setup.py check for the ImageMagick version?

@ewerybody
Copy link

Oh same here m(
rolled back to 6.9.5-Q16 and it works again. Pchew.

@karhohs
Copy link

karhohs commented Aug 8, 2017

I also could not use Wand with IM7 and Windows10. I had to use the last IM6 release.

@emcconville emcconville added this to the 0.5.0 milestone Nov 13, 2018
@emcconville
Copy link
Owner Author

Closing this as the porting work for IM7 has been completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants