Login  Register

Re: problem to save images to jpg

Posted by Stein Rørvik on Mar 20, 2019; 11:01am
URL: http://imagej.273.s1.nabble.com/problem-to-save-images-to-jpg-tp5021912p5021915.html

Downloading "ImageJ bundled with 64-bit Java 1.8.0_112" from https://imagej.nih.gov/ij/download.html should indeed help. This file includes its own 64-bit Java runtime so there will be no conflicts with whatever is installed by the OS. But be aware that it is a "vanilla" ImageJ 1.x version which does not include the Fiji plugins.

Stein

-----Original Message-----
From: ImageJ Interest Group <[hidden email]> On Behalf Of Alan Hewat
Sent: 20. mars 2019 10:52
To: [hidden email]
Subject: Re: problem to save images to jpg

Sorry for my previous post in French. And I see that ImageJ is now only proposed with Java 64-bit <https://imagej.nih.gov/ij/download.html> so my advice is unhelpful as well :-) But I have found that 32-bit applications seem less likely to encounter conflicts on my Win-10 64-bit pro NUC and I have the 32-bit version updated to 1.52K running fine with Java 1.8.0_121 (32-bit).

Patricia's problem is probably due to a version conflict, rather than a problem with ImageJ. She might try dis-installing all instances of ImageJ and Java, re-boot (since it's Windows :-) and re-installing ImageJ with Java 64-bit.

Alan

On Wed, 20 Mar 2019 at 09:14, Alan Hewat <[hidden email]> wrote:

> Bonjour Patricia.
>
> Installer 32-bit ImageJ et Java plutôt que 64-bit ImageJ, même sur un
> ordinateur 64-bit.
>
> Cordialement, Alan
> ______________________________________________________
>    Dr Alan Hewat, NeutronOptics, Grenoble, FRANCE
>                                from my telephone
> <[hidden email]> +33.476.98.41.68
>         http://www.NeutronOptics.com/hewat
> ______________________________________________________
>
> On Wed, 20 Mar 2019, 08:44 OBEID Patricia 154904,
> <[hidden email]>
> wrote:
>
>> Hello everyone
>> since changing my PC and reinstalling imageJ, I can not save images
>> in jpeg format anymore. Only .tif is possible.
>> I do not know how to solve the problem.
>> Below the message Exception ...
>> Thank you for your help
>> Patricia
>>
>> (Fiji Is Just) ImageJ 2.0.0-rc-69/1.52m46; Java 1.8.0_201 [64-bit];
>> Windows 10 10.0; 182MB of 7000MB (2%)
>> java.lang.UnsatisfiedLinkError: C:\Program
>> Files\Java\jre1.8.0_201\bin\jpeg.dll: Can't load this .dll (machine
>> code=0x28) on a AMD 64-bit platform
>>                 at java.lang.ClassLoader$NativeLibrary.load(Native Method)
>>                 at java.lang.ClassLoader.loadLibrary0(Unknown Source)
>>                 at java.lang.ClassLoader.loadLibrary(Unknown Source)
>>                 at java.lang.Runtime.loadLibrary0(Unknown Source)
>>                 at java.lang.System.loadLibrary(Unknown Source)
>>                 at
>> com.sun.imageio.plugins.jpeg.JPEGImageWriter$1.run(Unknown Source)
>>                 at
>> com.sun.imageio.plugins.jpeg.JPEGImageWriter$1.run(Unknown Source)
>>                 at java.security.AccessController.doPrivileged(Native
>> Method)
>>                 at
>> com.sun.imageio.plugins.jpeg.JPEGImageWriter.<clinit>(Unknown Source)
>>                 at
>> com.sun.imageio.plugins.jpeg.JPEGImageWriterSpi.createWriterInstance(
>> Unknown
>> Source)
>>                 at
>> javax.imageio.spi.ImageWriterSpi.createWriterInstance(Unknown Source)
>>                 at
>> javax.imageio.ImageIO$ImageWriterIterator.next(Unknown
>> Source)
>>                 at
>> javax.imageio.ImageIO$ImageWriterIterator.next(Unknown
>> Source)
>>                 at ij.plugin.JpegWriter.saveAsJpeg(JpegWriter.java:56)
>>                 at ij.plugin.JpegWriter.save(JpegWriter.java:34)
>>                 at ij.io.FileSaver.saveAsJpeg(FileSaver.java:381)
>>                 at ij.io.FileSaver.saveAsJpeg(FileSaver.java:373)
>>                 at ij.plugin.filter.Writer.run(Writer.java:26)
>>                 at
>> ij.plugin.filter.PlugInFilterRunner.processOneImage(PlugInFilterRunner.java:266)
>>                 at
>> ij.plugin.filter.PlugInFilterRunner.<init>(PlugInFilterRunner.java:114)
>>                 at ij.IJ.runPlugIn(IJ.java:201)
>>                 at ij.Executer.runCommand(Executer.java:137)
>>                 at ij.Executer.run(Executer.java:66)
>>                 at java.lang.Thread.run(Unknown Source)
>>
>>
>> _______________________________________
>> Patricia OBEÏD
>> Ingénieur de Recherche
>> Animateur Informatique Biomics
>> CEA Grenoble
>> DRF / IRIG / DS /BGE U1038/ Biomics / Bât 4020
>> 17 rue des Martyrs
>> 38054 GRENOBLE Cedex 9
>>
>> Email : [hidden email]<mailto:[hidden email]>
>> Tél : (+33)4 38 78 47 12
>> Fax : (+33)4 38 78 59 17
>> http://www.cea.fr/drf/big/bge/biomics
>> https://twitter.com/BiomicsLab
>>
>> [LogoBIG]
>>
>>
>>
>> --
>> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>>
>

--
______________________________________________
Dr Alan Hewat, NeutronOptics, Grenoble, FRANCE <[hidden email]> +33.476.98.41.68
        http://www.NeutronOptics.com/hewat
______________________________________________

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html