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

is there any 64 bit DLL that we can use for imageMagic instead of 32 in windows? #45

Open
tassaddaqz opened this issue Feb 23, 2018 · 6 comments

Comments

@tassaddaqz
Copy link

i was forced to switch to 32bit JRE in order to work with imagemagick in java. is there any solution for working with imagemagick using Jmagick but in 64bit JRE

@nordfalk
Copy link
Contributor

nordfalk commented Feb 26, 2018 via email

@baeckermeister
Copy link

baeckermeister commented Mar 13, 2018

hi tassaddaqz,
you can build your own, I did it yesterday. (WINDOWS)

  • download jmagick-master and unzip
  • install VS 2017 community
  • install Imagemagick (I used 7.0.7-Q16 64Bit) with enabled Option C++ Libraries...
  • copy jmagick/win32/Makefile.all to ../src
  • now edit Makefile.all in src-folder so paths are correct. I attached my makefile

Makefile.all.txt

  • now edit src/ImageInfo.java:482 remove < > around "present" I Need to do this because Compiler complained about it

  • now edit src/magick_DrawInfo.c:382 (setIntMethod...) and remove "#if MagickLibVersion < 0x700"... so only the else case is left. remove all #s SAME in method below.

  • now start "x64 native command Tools prompt for vs 2017" as Admin (depending on makefile, which copies dll into Java Folder)

  • move to src-folder

  • run "nmake -f Makefile.all ALL"

@nordfalk
Copy link
Contributor

@tassaddaqz did baeckermeister 's instructions help you ?
Looking forward to hear from you

@cosmicb0y
Copy link

cosmicb0y commented May 6, 2018

@baeckermeister thank you, i can get my dll and jar. but i should edit Makefile.all. There are some changes for Visual Studio and jdk. I attached my makefile
Makefile.all.txt

For someone having troubles, please check your Visual Studio and jdk directory. and edit 54~55 line and 65 line for your system. and i think it works with jdk 1.8

@moneytoo
Copy link
Contributor

moneytoo commented Feb 4, 2019

I uploaded latest x64 dll here: https://brouken.com/jmagick/7.0.8/
Many thanks to @baeckermeister's instructions

@judos
Copy link

judos commented Feb 10, 2021

Hi @moneytoo,
Thanks for your upload. I'm a bit confused with jmagick. How can I use your jar and dll? Do I just need to put them in the root folder of the eclipse project and add the jar to the build path? Is there any special method I need to load the dll? Also I assume the installation of imagemagick is still required with this dll right?

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

6 participants