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
1
vote
1 answer

Is there a bounding box function in ImageMagick?

Is there a bounding box function in ImageMagick similar to the one in PIL? Specifically one I can use with JMagick? I'm finding it so hard to make the switch from PIL to JMagick - any good documentation out there? I've looked through the java docs…
Ken
  • 530
  • 4
  • 11
  • 30
0
votes
1 answer

ImageMagic | JMagick | Transparent Image

Is there a way in Jmagick to make a png image transparent? Input: A PNG image Output: A transparent PNG image I want the background of an image to be transparent.
miserable
  • 697
  • 1
  • 12
  • 31
0
votes
1 answer

how to create a jmagick application

I'm very new to jmagick. Can anyone help me out how to start a jmagick simple application ?
rahul the great
  • 271
  • 2
  • 4
  • 6
0
votes
0 answers

Error while configuring jmagick on macOS

I am trying to configure jmagick for image comparison. On running the below command: ./configure --with-java-home=/System/Library/Frameworks/JavaVM.framework/Versions/Current --with-magick-home=/usr/local/Cellar/imagemagick/7.0.8-6/…
0
votes
1 answer

java.lang.UnsatisfiedLinkError: no JMagick in java.library.path

Has anyone used JMagick? I imported the jar using maven and got error "java.lang.UnsatisfiedLinkError: no JMagick in java.library.path". After lot of research, I found that I should set the path of libJMagick.so file in java.library.path. …
user1052228
  • 41
  • 1
  • 4
0
votes
0 answers

magick.MagickException: No image to get image format

I've a code for some conversion any images via ImageMagick + JMagick. On my local PC my code work fine, but not on server. ImageMagick installed completly, delegates presents too. Some IM tests, such as convert myfile.png -resize 500x300…
0
votes
0 answers

java.lang.UnsatisfiedLinkError: magick.Magick.init()V Error in Jmagick

I have properly installed imagemagick and jmagick and i can convert the below code simple code in terminal by using below command java -cp .:/home/user/6.4.0/classes/ JmagickImageResizer convert.jpg desc.jpg import magick.ImageInfo; import…
Querier
  • 185
  • 1
  • 1
  • 10
0
votes
1 answer

Image Manipulation - Java

I recently developed a Java Servlet running on Tomcat7 that is supposed to accept POST of pictures from different formats (PNG, JPG, BMP). And perform the following tasks: Scale them down if greater than 2000px Cache other dimensions (if…
Newbie
  • 4,462
  • 11
  • 23
0
votes
0 answers

What do i need to explicitly deallocate in jMagick

I'm using jMagick to do some basic image manipulation. I know ImageMagick is written in C, so I was wondering which methods need to be invoked and when to avoid memory leaks.
Programmer9000
  • 1,959
  • 3
  • 17
  • 27
0
votes
1 answer

Setting up jmagick project: Could not initialize class magick.ImageInfo

So I've cloned the repo (https://github.com/techblue/jmagick), built, and copied the resulting two files to a directory: /path/to/project/lib/jmagick-6.7.7.jar /path/to/project/lib/libJMagick-6.7.7.so I've also installed the latest ImageMagick, and…
Programmer9000
  • 1,959
  • 3
  • 17
  • 27
0
votes
1 answer

Compare images with metric PSNR in ImageMagick using Java API (JMagick) or C# API (Magick.Net)

Could you help me to implement image comparison with metric PSNR in ImageMagick using Java API (JMagick) or C# API (Magick.Net). The command is: convert image1.jpg -resize WidthxHeight image2.jpg -metric PSNR -format "%[distortion]" -compare…
fapw
  • 185
  • 1
  • 2
  • 15
0
votes
1 answer

Use ImageMagick as component without installing

I am developing a java application where i require image conversion and I want to use imageMagick for that. I made a java program using jmagick.jar in classpath and then installed imageMagick. Then the program was running as expected. But i want to…
0
votes
1 answer

resize image to specific height and width value using im4java?

I need to re-size image to any specific height and width value. But I'm not getting resized result. here is my code, please tell me either i'm doing something wrong or missing something. IMOperation operationSmall = new IMOperation(); …
Muneeb Nasir
  • 2,414
  • 4
  • 31
  • 54
0
votes
1 answer

JMagick - How to change brightness and contrast?

I want to change the brightness and contrast of an image by using jmagick.
Aung Myat Hein
  • 4,018
  • 1
  • 36
  • 42
0
votes
1 answer

Feed tesseract (Tess4J) from ImageMagick (JMagick)

I'm trying to create a Java program that will OCR many formats of images. Images cannot be read directly from file, because their bytes are to be send through network. I'm currently able to read raw bytes of image pixels using ImageIO. However I…
nuoritoveri
  • 2,494
  • 1
  • 24
  • 28