Questions tagged [jmagick]

JMagick is an open source Java interface of ImageMagick. It is implemented in the form of a thin Java Native Interface (JNI) layer into the ImageMagick API.

JMagick is an open source interface of . It is implemented in the form of Java Native Interface () into the ImageMagick API.

JMagick does not attempt to make the ImageMagick API object-oriented. It is merely a thin interface layer into the ImageMagick API.

JMagick currently only implements a subset of ImageMagick APIs.

JMagick has a LGPL (Lesser GNU Public License) license.

83 questions
3
votes
3 answers

jMagick - image comparision

I am trying to develop a program which would take the snapshot of webpage and will then compare it to an old one and highlight the changes if any. I am using Selenium- WebDriver for taking snapshots. For image processing and compare, after a bit…
roger_that
  • 9,493
  • 18
  • 66
  • 102
3
votes
1 answer

Write result image using jmagick

I want to crop part of the image and then write the result to another image file. My code looks like this ImageInfo imageInfo = new ImageInfo("file path"); MagickImage image = new MagickImage(imageInfo ); Rectangle cropInfo = new…
Hieu Lam
  • 423
  • 1
  • 7
  • 17
3
votes
1 answer

Compare image ignoring light android

I am very new to android. I want to compare two images and ignore the light effects in comparison. To do that i came to know that i can generate the edge image and then compare the images. what should i do in that case? How to do that in android and…
Sanober Malik
  • 2,765
  • 23
  • 30
3
votes
1 answer

EPS reader java

I downloaded the library for working with EPS files here. And wrote some code to parse EPS file: EPSImageReaderSPI spi = new EPSImageReaderSPI(); EPSImageReader eps = new EPSImageReader(spi); File file = new File("file.eps"); InputStream in =…
3
votes
2 answers

Create image from scratch with JMagick

I am using Java port of ImageMagick called JMagick .I need to be able to create a new image and write an arbitrary text chunk into it.The docs are very poor and what I managed to get so far is to write text into the image which comes from IO.Also ,…
Michael IV
  • 11,016
  • 12
  • 92
  • 223
3
votes
1 answer

Cannot process large pdf file (100M plus) when using jMagick in java

I am using jMagick for java to process uploaded files (images and pdf files). Most images work fine but when I tried to convert large multiple-page pdf files to different size of images, it consumes very large amount of system memory (about 20G…
3
votes
1 answer

JMagick automation using Eclipse(JAVA)

I am trying to develop automation program to capture two images and then compare those images to see if they are similar or not. I am using Windows 7 and Eclipse IDE (JAVA) with Selenium web-driver. I have done my research and found JMagick would…
3
votes
1 answer

Java image scaling without loading the whole image into memory

We have some very large jpgs which are used when print on A0 printers. The problem is that we need to convert this large image down to a thumbnail for use in a few java UIs. Is there any way to convert the image (with Java) without loading the whole…
Neil Wightman
  • 1,103
  • 2
  • 9
  • 29
2
votes
2 answers

JMagick - How to convert a picture from CMYK to RGB?

I know there exists another post dealing with that problem How to convert colorspace using JMagick? but but there is something I do not understand: String baseName = "Pictures/"; String fileName = "dragon.gif"; MagickImage imageCMYK; …
Johann
  • 447
  • 2
  • 8
  • 23
2
votes
3 answers

JMagick and JVM crashes

I'm using JMagick and have a simple Java class that loops over all images in a directory (and its sub directories), converting images into grayscale images. After my application runs for a while the JVM crashes. I believe the error message in the…
Ed .
  • 6,373
  • 8
  • 62
  • 82
2
votes
0 answers

Java AWS Lambda - Jmagick

I am trying to use Jmagick in my AWS Lambda Java code. So far I have done following: Compiled ImageMagick and Jmagick source on Amazon Linux EC2 and generated .so libraries. Wrote following code for my Java Lambda on my Windows PC (using…
2
votes
2 answers

JMagick Configure File Unable to Locate Java Directories

I am new to Linux and am working on a VM. I am trying to configure my JMagick installation, however when I run ./configure I receive an error saying that it is 'Unable to locate Java directories:' ./configure checking build system type...…
2
votes
2 answers

-define and -limit in Im4java

I need to know how to translate a imagemagick commandline-command into java im4java code commandline: convert -limit memory 40GiB -define registry:temporary-path=F:\\imageMagick Row_1.png Row_2.png -append Row_12.png" I know how to use convert and…
Selphiron
  • 897
  • 1
  • 12
  • 30
2
votes
0 answers

Installing JMagick on Mac to work with Eclipse

I have tried many different ways of installing Imagemagick (by which I understand I should get jmagick) -- brew, binary files, this installer: http://cactuslab.com/imagemagick/ and so on. I then try to do as it says here:…
2
votes
0 answers

image compression in jmagick

I am writing a program in Java using JMagick, and I need to be able to compress the image(lower the filesize) by lowering the quality of the image. I have tried the info.setQuality(99) and info.setQuality(1) classes but there is no difference in the…
brasay
  • 125
  • 1
  • 2
  • 14