PlanetJava
Custom Search

java-jmagick
[Top] [All Lists]

Re: regarding help on jmagick

Subject: Re: regarding help on jmagick
Date: Wed, 26 Mar 2008 10:27:29 +0545
I think I wrote clear enough in the code:
        /**
         * Test of diverse operations on a small is processed correctly
         * This test might fail if ImageMagick doesent have PNG support.
         */
        public void testQuantizeImage_failMightBeOk() throws Exception {
Anyway its now changed to:
        /**
         * Test of diverse operations on a small is processed correctly
   * This test might fail if ImageMagick doesent have PNG support.
   * In this case you will get an error saying
   * "no decode delegate for this image format".
   * Use:
   * convert -list format
   * and check if PNG is listed as a supported format.  
   **/
Any other suggestions for making the code easyer to use are welcome, of course.
Jacob
2008/3/25, Bob Friesenhahn <[email protected]>:
> On Tue, 25 Mar 2008, M.Aamir wrote:
>
>  > Hi all
>  >
>  > while testing testjmagick i m getting an error in
>  > testQuantizeImage_failMightBeOk()
>
>
> It looks like your ImageMagick is compiled without PNG support.  Use
>
>    convert -list format
>
>  to see if PNG is listed as a supported format.
>
>  Bob
>
>
>  >
>  >
>  > java.lang.RuntimeException: compare: no decode delegate for this image
>  > format
>  > 
> `C:/propcoHeadVersion/PropcoServerTesting/src/test/actual_output\quantized.png'.
>  > compare: no decode delegate for this image format
>  > 
> `C:/propcoHeadVersion/PropcoServerTesting/src/test/correct_output\quantized.png'.
>  >
>  >    at
>  > test.magicktest.MagickTesttools.compareImage(MagickTesttools.java:134)
>  >    at
>  > test.magicktest.MagickTesttools.writeAndCompare(MagickTesttools.java:156)
>  >    at
>  > 
> test.magicktest.TestJMagick.testQuantizeImage_failMightBeOk(TestJMagick.java:250)
>  >    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  >    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>  >    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>  >    at java.lang.reflect.Method.invoke(Unknown Source)
>  >    at junit.framework.TestCase.runTest(TestCase.java:164)
>  >    at junit.framework.TestCase.runBare(TestCase.java:130)
>  >    at junit.framework.TestResult$1.protect(TestResult.java:106)
>  >    at junit.framework.TestResult.runProtected(TestResult.java:124)
>  >    at junit.framework.TestResult.run(TestResult.java:109)
>  >    at junit.framework.TestCase.run(TestCase.java:120)
>  >    at junit.framework.TestSuite.runTest(TestSuite.java:230)
>  >    at junit.framework.TestSuite.run(TestSuite.java:225)
>  >    at
>  > 
> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
>  >    at
>  > 
> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>  >    at
>  > 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
>  >    at
>  > 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
>  >    at
>  > 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
>  >    at
>  > 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
>  >
>  > any help regarding this?
>  >
>  > Thanks in advance.....
>  >
>  > warm Regards
>  > Mohammad aamir
>  >
>  >
>  >
>  >
>  > _______________________________________________
>  > JMagick mailing list
>  > [email protected]
>  > http://www.yeo.id.au/mailman/listinfo/jmagick
>  > Please ensure that [email protected] is a recipient when replying.
>  >
>
>
> ======================================
>
> Bob Friesenhahn
>  [email protected], http://www.simplesystems.org/users/bfriesen/
>  GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
>
>
>  _______________________________________________
>  JMagick mailing list
>  [email protected]
>  http://www.yeo.id.au/mailman/listinfo/jmagick
>  Please ensure that [email protected] is a recipient when replying.
>
-- 
Jacob Nordfalk
http://javabog.dk
Skype: jacobnordfalk
_______________________________________________
JMagick mailing list
[email protected]
http://www.yeo.id.au/mailman/listinfo/jmagick
Please ensure that [email protected] is a recipient when replying.
msgmiddle
<Prev in Thread] Current Thread [Next in Thread>
Current Sitemap | © 2012 planetjava | Contact | Privacy Policy