Hello all,
I have some images that were recorded by the Leica IM500 program as tif files. Tragically, they were set for jpeg compression within tif. ImageJ doesn't open them, nor does photoshop, gimp, imagemagick... The Windows document viewer does see them, but I don't like to rely on it. Does anyone have a suggestion for bulk conversion? thanks, Michael |
Have you tried the ImageIO plugin from within ImageJ
(http://ij-plugins.sourceforge.net/plugins/imageio/)? From there you can write a plugin or a macro to do your conversion. -Woody Michael Elbaum wrote: > Hello all, > > I have some images that were recorded by the Leica IM500 program as tif files. Tragically, they were set for jpeg compression within tif. ImageJ doesn't open them, nor does photoshop, gimp, imagemagick... The Windows document viewer does see them, but I don't like to rely on it. Does anyone have a suggestion for bulk conversion? > > thanks, > Michael > |
In reply to this post by Michael Elbaum
That looks perfect, but I get an error:
com.sun.image.codec.jpeg.ImageFormatException: Not a JPEG file: starts with 0xfc 0x03 at sun.awt.image.codec.JPEGImageDecoderImpl.readJPEGStream(Native Method) at sun.awt.image.codec.JPEGImageDecoderImpl.decodeAsBufferedImage(Unknown Source) at non_com.media.jai.codec.TIFFImage.decodeJPEG(Unknown Source) at non_com.media.jai.codec.TIFFImage.getTile(Unknown Source) at non_com.media.jai.codec.SimpleRenderedImage.getData(Unknown Source) at non_com.media.jai.codec.SimpleRenderedImage.getData(Unknown Source) at net.sf.ij.jaiio.ImagePlusCreator.forceTileUpdate(ImagePlusCreator.java:51) at net.sf.ij.jaiio.JAIReader.read(JAIReader.java:292) at net.sf.ij.jaiio.JAIReader.read(JAIReader.java:174) at net.sf.ij.plugin.ImageIOOpenPlugin.open(ImageIOOpenPlugin.java:76) at net.sf.ij.plugin.ImageIOOpenPlugin.run(ImageIOOpenPlugin.java:186) at ij.IJ.runUserPlugIn(IJ.java:273) at ij.IJ.runPlugIn(IJ.java:117) at ij.Executer.runPlugIn(Executer.java:171) at ij.Executer.runCommand(Executer.java:133) at ij.Executer.run(Executer.java:63) at java.lang.Thread.run(Unknown Source) I could send an example image off-list if you like. thanks, Michael >>> "Jeffrey B. Woodward" <[hidden email]> 01/23/07 2:32 AM >>> Have you tried the ImageIO plugin from within ImageJ (http://ij-plugins.sourceforge.net/plugins/imageio/)? From there you can write a plugin or a macro to do your conversion. -Woody Michael Elbaum wrote: > Hello all, > > I have some images that were recorded by the Leica IM500 program as tif files. Tragically, they were set for jpeg compression within tif. ImageJ doesn't open them, nor does photoshop, gimp, imagemagick... The Windows document viewer does see them, but I don't like to rely on it. Does anyone have a suggestion for bulk conversion? > > thanks, > Michael > |
Irfanview (www.irfanview.com) can open and convert just about
everything and it does batch conversion and renaming (under the file menu). It can save as jpeg compressed tiffs so I assume it can open them too. You will probably need to download the plugins for it; there's a link on the main page. Justin |
In reply to this post by Michael Elbaum
Thanks for the suggestion. I suspect something's fishy in the Leica
files themselves because of the errors. Googling around I saw that jpeg compression in tiff is not completely standardized. I'm on linux and none of the standard tools seem to work. Michael >>> Justin McGrath <[hidden email]> 01/24/07 6:26 PM >>> Irfanview (www.irfanview.com) can open and convert just about everything and it does batch conversion and renaming (under the file menu). It can save as jpeg compressed tiffs so I assume it can open them too. You will probably need to download the plugins for it; there's a link on the main page. Justin |
In reply to this post by Michael Elbaum
You should check out the free TIFF library software at http://www.remotesensing.org/libtiff/ .
THe package includes command line tools to convert from any TIFF format variant to another format. -- Harry Parker Senior Systems Engineer Dialog Imaging Systems, Inc. ----- Original Message ---- From: Michael Elbaum <[hidden email]> To: [hidden email] Sent: Monday, January 22, 2007 8:19:53 AM Subject: jpeg compressed tifs from Leica IM500 Hello all, I have some images that were recorded by the Leica IM500 program as tif files. Tragically, they were set for jpeg compression within tif. ImageJ doesn't open them, nor does photoshop, gimp, imagemagick... The Windows document viewer does see them, but I don't like to rely on it. Does anyone have a suggestion for bulk conversion? thanks, Michael ____________________________________________________________________________________ 8:00? 8:25? 8:40? Find a flick in no time with the Yahoo! Search movie showtime shortcut. http://tools.search.yahoo.com/shortcuts/#news |
The web site ID'd in this e-mail is contaminated with a trojan. Beware!
-----Original Message----- From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Harry Parker Sent: Thursday, January 25, 2007 2:10 AM To: [hidden email] Subject: Re: jpeg compressed tifs from Leica IM500 You should check out the free TIFF library software at http://www.remotesensing.org/libtiff/ . THe package includes command line tools to convert from any TIFF format variant to another format. -- Harry Parker Senior Systems Engineer Dialog Imaging Systems, Inc. ----- Original Message ---- From: Michael Elbaum <[hidden email]> To: [hidden email] Sent: Monday, January 22, 2007 8:19:53 AM Subject: jpeg compressed tifs from Leica IM500 Hello all, I have some images that were recorded by the Leica IM500 program as tif files. Tragically, they were set for jpeg compression within tif. ImageJ doesn't open them, nor does photoshop, gimp, imagemagick... The Windows document viewer does see them, but I don't like to rely on it. Does anyone have a suggestion for bulk conversion? thanks, Michael ____________________________________________________________________________ ________ 8:00? 8:25? 8:40? Find a flick in no time with the Yahoo! Search movie showtime shortcut. http://tools.search.yahoo.com/shortcuts/#news |
In reply to this post by Michael Elbaum
I tried this. Actually I figured out what was going on in the first place with tiffinfo and tiffdump, but I can't seem to convert to another format with this library. tiffcp should remove compression, but I get:
JPEGLib: Not a JPEG file: starts with 0xfc 0x02. tiff2ps gives only a few complaints, ending with "Can not read scanlines from a tiled image", and then spews out an image of 0s. It looks like Leica played a little loose with the specs. Also irfanview didn't work, even with the 3.99 plugins. I just get a flat black image. At least they're consistent... sadly, Michael p.s. what's this about a trojan??? >>> jfs <[hidden email]> 01/29/07 6:41 PM >>> The web site ID'd in this e-mail is contaminated with a trojan. Beware! -----Original Message----- From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Harry Parker Sent: Thursday, January 25, 2007 2:10 AM To: [hidden email] Subject: Re: jpeg compressed tifs from Leica IM500 You should check out the free TIFF library software at http://www.remotesensing.org/libtiff/ . THe package includes command line tools to convert from any TIFF format variant to another format. -- Harry Parker Senior Systems Engineer Dialog Imaging Systems, Inc. ----- Original Message ---- From: Michael Elbaum <[hidden email]> To: [hidden email] Sent: Monday, January 22, 2007 8:19:53 AM Subject: jpeg compressed tifs from Leica IM500 Hello all, I have some images that were recorded by the Leica IM500 program as tif files. Tragically, they were set for jpeg compression within tif. ImageJ doesn't open them, nor does photoshop, gimp, imagemagick... The Windows document viewer does see them, but I don't like to rely on it. Does anyone have a suggestion for bulk conversion? thanks, Michael ____________________________________________________________________________ ________ 8:00? 8:25? 8:40? Find a flick in no time with the Yahoo! Search movie showtime shortcut. http://tools.search.yahoo.com/shortcuts/#news |
Doesn't Leica have any software to handle their files?
Phil On Jan 30, 2007, at 4:28 PM, Michael Elbaum wrote: > I tried this. Actually I figured out what was going on in the first > place with tiffinfo and tiffdump, but I can't seem to convert to > another format with this library. tiffcp should remove compression, > but I get: > JPEGLib: Not a JPEG file: starts with 0xfc 0x02. > tiff2ps gives only a few complaints, ending with "Can not read > scanlines from a tiled image", and then spews out an image of 0s. > It looks like Leica played a little loose with the specs. Also > irfanview didn't work, even with the 3.99 plugins. I just get a > flat black image. At least they're consistent... > > sadly, > Michael > > p.s. what's this about a trojan??? > > > >>>> jfs <[hidden email]> 01/29/07 6:41 PM >>> > The web site ID'd in this e-mail is contaminated with a trojan. > Beware! > > -----Original Message----- > From: ImageJ Interest Group [mailto:[hidden email]] On Behalf > Of Harry > Parker > Sent: Thursday, January 25, 2007 2:10 AM > To: [hidden email] > Subject: Re: jpeg compressed tifs from Leica IM500 > > You should check out the free TIFF library software at > http://www.remotesensing.org/libtiff/ . > THe package includes command line tools to convert from any TIFF > format > variant to another format. > > -- > Harry Parker > Senior Systems Engineer > Dialog Imaging Systems, Inc. > > ----- Original Message ---- > From: Michael Elbaum <[hidden email]> > To: [hidden email] > Sent: Monday, January 22, 2007 8:19:53 AM > Subject: jpeg compressed tifs from Leica IM500 > > Hello all, > > I have some images that were recorded by the Leica IM500 program as > tif > files. Tragically, they were set for jpeg compression within tif. > ImageJ > doesn't open them, nor does photoshop, gimp, imagemagick... The > Windows > document viewer does see them, but I don't like to rely on it. Does > anyone > have a suggestion for bulk conversion? > > thanks, > Michael > > > > > > > > > ______________________________________________________________________ > ______ > ________ > 8:00? 8:25? 8:40? Find a flick in no time with the Yahoo! Search movie > showtime shortcut. > http://tools.search.yahoo.com/shortcuts/#news |
In reply to this post by Michael Elbaum
Yes, jfs, what do you mean "contaminated"? I use McAfee's SiteAdvisor extension, <http://www.siteadvisor.com> which gives remotesensing.org a clean bill of health.
-- Harry Parker Senior Systems Engineer Dialog Imaging Systems, Inc. ----- Original Message ---- From: jfs <[hidden email]> To: [hidden email] Sent: Monday, January 29, 2007 12:41:04 PM Subject: Re: jpeg compressed tifs from Leica IM500 The web site ID'd in this e-mail is contaminated with a trojan. Beware! -----Original Message----- From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Harry Parker Sent: Thursday, January 25, 2007 2:10 AM To: [hidden email] Subject: Re: jpeg compressed tifs from Leica IM500 You should check out the free TIFF library software at http://www.remotesensing.org/libtiff/ . THe package includes command line tools to convert from any TIFF format variant to another format. -- Harry Parker Senior Systems Engineer Dialog Imaging Systems, Inc. ----- Original Message ---- From: Michael Elbaum <[hidden email]> To: [hidden email] Sent: Monday, January 22, 2007 8:19:53 AM Subject: jpeg compressed tifs from Leica IM500 Hello all, I have some images that were recorded by the Leica IM500 program as tif files. Tragically, they were set for jpeg compression within tif. ImageJ doesn't open them, nor does photoshop, gimp, imagemagick... The Windows document viewer does see them, but I don't like to rely on it. Does anyone have a suggestion for bulk conversion? thanks, Michael ____________________________________________________________________________ ________ 8:00? 8:25? 8:40? Find a flick in no time with the Yahoo! Search movie showtime shortcut. http://tools.search.yahoo.com/shortcuts/#news ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html |
In reply to this post by Michael Elbaum
As far as I can tell, there's a "Picture Manager" that lets you email
images in a different format. It allows you up to 8 or 10 at a time, I think, but after decompression even one or two exceed the local email size limit. It's hardly a bulk converter! Maybe somebody knows the Leica software better than I do, or maybe someone from Leica is watching??? Michael >>> Philip Ershler <[hidden email]> 01/31/07 12:49 AM >>> Doesn't Leica have any software to handle their files? Phil On Jan 30, 2007, at 4:28 PM, Michael Elbaum wrote: > I tried this. Actually I figured out what was going on in the first > place with tiffinfo and tiffdump, but I can't seem to convert to > another format with this library. tiffcp should remove compression, > but I get: > JPEGLib: Not a JPEG file: starts with 0xfc 0x02. > tiff2ps gives only a few complaints, ending with "Can not read > scanlines from a tiled image", and then spews out an image of 0s. > It looks like Leica played a little loose with the specs. Also > irfanview didn't work, even with the 3.99 plugins. I just get a > flat black image. At least they're consistent... > > sadly, > Michael > > p.s. what's this about a trojan??? > > > >>>> jfs <[hidden email]> 01/29/07 6:41 PM >>> > The web site ID'd in this e-mail is contaminated with a trojan. > Beware! > > -----Original Message----- > From: ImageJ Interest Group [mailto:[hidden email]] On Behalf > Of Harry > Parker > Sent: Thursday, January 25, 2007 2:10 AM > To: [hidden email] > Subject: Re: jpeg compressed tifs from Leica IM500 > > You should check out the free TIFF library software at > http://www.remotesensing.org/libtiff/ . > THe package includes command line tools to convert from any TIFF > format > variant to another format. > > -- > Harry Parker > Senior Systems Engineer > Dialog Imaging Systems, Inc. > > ----- Original Message ---- > From: Michael Elbaum <[hidden email]> > To: [hidden email] > Sent: Monday, January 22, 2007 8:19:53 AM > Subject: jpeg compressed tifs from Leica IM500 > > Hello all, > > I have some images that were recorded by the Leica IM500 program as > tif > files. Tragically, they were set for jpeg compression within tif. > ImageJ > doesn't open them, nor does photoshop, gimp, imagemagick... The > Windows > document viewer does see them, but I don't like to rely on it. Does > anyone > have a suggestion for bulk conversion? > > thanks, > Michael > > > > > > > > > ______________________________________________________________________ > ______ > ________ > 8:00? 8:25? 8:40? Find a flick in no time with the Yahoo! Search movie > showtime shortcut. > http://tools.search.yahoo.com/shortcuts/#news |
Free forum by Nabble | Edit this page |