jmagick

How to find hidden files inside image files (Jpg/Gif/Png) [closed]

橙三吉。 提交于 2019-12-04 21:34:53
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . I came across a link that shows how to hide number of files inside an image file: http://lifehacker.com/282119/hide-files-inside-of

jMagick - image comparision

拥有回忆 提交于 2019-12-04 12:42:19
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 googling I found jMagick , a Java interface for ImageMagick , which I think would be best fit for my requirement. But due to lack of proper documentation, I am not able to find anything relevant. If anyone could help me out with any code sample for image comparision that would be really helpful. Again, the problem is to compare two images and highlight

What java library should I use for image cropping/ letterboxing? [closed]

时光毁灭记忆、已成空白 提交于 2019-12-03 20:30:28
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . I'm looking for a Java library to do image cropping / resizing. I had planned to use jmagick, but it doesn't seem to have been maintained since 2009. Is this the best library to use? Any recommendations?! Edit One thing I want to do is to be able to pad an image to resize as well as crop it. i.e. if I have a 4x2

How to find hidden files inside image files (Jpg/Gif/Png) [closed]

坚强是说给别人听的谎言 提交于 2019-12-03 13:51:22
I came across a link that shows how to hide number of files inside an image file: http://lifehacker.com/282119/hide-files-inside-of-jpeg-images more discussion on detection here: http://ask.metafilter.com/119943/How-to-detect-RARsEXEs-hidden-in-JPGs I'm trying to find out what is a good way to programmatically detect whether an image file has other files hidden inside it? Should I try unzipping the file to see if other files come out of it? I'm not bound programmatically but something that works well on the JVM would be great. Update One Approach: Would something like this work (suggested by

What java library should I use for image cropping/ letterboxing? [closed]

筅森魡賤 提交于 2019-11-30 16:23:38
I'm looking for a Java library to do image cropping / resizing. I had planned to use jmagick, but it doesn't seem to have been maintained since 2009. Is this the best library to use? Any recommendations?! Edit One thing I want to do is to be able to pad an image to resize as well as crop it. i.e. if I have a 4x2 image, and I want to make it a square, I want to make it 4x4, with black or white padding at each side. Does this have a name in image manipulation? Is it a function that comes with any libraries? coobird I maintain Thumbnailator , a thumbnail generating library for Java, which

How to set icc color profile in Java and change colorspace

一曲冷凌霜 提交于 2019-11-30 10:25:50
First, I would like to say I'm not an image processing specialist. I would like to convert image colorspace from one to another, and change icc color profile at the same time. I managed to do it using JMagick (the ImageMagick Java port), but no way in pure Java (even using JAI). Use ColorConvertOp , this will do the color space conversion. You have several options to set a icc color profile. Either you use a predefined profile by using getInstance with the correct color space constant or you can specify a file, which contains a profile. Here is an example: ICC_Profile ip = ICC_Profile

RHEL5+ImageMagick-6.4.0-0+jmagick-6.4.0+resin 解决方案

情到浓时终转凉″ 提交于 2019-11-30 08:25:31
一开始在网上找了很多文档参照处理都没有解决,还在下面的帖子里跟大家讨论很很久。 http://www.oschina.net/bbs/thread/5668 最后自己解决了,而且重复再3台机器上都陆续用此方法一次成功,把完整的说明写出来,给大家做参考。 准备资料: jmagick-6.4.0-src.tar.gz ImageMagick-6.4.0-0.tar.gz http://downloads.jmagick.org/6.4.0/ tiff-3.8.2.tar.gz http://www.linuxfromscratch.org/blfs/view/6.3/general/libtiff.html jpegsrc.v6b.tar.gz http://code.google.com/p/quirkysoft/downloads/detail?name=jpegsrc.v6b.tar.gz&can=2&q= libpng-1.2.43.tar.gz http://sourceforge.net/projects/libpng/files/ 安装: (1)安装tiff-3.8.2 tar –zxvf tiff-3.8.2.tar.gz cd tiff-3.8.2 ./configure make make install make check (2)安装jpegsrc.v6b

centos 6.2 安装 JMagick 64位 (转载)

雨燕双飞 提交于 2019-11-29 06:47:02
1. 把老版本的 ImageMagick 和 JMagick 卸载干净 查看版本号: [root@3qianke ~]# rpm -qa | grep ImageMagick ImageMagick-6.2.8.0-4.el5_1.1 ImageMagick-6.2.8.0-4.el5_1.1 [root@3qianke ~]# rpm -qa | grep jmagick jmagick-6.4.0-3 jmagick-6.4.0-3 卸载老版本: [root@3qianke ~]# rpm -e ImageMagick-6.2.8.0-4.el5_1.1 error: "ImageMagick-6.2.8.0-4.el5_1.1" specifies multiple packages [root@3qianke ~]# rpm -e--allmatches --nodepsImageMagick-6.2* 使用这两个参数以后,正常删除了 [root@3qianke ~]# rpm -e --allmatches --nodeps jmagick* error: package jmagick-6.4.0-3.x86_64.rpm is not installed [root@3qianke ~]# rpm -e --allmatches jmagick-6.4.0-3

How can i find dominant color of an image?

和自甴很熟 提交于 2019-11-28 19:39:57
Can we find which color is dominant in an image with using java,imagemagick or jmagick? in java iterate on each pixel and determine color import java.awt.image.BufferedImage; import java.io.File; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Map; import javax.imageio.ImageIO; import javax.imageio.ImageReader; import javax.imageio.stream.ImageInputStream; public class ImageTester { public static void main(String args[]) throws Exception { File file = new File("C

Jmagick java 处理图片

二次信任 提交于 2019-11-28 09:54:23
在处理图片的时候用到jmagick,起初以为引入一个pom依赖,就可以用java代码直接操作了,谁知道一直报no JMagick in java.library.path错误。后来在网上查了一番资料发现,并不是那样的,jmagick只是imagemagick的一个java封装,imagemagick是用c++编写的,所以这就用到了java的JNI进行本地库的调用。 1.jmagick下载地址: http://downloads.jmagick.org/6.4.0 (目前最新版本是6.4.0),不过说实话里面只有doc,没有demo,如果没有资料,还真不知道怎么用,还好google够强大,搜出了前辈们是怎么操作的。 2.imagemagick Windows下载地址: http://www.imagemagick.org/script/binary-releases.php#windows 这里我下的是 下好,解压,将.DLL文件访问System32的文件里,在把jar放入项目里,在测试当前类的时候写一个静态块用来初始化java库,System.setProperty("jmagick.systemclassloader", "no"); 下面上传下图片处理的java代码: <!-- lang: java --> /**处理图片 */ public static void